TextTheme class Null safety
- Annotations
-
- @freezed
Constructors
- TextTheme({TextStyle? displayLarge, TextStyle? displayMedium, TextStyle? displaySmall, TextStyle? headlineLarge, TextStyle? headlineMedium, TextStyle? headlineSmall, TextStyle? titleLarge, TextStyle? titleMedium, TextStyle? titleSmall, TextStyle? bodyLarge, TextStyle? bodyMedium, TextStyle? bodySmall, TextStyle? labelLarge, TextStyle? labelMedium, TextStyle? labelSmall})
-
constfactory
-
TextTheme.fromJson(Map<
String, Object?> json) -
factory
Properties
- bodyLarge → TextStyle?
-
read-only, inherited
- bodyMedium → TextStyle?
-
read-only, inherited
- bodySmall → TextStyle?
-
read-only, inherited
-
copyWith
→ $TextThemeCopyWith<
TextTheme> -
@JsonKey(ignore: true), read-only, inherited
- displayLarge → TextStyle?
-
read-only, inherited
- displayMedium → TextStyle?
-
read-only, inherited
- displaySmall → TextStyle?
-
read-only, inherited
- hashCode → int
-
The hash code for this object.
read-only, inherited
- headlineLarge → TextStyle?
-
read-only, inherited
- headlineMedium → TextStyle?
-
read-only, inherited
- headlineSmall → TextStyle?
-
read-only, inherited
- labelLarge → TextStyle?
-
read-only, inherited
- labelMedium → TextStyle?
-
read-only, inherited
- labelSmall → TextStyle?
-
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- titleLarge → TextStyle?
-
read-only, inherited
- titleMedium → TextStyle?
-
read-only, inherited
- titleSmall → TextStyle?
-
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited