HThemeProvider
Class
Fields
components: List <Theme Component>
properties: Dictionary <Theme Property, object>
Constructors
HThemeProvider(components: List <Theme Component>, properties: Dictionary <Theme Property, object>, child: Widget, key: Key, constants: object[], modifiers: IReadOnlyCollection <Modifier>)
Creates a widget that provides inheritable theme properties to its descendants.
Parameters
components:
List <Theme Component> - A list of theme components to apply to the descendants.properties:
Dictionary <Theme Property, object> - A dictionary of theme properties to apply to the descendants.child:
Widget - The widget that is contained within the theme provider.key:
Key - Passed on to Widget.key.constants:
object[] - Passed on to Widget.constants.modifiers:
IReadOnlyCollection <Modifier> - Passed on to Widget.modifiers.Methods
CreateElement(): I Widget Element
Creates a new IWidgetElement for the given widget configuration.
RemarksUsually, this will create an instance of an IWidgetElement and then call Widget.ReconcileInto to perform the initial reconciliation after that element gets attached to its parent and the panel.
Inherited Members
Extension Methods
To Diagnostics Node SafeIfClipConstDisplayExpandFillFlexibleMarginOpacityPaddingPositionedShrinkSizeStretchTight StretchTightVisibilityWith ModifierTo BuildableTo FactorySpreadDescribe IdentityShort HashTo String Nullable