FSidebarStyle constructor

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

Creates a FSidebarStyle.

Implementation

const FSidebarStyle({
  required this.decoration,
  required this.groupStyle,
  this.constraints = const .tightFor(width: 256),
  this.backgroundFilter,
  this.headerPadding = const .fromLTRB(0, 8, 0, 0),
  this.contentPadding = const .symmetric(vertical: 8),
  this.footerPadding = const .fromLTRB(0, 0, 0, 8),
});