theme library
Classes and functions for configuring the Forui widgets' theme. A theme configures the colors and typographic choices of Forui widgets.
Classes
- BoxDecorationDelta
- A delta that applies modifications to a BoxDecoration.
- FAdaptiveScope
- Provides the current platform variant down the widget tree.
- FBasicTheme
- Applies a theme to descendant widgets.
- FBreakpoints
- The responsive breakpoints based on Tailwind CSS.
- FColors
- A set of colors that is part of a FThemeData. It is used to configure the color properties of Forui widgets.
- FFormFieldStyle
- A form field state's style.
- FFormFieldStyleDelta
- A delta that applies modifications to a FFormFieldStyle.
- FStyle
- A set of miscellaneous properties that is part of a FThemeData.
- FStyleDelta
- A delta that applies modifications to a FStyle.
- FTheme
- Applies a theme to descendant widgets with animated transitions over a given duration whenever the provided FThemeData changes.
- FThemeData
- Defines the configuration of the overall visual FTheme for a widget subtree.
- FThemeMotion
- The motion-related properties for FTheme.
- FThemeMotionDelta
- A delta that applies modifications to a FThemeMotion.
- FTypography
- Definitions for the various typographical styles that are part of a FThemeData.
- FVariant
- Represents a condition under which a widget can be styled differently.
- FVariantConstraint
- Represents a combination of variants under which a widget can be styled differently.
-
FVariantOperation<
K extends FVariantConstraint, E extends FVariant, V, D extends Delta> - An operation in FVariantsDelta.delta that modifies FVariants using deltas.
-
FVariants<
K extends FVariantConstraint, E extends FVariant, V, D extends Delta> - Maps variant constraints to values.
-
FVariantsDelta<
K extends FVariantConstraint, E extends FVariant, V, D extends Delta> - Describes modifications to an FVariants in terms of deltas.
-
FVariantsValueDelta<
K extends FVariantConstraint, E extends FVariant, V, D extends Delta> - A delta that describes modifications to an FVariants in terms of concrete values.
-
FVariantValueDeltaOperation<
K extends FVariantConstraint, E extends FVariant, V, D extends Delta> - An operation in FVariantsValueDelta.delta that modifies FVariants using concrete values.
- IconThemeDataDelta
- A delta that applies modifications to an IconThemeData.
- TextStyleDelta
- A delta that applies modifications to a TextStyle.
Mixins
- Delta
- A mixin for types that can be applied to a base value to produce a new value.
Extension Types
- FFormFieldErrorVariant
- Represents a variant.
- FFormFieldErrorVariantConstraint
- Represents a combination of variants.
- FFormFieldVariant
- Represents a variant.
- FFormFieldVariantConstraint
- Represents a combination of variants.
- FPlatformVariant
- Represents a platform.
Extensions
- $FFormFieldStyleTransformations on FFormFieldStyle
- Provides copyWith and lerp methods.
- $FStyleTransformations on FStyle
- Provides copyWith and lerp methods.
- $FThemeMotionTransformations on FThemeMotion
- Provides copyWith and lerp methods.
- FAdaptiveBuildContext on BuildContext
- Provides functions for accessing the current platform variant.
- FThemeBuildContext on BuildContext
- Provides functions for accessing the current FThemeData.
- FThemes on Never
- The Forui themes.
Functions
-
toVariants(
Set< WidgetState> states) → Set<FVariant> - Converts a set of WidgetStates to a set of FVariants.