FTextStyle class
Constructors
-
FTextStyle({FFill fill = const FFill(type: FFillType.solid, levels: [FFillElement(color: 'ffffff', stop: 0)]), FFontSize fontSize = const FFontSize(), String fontFamily = 'Poppins', FFontWeight fontWeight = const FFontWeight(), FTextDecoration textDecoration = const FTextDecoration(), FTextAlign textAlign = const FTextAlign(), FFontStyle fontStyle = const FFontStyle(), String? textStyleModel, FTextDirection textDirection = const FTextDirection(), FGeneralTypeInput letterSpacing = const StaticTypeInput(value: '', type: FGeneralTypeEnum.text), FGeneralTypeInput lineSpacing = const StaticTypeInput(value: '', type: FGeneralTypeEnum.text)})
-
Set of funcs to use TextStyle in Teta's widgets
const
Methods
-
copyWith({FFill? fill, FFontSize? fontSize, String? fontFamily, FFontWeight? fontWeight, FTextDecoration? textDecoration, FTextAlign? textAlign, FFontStyle? fontStyle, FTextDirection? textDirection, String? textStyleModel, FGeneralTypeInput? letterSpacing, FGeneralTypeInput? lineSpacing})
→ FTextStyle
-
Returns style (TextStyle) only
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
setModelNull()
→ FTextStyle
-
-
toJson()
→ Map<String, dynamic>
-
-
toString()
→ String
-
A string representation of this object.
inherited