GilroyText constructor
- {Key? key,
- required String text,
- Color? color,
- double fontSize = 2.0,
- FontWeight fontWeight = FontWeight.bold,
- double? height,
- TextAlign textAlign = TextAlign.start,
- int? maxLines,
- 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);