Textmaterial constructor

const Textmaterial(
  1. {Key key,
  2. FontWeight fontWeight,
  3. Color color,
  4. @required String text,
  5. double fontsize,
  6. String fontFamily}
)

Implementation

const Textmaterial(
    {Key key,
    this.fontWeight,
    this.color,
    @required this.text,
    this.fontsize,
    this.fontFamily})
    : super(key: key);