ThemeConfig class
Constructors
- ThemeConfig.new({required ThemeConfigOptions config})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
theme(
{dynamic isDark = false, required Color color}) → ThemeData -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- borderRadius → BorderRadius
-
no setter
- config ↔ ThemeConfigOptions
-
getter/setter pair
- spacingH → SizedBox
-
no setter
- spacingW → SizedBox
-
no setter
Static Methods
-
appBarStyle(
) → dynamic -
cardStyle(
bool dark) → dynamic -
elevatedButtonStyle(
dynamic isDark, Color color) → dynamic -
floatingActionButtonTheme(
dynamic backgroundColor, dynamic color) → FloatingActionButtonThemeData -
getBorderedContainer(
{String? title, required Widget child, Color? color}) → Container -
iconStyle(
dynamic color, {dynamic opacity = 0.8}) → IconThemeData -
inputStyle(
Color color, bool isDark) → dynamic -
scaffoldBackgroundColor(
bool dark) → dynamic -
textButtonStyle(
Color color) → dynamic -
textColor(
bool isDark) → Color -
textStyle(
bool dark) → TextTheme
Constants
- defaultColor → const Color
- marginX → const SizedBox
- marginY → const SizedBox
- padding → const double
- paddingInsets → const EdgeInsets
- paddingX → const EdgeInsets
- paddingXY → const EdgeInsets
- paddingY → const EdgeInsets
- screenSettings → const ResponsiveScreenSettings