GiffyBottomSheet constructor

const GiffyBottomSheet({
  1. Key? key,
  2. required Widget giffy,
  3. GiffyBuilder giffyBuilder = defaultGiffyBuilder,
  4. EdgeInsetsGeometry? giffyPadding,
  5. Widget? title,
  6. EdgeInsetsGeometry? titlePadding,
  7. TextStyle? titleTextStyle,
  8. Widget? content,
  9. EdgeInsetsGeometry? contentPadding,
  10. TextStyle? contentTextStyle,
  11. List<Widget>? actions,
  12. EdgeInsetsGeometry? actionsPadding,
  13. MainAxisAlignment? actionsAlignment,
  14. VerticalDirection? actionsOverflowDirection,
  15. double? actionsOverflowButtonSpacing,
  16. OverflowBarAlignment? actionsOverflowAlignment,
  17. EdgeInsetsGeometry? buttonPadding,
  18. String? semanticLabel,
  19. bool scrollable = false,
  20. EntryAnimation entryAnimation = EntryAnimation.none,
})

Creates an giffy bottom sheet.

Typically used in conjunction with showModalBottomSheet.

The titlePadding and contentPadding default to null, which implies a default that depends on the values of the other properties. See the documentation of titlePadding and contentPadding for details.

Implementation

const GiffyBottomSheet({
  super.key,
  required this.giffy,
  this.giffyBuilder = defaultGiffyBuilder,
  this.giffyPadding,
  this.title,
  this.titlePadding,
  this.titleTextStyle,
  this.content,
  this.contentPadding,
  this.contentTextStyle,
  this.actions,
  this.actionsPadding,
  this.actionsAlignment,
  this.actionsOverflowDirection,
  this.actionsOverflowButtonSpacing,
  this.actionsOverflowAlignment,
  this.buttonPadding,
  this.semanticLabel,
  this.scrollable = false,
  this.entryAnimation = EntryAnimation.none,
});