noBgButton method
Implementation
Widget noBgButton(BuildContext context, String? text, Function? onPressed,
{IconData? icon,
Widget? leading,
Widget? trailing,
Widget? content,
Color? color,
bool loading = false}) {
return CustomButton(
text: text,
onPressed: onPressed,
icon: icon,
leading: leading,
trailing: trailing,
content: content,
color: Colors.transparent,
textColor: color ?? Theme.of(context).colorScheme.primary,
loading: loading,
);
}