textStyle method
Implementation
TextStyle textStyle(BuildContext context) {
return type == ButtonType.normal
? Theme.of(context).textTheme.bodyMedium!.copyWith(fontWeight: FontWeight.bold)
: Theme.of(context).textTheme.bodyMedium!;
}
TextStyle textStyle(BuildContext context) {
return type == ButtonType.normal
? Theme.of(context).textTheme.bodyMedium!.copyWith(fontWeight: FontWeight.bold)
: Theme.of(context).textTheme.bodyMedium!;
}