Skip to content
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/extra_info_constraints.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ class ExtraInfoBoxConstraints<T> extends BoxConstraints {

@override
int get hashCode {
return hashValues(super.hashCode, extra);
return Object.hash(super.hashCode, extra);
}
}
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.3
homepage: https://github.com/flutterchina/flukit


Expand Down