GlassSheetMorphPresenter constructor
const
GlassSheetMorphPresenter({
- Key? key,
- required Animation<
double> routeAnimation, - required Rect triggerRect,
- required GlassMorphAnchor? anchor,
- required MorphSpeed speed,
- required GlassSheetState restingState,
- required GlassModalSheetController controller,
- required SheetGeometry geometry,
- required double horizontalMargin,
- required double bottomMargin,
- required double? topBorderRadius,
- required double? fullTopBorderRadius,
- required double? bottomBorderRadius,
- required double? fullBottomBorderRadius,
- required LiquidGlassSettings? settings,
- required LiquidGlassSettings? peekSettings,
- required LiquidGlassSettings? halfSettings,
- required LiquidGlassSettings? fullSettings,
- required Color? expandedColor,
- required GlassQuality? quality,
- required double? peekHorizontalMargin,
- required double? peekBottomMargin,
- required double? peekWidth,
- required double? peekTopBorderRadius,
- required bool platformViewBackdrop,
- required Widget child,
- Color? expandedDarkColor,
- Color? barrierColor,
- GlassSheetPlacement placement = GlassSheetPlacement.automatic,
Creates a new GlassSheetMorphPresenter.
Implementation
const GlassSheetMorphPresenter({
super.key,
required this.routeAnimation,
required this.triggerRect,
required this.anchor,
required this.speed,
required this.restingState,
required this.controller,
required this.geometry,
required this.horizontalMargin,
required this.bottomMargin,
required this.topBorderRadius,
required this.fullTopBorderRadius,
required this.bottomBorderRadius,
required this.fullBottomBorderRadius,
required this.settings,
required this.peekSettings,
required this.halfSettings,
required this.fullSettings,
required this.expandedColor,
required this.quality,
required this.peekHorizontalMargin,
required this.peekBottomMargin,
required this.peekWidth,
required this.peekTopBorderRadius,
required this.platformViewBackdrop,
required this.child,
this.expandedDarkColor,
this.barrierColor,
this.placement = GlassSheetPlacement.automatic,
});