BottomAppBar constructor

const BottomAppBar({Key key, Color color, double elevation, NotchedShape shape, Clip clipBehavior: Clip.none, double notchMargin: 4.0, Widget child })

Creates a bottom application bar.

The clipBehavior argument 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 BottomAppBar({
  Key key,
  this.color,
  this.elevation,
  this.shape,
  this.clipBehavior = Clip.none,
  this.notchMargin = 4.0,
  this.child,
}) : assert(clipBehavior != null),
     assert(elevation == null || elevation >= 0.0),
     assert(notchMargin != null),
     super(key: key);