InteractiveBottomSheetOptions constructor

const InteractiveBottomSheetOptions({
  1. Color backgroundColor = Colors.white,
  2. bool expand = false,
  3. bool snap = true,
  4. double maxSize = 1,
  5. double initialSize = 0.25,
  6. double minimumSize = 0.25,
  7. List<double> snapList = const [0.5],
})

Contains all options for customization of the InteractiveBottomSheet.

Implementation

const InteractiveBottomSheetOptions({
  this.backgroundColor = Colors.white,
  this.expand = false,
  this.snap = true,
  this.maxSize = 1,
  this.initialSize = 0.25,
  this.minimumSize = 0.25,
  this.snapList = const [0.5],
}) : assert(
        minimumSize <= initialSize,
        'MinimumSize must be smaller than or equal to initialSize.',
      );