acme_theme library

The Acme Theme Library

Classes

AcmeComponentScope
A Widget that provide ComponentConfigs to its descendants.
AcmeThemeBuilderObservatoryInfo
The information about the Acme Theme Builder Observatory.
AcmeThemeData<T extends Object>
Defines the configuration of the overall visual Theme based on the provided properties.
AcmeThemeScope<T extends Object>
A Widget that provides a AcmeThemeData to its descendants.
AcmeThemeSync
A Widget that connects with the available Acme Theme Builder Observatory, and provides the AcmeThemeData resolved from the observatory to its descendants.
AlertDialogConfig
AppBarConfig
ButtonConfig
CardConfig
ChipConfig
ComponentConfig
A base class for all component configs.
CoreAlertDialog
CoreAppBar
CoreButton
CoreCard
CoreChip
CoreDialog
CoreDropdownButton<T>
CoreDropdownMenu<T>
CoreSlider
CoreSnackBar
CoreSwitch
CoreTextField
CustomColor
A custom color definition.
CustomColors<T extends Object>
The CustomColors theme extension allows you to define custom colors for your product and attach it to the ThemeData.extensions property.
CustomColorsConverter<T extends Object>
DialogConfig
DividerAppBarConfig
MapCustomColorConverter
Defines a custom color converter.
NetworkThemeScope<T extends Object>
A Widget that provides a AcmeThemeData to its descendants based on the provided network url.
SliderConfig
SnackBarConfig
SwitchConfig
TextFieldConfig

Enums

ButtonType
ComponentType
The component type used to identify the component.

Extensions

ComponentConfigExtension on BuildContext
An extension on BuildContext that provides access to the ComponentConfig for the current BuildContext.

Typedefs

CustomColorsConverterCreator<T extends Object> = CustomColorsConverter<T> Function(Map<String, CustomColor>)
Signature to create a CustomColorsConverter based on custom colors..
TextStyleBuilder = TextStyle Function({Paint? background, Color? backgroundColor, Color? color, TextDecoration? decoration, Color? decorationColor, TextDecorationStyle? decorationStyle, double? decorationThickness, List<FontFeature>? fontFeatures, double? fontSize, FontStyle? fontStyle, FontWeight? fontWeight, Paint? foreground, double? height, double? letterSpacing, Locale? locale, List<Shadow>? shadows, TextBaseline? textBaseline, TextStyle? textStyle, double? wordSpacing})
Signature for building a TextStyle.
ThemedWidgetBuilder = Widget Function(BuildContext, AcmeThemeData<Object>)
Signature to create a Widget based on the AcmeThemeData.
ThemeOverride = AcmeThemeData<Object> Function(AcmeThemeData<Object>)
Signature to create a new AcmeThemeData based on the resolved AcmeThemeData.

Exceptions / Errors

InvalidAcmeThemeException
The exception thrown when the provided json is not a valid AcmeThemeData.