AdaptiveTypography class
A utility class for advanced typography management
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
Static Methods
-
bodyLarge(
BuildContext context, {Color? color}) → TextStyle -
bodyMedium(
BuildContext context, {Color? color}) → TextStyle -
bodySmall(
BuildContext context, {Color? color}) → TextStyle -
caption(
BuildContext context, {Color? color}) → TextStyle -
createResponsiveStyle(
{required double fontSize, FontWeight? fontWeight, Color? color, double? height, double? letterSpacing, String? fontFamily, TextDecoration? decoration, double minFontSize = 12, double maxFontSize = 32}) → TextStyle - Creates a responsive text style that scales based on screen size
-
headline1(
BuildContext context, {Color? color}) → TextStyle - Predefined text styles for different purposes
-
headline2(
BuildContext context, {Color? color}) → TextStyle -
headline3(
BuildContext context, {Color? color}) → TextStyle