YaruSection constructor

const YaruSection({
  1. Key? key,
  2. Widget? headline,
  3. required Widget child,
  4. double? width,
  5. double? height,
  6. EdgeInsetsGeometry padding = const EdgeInsets.all(8.0),
  7. EdgeInsetsGeometry headlinePadding = const EdgeInsets.all(8.0),
  8. 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,
});