AppTheme class
Constructors
- AppTheme()
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
-
bodyText1(
BuildContext context) → TextStyle? - Used for emphasizing text that would otherwise be bodyText2.
-
bodyText2(
BuildContext context) → TextStyle? - The default text style for Material.
- Used for text on ElevatedButton and TextButton.
-
caption(
BuildContext context) → TextStyle? - Used for auxiliary text associated with images.
-
headline1(
BuildContext context) → TextStyle? - Extremely large text.
-
headline2(
BuildContext context) → TextStyle? - Used for the date in the dialog shown by showDatePicker.
-
headline3(
BuildContext context) → TextStyle? - Very large text.
-
headline4(
BuildContext context) → TextStyle? - Large text.
-
headline5(
BuildContext context) → TextStyle? - Used for large text in dialogs (e.g., the month and year in the dialog shown by showDatePicker).
-
headline6(
BuildContext context) → TextStyle? - Used for the primary text in app bars and dialogs (e.g., AppBar.title and AlertDialog.title).
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
overline(
BuildContext context) → TextStyle? - The smallest style. Typically used for captions or to introduce a (larger) headline.
-
subtitle1(
BuildContext context) → TextStyle? - Used for the primary text in lists (e.g., ListTile.title).
-
subtitle2(
BuildContext context) → TextStyle? - For medium emphasis text that's a little smaller than subtitle1.
-
textTheme(
BuildContext context) → TextTheme -
theme(
BuildContext context) → ThemeData -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited