GilroyText constructor

const GilroyText(
  1. {Key? key,
  2. required String text,
  3. Color? color,
  4. double fontSize = 2.0,
  5. FontWeight fontWeight = FontWeight.bold,
  6. double? height,
  7. TextAlign textAlign = TextAlign.start,
  8. int? maxLines,
  9. TextDecoration textDecoration = TextDecoration.none}
)

Implementation

const GilroyText({
  Key? key,
  required this.text,
  this.color,
  this.fontSize = 2.0,
  this.fontWeight = FontWeight.bold,
  this.height,
  this.textAlign = TextAlign.start,
  this.maxLines,
  this.textDecoration = TextDecoration.none,
}) : super(key: key);