FABBottomAppBar constructor

FABBottomAppBar({
  1. List<FABBottomAppBarItem>? items,
  2. String? centerItemText,
  3. double height = 60.0,
  4. double iconSize = 24.0,
  5. Color? backgroundColor,
  6. Color? color,
  7. Color? selectedColor,
  8. NotchedShape? notchedShape,
  9. ValueChanged<int?>? onTabSelected,
})

Implementation

FABBottomAppBar({
  this.items,
  this.centerItemText,
  this.height: 60.0,
  this.iconSize: 24.0,
  this.backgroundColor,
  this.color,
  this.selectedColor,
  this.notchedShape,
  this.onTabSelected,
}) {
  assert(this.items!.length == 2 || this.items!.length == 4);
}