GoogleText constructor
const
GoogleText(
- String text, {
- Key? key,
- GoogleTextVariant variant = GoogleTextVariant.bodyText1,
- TextAlign? textAlign,
- Color? color,
- TextOverflow? textOverflow,
- int? maxLines,
- bool? softWrap,
- double? fontSize,
Implementation
const GoogleText(
this.text, {
Key? key,
this.variant = GoogleTextVariant.bodyText1,
this.textAlign,
this.color,
this.textOverflow,
this.maxLines,
this.softWrap,
this.fontSize,
}) : super(key: key);