|
|
@ -1,3 +1,4 @@ |
|
|
|
|
|
import 'package:flutter/foundation.dart'; |
|
|
import 'package:flutter/material.dart'; |
|
|
import 'package:flutter/material.dart'; |
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart'; |
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart'; |
|
|
import 'package:get/get.dart'; |
|
|
import 'package:get/get.dart'; |
|
|
@ -22,7 +23,7 @@ class _RowEqualizerWidgetState extends State<RowEqualizerWidget> { |
|
|
void initState() { |
|
|
void initState() { |
|
|
super.initState(); |
|
|
super.initState(); |
|
|
_label = _templateData['options'].firstWhere( |
|
|
_label = _templateData['options'].firstWhere( |
|
|
(option) => option['value'] == _templateData['value'], |
|
|
(option) => listEquals(_templateData['value'], option['value']), |
|
|
orElse: () => {'label': ''}, |
|
|
orElse: () => {'label': ''}, |
|
|
)['label']; |
|
|
)['label']; |
|
|
} |
|
|
} |
|
|
|