BottomAppBarModifier constructor

const BottomAppBarModifier({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. Color? color,
  5. double? elevation,
  6. NotchedShape? shape,
  7. Clip clipBehavior = Clip.none,
  8. double notchMargin = 4.0,
})

Creates a bottom application bar.

The clipBehavior argument defaults to Clip.none and must not be null. Additionally, elevation must be non-negative.

If color, elevation, or shape are null, their BottomAppBarTheme values will be used. If the corresponding BottomAppBarTheme property is null, then the default specified in the property's documentation will be used.

Implementation

const BottomAppBarModifier({
  super.key,
  super.child,
  super.modifierKey,
  this.color,
  this.elevation,
  this.shape,
  this.clipBehavior = Clip.none,
  this.notchMargin = 4.0,
});