HSubstanceBox
Class
Fields
alignment: WidgetStateProperty <Alignment>
boxKey: Key
boxModifiers: WidgetStateProperty <Modifier Set>
builder: BuildFunction <Widget State>
controller: Widget State Controller
substances: Substance Layers
Constructors
HSubstanceBox(controller: Widget State Controller, substances: Substance Layers, builder: BuildFunction <Widget State>, boxKey: Key, alignment: WidgetStateProperty <Alignment>, boxModifiers: WidgetStateProperty <Modifier Set>, key: Key, constants: object[], modifiers: IReadOnlyCollection <Modifier>)
Creates a widget that materializes SubstanceLayers.
Parameters
controller:
Widget State Controller - The controller used to retrieve the current WidgetState.substances:
Substance Layers - The substances to be materialized.builder:
BuildFunction <Widget State> - A function that builds the child widget based on the current WidgetState.boxKey:
Key - The key to be used by the inner stack.alignment:
WidgetStateProperty <Alignment> - The alignment of the inner stack.boxModifiers:
WidgetStateProperty <Modifier Set> - The modifiers to be applied to the inner stack.key:
Key - Passed on to Widget.key.constants:
object[] - Passed on to Widget.constants.modifiers:
IReadOnlyCollection <Modifier> - Passed on to Widget.modifiers.Methods
CreateState(): State <H Substance Box>
Inherited Members
Extension Methods
To Diagnostics Node SafeIfClipConstDisplayExpandFillFlexibleMarginOpacityPaddingPositionedShrinkSizeStretchTight StretchTightVisibilityWith ModifierTo BuildableTo FactoryDescribe IdentityShort HashTo String Nullable