WaveTextTheme class abstract
- Mixed-in types
- Available extensions
- Annotations
-
- @freezed
Constructors
- WaveTextTheme.new({@Default(TextStyle(fontFamily: 'Inter', package: 'waveui', fontSize: 36, height: 1.2, fontWeight: FontWeight.w700)) TextStyle h1, @Default(TextStyle(fontFamily: 'Inter', package: 'waveui', fontSize: 30, height: 1.2, fontWeight: FontWeight.w600)) TextStyle h2, @Default(TextStyle(fontFamily: 'Inter', package: 'waveui', fontSize: 24, height: 1.3, fontWeight: FontWeight.w600)) TextStyle h3, @Default(TextStyle(fontFamily: 'Inter', package: 'waveui', fontSize: 18, height: 1.4, fontWeight: FontWeight.w500)) TextStyle h4, @Default(TextStyle(fontFamily: 'Inter', package: 'waveui', fontSize: 18, height: 1.4, fontWeight: FontWeight.w400)) TextStyle large, @Default(TextStyle(fontFamily: 'Inter', package: 'waveui', fontSize: 16, height: 1.5, fontWeight: FontWeight.w400)) TextStyle body, @Default(TextStyle(fontFamily: 'Inter', package: 'waveui', fontSize: 14, height: 1.4, fontWeight: FontWeight.w400)) TextStyle small, @Default(TextStyle(fontFamily: 'Inter', package: 'waveui', fontSize: 16, height: 1.5, fontWeight: FontWeight.w500)) TextStyle button})
-
factory
Properties
- body → TextStyle
-
no setterinherited
-
no setterinherited
-
copyWith
→ $WaveTextThemeCopyWith<
WaveTextTheme> -
Create a copy of WaveTextTheme
with the given fields replaced by the non-null parameter values.
no setterinherited
- h1 → TextStyle
-
no setterinherited
- h2 → TextStyle
-
no setterinherited
- h3 → TextStyle
-
no setterinherited
- h4 → TextStyle
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- large → TextStyle
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- small → TextStyle
-
no setterinherited
Methods
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
-
withColor(
Color color) → WaveTextTheme -
Available on WaveTextTheme, provided by the WaveTextThemeExtension extension
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited