Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixbug flutter3.22 #39

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package_src/lib/src/gradient_button.dart

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

按照此开发的修改是可以解决这个问题的👍

Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class GradientButton extends StatelessWidget {
style: const TextStyle(fontWeight: FontWeight.bold),
child: Center(
child: DefaultTextStyle(
style: theme.textTheme.button!.copyWith(
style: theme.textTheme.labelLarge!.copyWith(
color: disabled
? disabledTextColor ?? Colors.black38
: textColor ?? Colors.white,
Expand Down
2 changes: 1 addition & 1 deletion package_src/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flukit
description: flukit(Flutter UI Kit), a flutter common library which contains ScaleView, Swiper, PullRefrsh, WaterMark, GradientCircularProgressIndicator...
version: 3.0.1
version: 3.0.2
homepage: https://github.com/flutterchina/flukit


Expand Down