BottomSheet constructor

const BottomSheet({
  1. Key? key,
  2. String? title,
  3. String? subtitle,
  4. Widget? content,
  5. List<Widget>? actions,
  6. bool showHandle = true,
  7. EdgeInsets padding = const EdgeInsets.fromLTRB(24, 0, 24, 24),
  8. Color? background,
  9. Widget? leading,
  10. Widget? trailing,
  11. bool scrollControlled = true,
  12. double? maxHeight,
})

Implementation

const BottomSheet({
  super.key,
  this.title,
  this.subtitle,
  this.content,
  this.actions,
  this.showHandle = true,
  this.padding = const EdgeInsets.fromLTRB(24, 0, 24, 24),
  this.background,
  this.leading,
  this.trailing,
  this.scrollControlled = true,
  this.maxHeight,
});