CardSettings constructor

CardSettings({
  1. Key? key,
  2. TextAlign? labelAlign,
  3. double? labelWidth,
  4. double? labelPadding,
  5. String? labelSuffix,
  6. TextAlign contentAlign = TextAlign.left,
  7. EdgeInsetsGeometry padding = const EdgeInsets.all(0.0),
  8. EdgeInsetsGeometry margin = const EdgeInsets.all(8.0),
  9. double? cardElevation,
  10. List<CardSettingsSection> children = const <CardSettingsSection>[],
  11. bool showMaterialonIOS = false,
  12. bool shrinkWrap = false,
  13. bool cardless = false,
  14. Divider? divider,
  15. bool scrollable = true,
  16. 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,
        ),
      );