BaseSection constructor

const BaseSection({
  1. Key? key,
  2. String? icon,
  3. String? label,
  4. double? width,
  5. Border? border,
  6. EdgeInsetsGeometry? padding,
  7. Widget trailing = const SizedBox(),
  8. Color? background,
  9. BorderRadiusGeometry? borderRadius,
  10. EdgeInsetsGeometry labelPadding = EdgeInsets.zero,
  11. required Widget child,
})

Implementation

const BaseSection({
  super.key,
  this.icon,
  this.label,
  this.width,
  this.border,
  this.padding,
  this.trailing = const SizedBox(),
  this.background,
  this.borderRadius,
  this.labelPadding = EdgeInsets.zero,
  required this.child,
});