LitSansSerifStyles class
A collection of sans serif TextStyles.
The styles are implementing the Material Design
styles using different
default values and the Montserrat
font family.
These styles are included:
overline
caption
button
body1
body2
subtitle1
subtitle2
h6
h5
h3
h2
h1
Constructors
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- body1 → const TextStyle
- The styling applied on looser body text.
- body2 → const TextStyle
- The styling applied on default body text.
-
The styling applied on buttons.
Use this styling in combination with uppercase letters:
BUTTON
. - The styling applied on small caption text.
- defaultColor → const Color
- The default text color for all TextStyles.
- h1 → const TextStyle
- The styling applied on h1 heading.
- h2 → const TextStyle
- The styling applied on h2 heading.
- h3 → const TextStyle
- The styling applied on h3 heading.
- h4 → const TextStyle
- The styling applied on h4 heading.
- h5 → const TextStyle
- The styling applied on h5 heading.
- h6 → const TextStyle
- The styling applied on h6 heading.
- overline → const TextStyle
- The styling applied on small overline text.
- subtitle1 → const TextStyle
- The styling applied on larger subtitles.
- subtitle2 → const TextStyle
- The styling applied on small subtitles.