diff --git a/lib/screens/settings/components/shared/expandable_section_list/widget_expandable_section_list.dart b/lib/screens/settings/components/shared/expandable_section_list/widget_expandable_section_list.dart index f360fda..0fc5de2 100644 --- a/lib/screens/settings/components/shared/expandable_section_list/widget_expandable_section_list.dart +++ b/lib/screens/settings/components/shared/expandable_section_list/widget_expandable_section_list.dart @@ -8,12 +8,10 @@ typedef _WidgetBuilder = W Function(BuildContext cont class ExpandableSectionList extends StatefulWidget { final List values; final VoidCallback onSectionTitleTap; - final ExpandableSectionListItem Function(BuildContext context, int index) builder; final _WidgetBuilder, T> contentBuilder; final _WidgetBuilder, T> actionsBuilder; const ExpandableSectionList({ - required this.builder, required this.values, required this.onSectionTitleTap, required this.contentBuilder, @@ -22,10 +20,10 @@ class ExpandableSectionList extends StatefulWidget { }); @override - State createState() => _ExpandableSectionListState(); + State createState() => _ExpandableSectionListState(); } -class _ExpandableSectionListState extends State { +class _ExpandableSectionListState extends State> { final Map> keysMap = {}; @override