Reorganize settings

This commit is contained in:
Godwin Asuquo
2022-11-16 09:29:14 +02:00
parent 1efced7607
commit 549975ecc1
28 changed files with 619 additions and 373 deletions
+3 -1
View File
@@ -123,6 +123,7 @@ class SectionStandardList extends StatelessWidget {
required this.itemBuilder,
required this.sectionCount,
required BuildContext context,
this.dividerPadding = const EdgeInsets.only(left: 24),
this.themeColor,
this.dividerThemeColor,
this.sectionTitleBuilder,
@@ -149,6 +150,7 @@ class SectionStandardList extends StatelessWidget {
final List<Widget> totalRows;
final Color? themeColor;
final Color? dividerThemeColor;
final EdgeInsets dividerPadding;
List<Widget> transform(
bool hasTopSeparator,
@@ -178,7 +180,7 @@ class SectionStandardList extends StatelessWidget {
items.add(sectionIndex + 1 != sectionCount
? SectionHeaderListRow()
: StandardListSeparator(padding: EdgeInsets.only(left: 24)));
: StandardListSeparator(padding: dividerPadding));
}
return items;