DoubleSheetConfig constructor

const DoubleSheetConfig({
  1. required String title,
  2. Widget? titleWidget,
  3. double initialChildSize = 0.4,
  4. double minChildSize = 0.25,
  5. double maxChildSize = 0.9,
  6. Color? backgroundColor,
  7. Color? headerBackgroundColor,
  8. TextStyle? titleStyle,
  9. bool enableDrag = true,
  10. bool isDismissible = true,
  11. bool showDragHandle = true,
  12. bool allowFullScreen = false,
  13. BorderRadius? borderRadius,
  14. BorderRadius? headerRadius,
})

Implementation

const DoubleSheetConfig({
  required this.title,
  this.titleWidget,
  this.initialChildSize = 0.4,
  this.minChildSize = 0.25,
  this.maxChildSize = 0.9,
  this.backgroundColor,
  this.headerBackgroundColor,
  this.titleStyle,
  this.enableDrag = true,
  this.isDismissible = true,
  this.showDragHandle = true,
  this.allowFullScreen = false,
  this.borderRadius,
  this.headerRadius,
});