BaseSection constructor
const
BaseSection({
- Key? key,
- String? icon,
- String? label,
- double? width,
- Border? border,
- EdgeInsetsGeometry? padding,
- Widget trailing = const SizedBox(),
- Color? background,
- BorderRadiusGeometry? borderRadius,
- EdgeInsetsGeometry labelPadding = EdgeInsets.zero,
- 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,
});