YaruSection constructor
const
YaruSection({
- Key? key,
- Widget? headline,
- required Widget child,
- double? width,
- double? height,
- EdgeInsetsGeometry padding = const EdgeInsets.all(8.0),
- EdgeInsetsGeometry headlinePadding = const EdgeInsets.all(8.0),
- EdgeInsetsGeometry? margin,
Creates a yaru style section widget with multiple
Widgets
as children.
Implementation
const YaruSection({
super.key,
this.headline,
required this.child,
this.width,
this.height,
this.padding = const EdgeInsets.all(8.0),
this.headlinePadding = const EdgeInsets.all(8.0),
this.margin,
});