FTextStyle constructor

const FTextStyle({
  1. FFill fill = const FFill(type: FFillType.solid, levels: [FFillElement(color: 'ffffff', stop: 0)]),
  2. FFontSize fontSize = const FFontSize(),
  3. String fontFamily = 'Poppins',
  4. FFontWeight fontWeight = const FFontWeight(),
  5. FTextDecoration textDecoration = const FTextDecoration(),
  6. FTextAlign textAlign = const FTextAlign(),
  7. FFontStyle fontStyle = const FFontStyle(),
  8. String? textStyleModel,
  9. FTextDirection textDirection = const FTextDirection(),
  10. FGeneralTypeInput letterSpacing = const StaticTypeInput(value: '', type: FGeneralTypeEnum.text),
  11. 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),
});