ResponsiveTextStyle class

Defines a set of TextStyles for different screen sizes.

This class allows specifying different text styles for mobile, tablet, and desktop screens. It uses the responsiveGridService to determine the appropriate style.

Constructors

ResponsiveTextStyle({required TextStyle? mobile, TextStyle? tablet, required TextStyle? desktop})
Creates a ResponsiveTextStyle.

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

getResponsiveTextStyle() TextStyle
Returns the appropriate TextStyle based on the current screen type from the responsiveGridService.
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