FTextStyle constructor
const
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
Implementation
const FTextStyle({
this.fill = const FFill(
type: FFillType.solid,
levels: [
FFillElement(color: 'ffffff', stop: 0),
],
),
this.fontSize = const FFontSize(),
this.fontFamily = 'Poppins',
this.fontWeight = const FFontWeight(),
this.textDecoration = const FTextDecoration(),
this.textAlign = const FTextAlign(),
this.fontStyle = const FFontStyle(),
this.textStyleModel,
this.textDirection = const FTextDirection(),
this.letterSpacing = const StaticTypeInput(
value: '',
type: FGeneralTypeEnum.text,
),
this.lineSpacing =
const StaticTypeInput(value: '', type: FGeneralTypeEnum.text),
});