SectionContainer constructor

const SectionContainer({
  1. Key? key,
  2. Widget? titleView,
  3. required List<Widget> children,
  4. double? width,
  5. double? height,
  6. EdgeInsetsGeometry padding = const EdgeInsets.fromLTRB(8.0, 12.0, 8.0, 16.0),
  7. double borderRadius = 12.0,
  8. Widget? trailing,
  9. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
  10. bool glassMorphismEffect = true,
})

Implementation

const SectionContainer({
  super.key,
  this.titleView,
  required this.children,
  this.width,
  this.height,
  // this.padding = const EdgeInsets.all(8.0),
  this.padding = const EdgeInsets.fromLTRB(8.0, 12.0, 8.0, 16.0),
  this.borderRadius = 12.0,
  this.trailing,
  this.crossAxisAlignment = CrossAxisAlignment.center,
  this.glassMorphismEffect = true,
});