VisualEffectSubviewContainerWithGlobalKey constructor
const
VisualEffectSubviewContainerWithGlobalKey({
- required GlobalKey<
State< key,StatefulWidget> > - required Widget child,
- double alphaValue = 1.0,
- double? cornerRadius,
- int cornerMask = 0xf,
- required WindowEffect effect,
- required MacOSBlurViewState state,
- required EdgeInsets padding,
- VisualEffectSubviewContainerResizeEventRelay? resizeEventRelay,
A visual effect subview container which needs to be provided a global key.
This widget is intended to be used by the VisualEffectSubviewContainer widget. As a user of the flutter_acrylic package it is recommended to use that widget instead, as it takes care of the global key creation by itself.
Implementation
const VisualEffectSubviewContainerWithGlobalKey({
required GlobalKey key,
required this.child,
this.alphaValue = 1.0,
this.cornerRadius,
this.cornerMask = 0xf,
required this.effect,
required this.state,
required this.padding,
this.resizeEventRelay,
}) : super(key: key);