ThemeData class
Constructors
- ThemeData({required ColorScheme colorScheme, required double radius, double scaling = 1, Typography typography = const Typography.geist(), IconThemeProperties iconTheme = const IconThemeProperties(), TargetPlatform? platform, double? surfaceOpacity, double? surfaceBlur})
Properties
- borderRadiusLg → BorderRadius
-
no setter
- borderRadiusMd → BorderRadius
-
no setter
- borderRadiusSm → BorderRadius
-
no setter
- borderRadiusXl → BorderRadius
-
no setter
- borderRadiusXs → BorderRadius
-
no setter
- borderRadiusXxl → BorderRadius
-
no setter
- brightness → Brightness
-
no setter
- colorScheme → ColorScheme
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- iconTheme → IconThemeProperties
-
final
- platform → TargetPlatform
-
The current platform.
no setter
- radius → double
-
final
- radiusLg → double
-
At normal radius, the scaled radius is 16
no setter
- radiusLgRadius → Radius
-
no setter
- radiusMd → double
-
At normal radius, the scaled radius is 12
no setter
- radiusMdRadius → Radius
-
no setter
- radiusSm → double
-
At normal radius, the scaled radius is 8
no setter
- radiusSmRadius → Radius
-
no setter
- radiusXl → double
-
At normal radius, the scaled radius is 20
no setter
- radiusXlRadius → Radius
-
no setter
- radiusXs → double
-
At normal radius, the scaled radius is 4
no setter
- radiusXsRadius → Radius
-
no setter
- radiusXxl → double
-
At normal radius, the scaled radius is 24
no setter
- radiusXxlRadius → Radius
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scaling → double
-
final
- surfaceBlur → double?
-
final
- surfaceOpacity → double?
-
final
- typography → Typography
-
final
Methods
-
copyWith(
{ColorScheme? colorScheme, double? radius, Typography? typography, TargetPlatform? platform, double? scaling, IconThemeProperties? iconTheme, double? surfaceOpacity, double? surfaceBlur}) → ThemeData -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override