Bottom constructor

Bottom({
  1. List<Widget> buttons(
    1. BuildContext
    )?,
  2. Widget? bottom,
  3. Color? background,
  4. Widget child(
    1. BuildContext
    )?,
  5. List<Widget> children(
    1. BuildContext
    )?,
  6. Widget itemBuilder(
    1. BuildContext,
    2. int,
    3. Animation<double>
    )?,
  7. Alignment childAlignment = Alignment.center,
  8. int itemBuilderCount = 0,
  9. bool padding = true,
  10. bool dismissible = true,
  11. bool safeArea = false,
  12. Key? key,
})

Implementation

Bottom({
  this.buttons,
  this.bottom,
  this.background,
  this.child,
  this.children,
  this.itemBuilder,
  this.childAlignment = Alignment.center,
  this.itemBuilderCount = 0,
  this.padding = true,
  this.dismissible = true,
  this.safeArea = false,
  super.key
}){
  if(children == null && itemBuilder == null && child == null) throw Exception("Either child, children, or itemBuilder must be provided");
}