VisualEffectSubviewContainerWithGlobalKey constructor
const
VisualEffectSubviewContainerWithGlobalKey({
- required GlobalKey<
State< key,StatefulWidget> > - required Widget child,
- double alphaValue = 1.0,
- double? cornerRadius,
- int cornerMask = 0xf,
- required NSVisualEffectViewMaterial material,
- required NSVisualEffectViewState 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 macos_window_utils 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.material,
required this.state,
required this.padding,
this.resizeEventRelay})
: super(key: key);