ResponsiveTextStyles class

Responsive text styles that adapt to screen size

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

getResponsiveStyle({required BuildContext context, required TextStyle mobileStyle, required TextStyle tabletStyle, required TextStyle desktopStyle}) TextStyle
Get responsive text style based on screen width
responsiveBody(BuildContext context, {Color? color}) TextStyle
Responsive body text
responsiveHeadline(BuildContext context, {Color? color}) TextStyle
Responsive headline
responsiveTitle(BuildContext context, {Color? color}) TextStyle
Responsive title