DoubleSheetConfig constructor

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

Implementation

const DoubleSheetConfig({
  required this.title,
  this.titleWidget,
  this.customHeaderWidget,
  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,
  this.enableSynchronizedScrolling = false,
});