FSidebarStyle constructor

const FSidebarStyle({
  1. required BoxDecoration decoration,
  2. required FSidebarGroupStyle groupStyle,
  3. BoxConstraints constraints = const BoxConstraints.tightFor(width: 250),
  4. ImageFilter? backgroundFilter,
  5. EdgeInsetsGeometry headerPadding = const EdgeInsets.fromLTRB(0, 16, 0, 0),
  6. EdgeInsetsGeometry contentPadding = const EdgeInsets.symmetric(vertical: 12),
  7. EdgeInsetsGeometry footerPadding = const EdgeInsets.fromLTRB(0, 0, 0, 16),
})

Creates a FSidebarStyle.

Implementation

const FSidebarStyle({
  required this.decoration,
  required this.groupStyle,
  this.constraints = const BoxConstraints.tightFor(width: 250),
  this.backgroundFilter,
  this.headerPadding = const EdgeInsets.fromLTRB(0, 16, 0, 0),
  this.contentPadding = const EdgeInsets.symmetric(vertical: 12),
  this.footerPadding = const EdgeInsets.fromLTRB(0, 0, 0, 16),
});