CardSettings constructor
CardSettings({
- 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.all(8.0),
- double? cardElevation,
- List<
CardSettingsSection> children = const <CardSettingsSection>[], - bool showMaterialonIOS = false,
- bool shrinkWrap = false,
- bool cardless = false,
- Divider? divider,
- bool scrollable = true,
- EdgeInsetsGeometry? fieldPadding,
Implementation
CardSettings({
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.all(8.0),
this.cardElevation,
List<CardSettingsSection> children: const <CardSettingsSection>[],
this.showMaterialonIOS: false,
this.shrinkWrap = false,
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: false,
cardless: cardless,
scrollable: scrollable,
),
);