ExpandableAnimatedCard.fullscreen constructor

const ExpandableAnimatedCard.fullscreen({
  1. Key? key,
  2. required WidgetBuilder collapsedBuilder,
  3. required WidgetBuilder expandedBuilder,
  4. Duration animationDuration = const Duration(milliseconds: 500),
  5. Curve animationCurve = Curves.easeInOutCubic,
  6. Color overlayBackgroundColor = Colors.black54,
  7. double blurSigma = 0.0,
  8. Color barrierColor = Colors.transparent,
  9. bool barrierDismissible = true,
  10. bool useRootNavigator = false,
  11. RouteSettings? routeSettings,
  12. String? barrierLabel,
  13. VoidCallback? onClose,
  14. VoidCallback? onOpened,
  15. VoidCallback? onClosed,
  16. ValueChanged<bool>? onStateChanged,
  17. ExpandableAnimatedCardController? controller,
  18. 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;