NiceTypography class
Typography scale for NiceToDev widgets.
Constructors
- NiceTypography({required String fontFamily, required TextStyle heading1, required TextStyle heading2, required TextStyle heading3, required TextStyle body, required TextStyle bodySmall, required TextStyle caption, required TextStyle label, required TextStyle button})
-
const
- NiceTypography.standard()
-
Standard typography using the system font.
factory
Properties
- body → TextStyle
-
final
- bodySmall → TextStyle
-
final
-
final
- caption → TextStyle
-
final
- fontFamily → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- heading1 → TextStyle
-
final
- heading2 → TextStyle
-
final
- heading3 → TextStyle
-
final
- label → TextStyle
-
final
- 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