CardSettings.sectioned constructor
CardSettings.sectioned({
- Key? key,
- TextAlign? labelAlign,
- double? labelWidth,
- double? labelPadding,
- String? labelSuffix,
- TextAlign contentAlign = TextAlign.left,
- EdgeInsetsGeometry padding = const EdgeInsets.all(0.0),
- EdgeInsetsGeometry margin = const EdgeInsets.fromLTRB(8, 8, 8, 0.0),
- double? cardElevation,
- List<
CardSettingsSection> children = const <CardSettingsSection>[], - bool showMaterialonIOS = false,
- bool shrinkWrap = true,
- bool cardless = false,
- Divider? divider,
- bool scrollable = true,
- EdgeInsetsGeometry? fieldPadding,
constructor that wraps each section in it's own card
Implementation
CardSettings.sectioned({
Key? key,
this.labelAlign,
this.labelWidth,
this.labelPadding,
this.labelSuffix,
this.contentAlign: TextAlign.left,
this.padding: const EdgeInsets.all(0.0),
this.margin: const EdgeInsets.fromLTRB(8, 8, 8, 0.0),
this.cardElevation,
List<CardSettingsSection> children: const <CardSettingsSection>[],
this.showMaterialonIOS: false,
this.shrinkWrap = true,
this.cardless = false,
this.divider,
this.scrollable = true,
this.fieldPadding,
}) : super(
key: key,
child: _CardSettingsContent(
children: children,
showMaterialonIOS: showMaterialonIOS,
cardElevation: cardElevation,
padding: padding,
margin: margin,
shrinkWrap: shrinkWrap,
sectioned: true,
cardless: cardless,
scrollable: scrollable,
),
);