Material3TextStyle constructor

Material3TextStyle({
  1. String fontFamily = 'Roboto',
  2. required double fontSize,
  3. double letterSpacing = 0.0,
  4. double height = 1.2,
  5. required String fontWeight,
})

Implementation

Material3TextStyle({
  this.fontFamily = 'Roboto',
  required this.fontSize,
  this.letterSpacing = 0.0,
  this.height = 1.2,
  required this.fontWeight,
});