diff --git a/lib/src/gradient_widget.dart b/lib/src/gradient_widget.dart index 0337506..9684cb2 100644 --- a/lib/src/gradient_widget.dart +++ b/lib/src/gradient_widget.dart @@ -101,7 +101,7 @@ class GradientButtonState extends State with SingleTickerProvide final BorderRadius borderRadiusCopy = widget.shapeRadius ?? BorderRadius.circular(40.0); // ShapeBorder shapeCopy = widget.shape ?? RoundedRectangleBorder(borderRadius: borderRadiusCopy); final ShapeBorder shapeCopy = widget.shape ?? RoundedRectangleBorder(borderRadius: borderRadiusCopy); - final TextStyle textStyleCopy = widget.textStyle ?? theme.textTheme.button!.copyWith(color: Colors.white); + final TextStyle textStyleCopy = widget.textStyle ?? theme.textTheme.labelLarge!.copyWith(color: Colors.white); if (widget.isEnabled) { gradient = widget.gradient;