ExpandableAnimatedCard.fullscreen constructor
const
ExpandableAnimatedCard.fullscreen({
- Key? key,
- required WidgetBuilder collapsedBuilder,
- required WidgetBuilder expandedBuilder,
- Duration animationDuration = const Duration(milliseconds: 500),
- Curve animationCurve = Curves.easeInOutCubic,
- Color overlayBackgroundColor = Colors.black54,
- double blurSigma = 0.0,
- Color barrierColor = Colors.transparent,
- bool barrierDismissible = true,
- RouteSettings? routeSettings,
- String? barrierLabel,
- VoidCallback? onClose,
- VoidCallback? onOpened,
- VoidCallback? onClosed,
- ValueChanged<
bool> ? onStateChanged, - ExpandableAnimatedCardController? controller,
- bool autoOpenOnTap = true,
Factory: fullscreen
Implementation
const ExpandableAnimatedCard.fullscreen({
super.key,
required this.collapsedBuilder,
required this.expandedBuilder,
this.animationDuration = const Duration(milliseconds: 500),
this.animationCurve = Curves.easeInOutCubic,
this.overlayBackgroundColor = Colors.black54,
this.blurSigma = 0.0,
this.barrierColor = Colors.transparent,
this.barrierDismissible = true,
this.useRootNavigator = false,
this.routeSettings,
this.barrierLabel,
this.onClose,
this.onOpened,
this.onClosed,
this.onStateChanged,
this.controller,
this.autoOpenOnTap = true,
}) : _type = CardType.fullscreen,
fadeInterval = const Interval(
0.35,
1.0,
curve: Cubic(0.5, 0.0, 0.3, 1.0),
),
expandedMargin = EdgeInsets.zero,
expandedPadding = EdgeInsets.zero,
maxWidth = null,
useSafeArea = false,
backgroundColor = Colors.transparent,
backgroundGradient = null,
borderColor = null,
borderWidth = 0.0,
borderRadius = BorderRadius.zero,
elevation = 0.0,
shadowColor = null,
headerMode = HeaderMode.none,
headerHeight = 0.0,
headerBuilder = null,
scrimBuilder = null,
enableDragToDismiss = false,
dragDismissThreshold = 9999.0,
clipBehavior = Clip.none,
menuOffset = 0.0,
menuAlignment = Alignment.topCenter,
_sheetMaxHeight = null,
_sheetMaxHeightFraction = null,
_sheetDragDismissThresholdFraction = null;