MinFloatingDefaults constructor
const
MinFloatingDefaults({
- Duration duration = const Duration(milliseconds: 140),
- Duration? reverseDuration,
- Curve curve = Curves.easeOut,
- Curve reverseCurve = Curves.easeIn,
- bool closeOnTapOutside = true,
- bool closeOnEscape = true,
- bool closeOnScroll = false,
- MinUiAnchorSide side = const MinUiAnchorSide.below(),
- Color barrierColor = const Color(0x00000000),
- bool useDimmedBarrier = false,
Implementation
const MinFloatingDefaults({
this.duration = const Duration(milliseconds: 140),
this.reverseDuration,
this.curve = Curves.easeOut,
this.reverseCurve = Curves.easeIn,
this.closeOnTapOutside = true,
this.closeOnEscape = true,
this.closeOnScroll = false,
this.side = const MinUiAnchorSide.below(),
this.barrierColor = const Color(0x00000000),
this.useDimmedBarrier = false,
});