Skip to content

Commit

Permalink
feat:解决了所有的报错信息
Browse files Browse the repository at this point in the history
  • Loading branch information
Tecode committed Apr 7, 2024
1 parent e69424f commit 05b3d3f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 1 addition & 2 deletions lib/helpers/custom_behavior.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import 'package:flutter/widgets.dart';

class CustomBehavior extends ScrollBehavior {
@override
Widget buildViewportChrome(
BuildContext context, Widget child, AxisDirection axisDirection) {
Widget buildOverscrollIndicator(BuildContext context, Widget child, ScrollableDetails details) {
return child;
}
}
2 changes: 1 addition & 1 deletion lib/widgets/tab_indicator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class TabIndicator extends Decoration {
}

@override
_BubblePainter createBoxPainter([VoidCallback? onChanged]) {
BoxPainter createBoxPainter([VoidCallback? onChanged]) {
return _BubblePainter(this, onChanged);
}
}
Expand Down
2 changes: 1 addition & 1 deletion pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ packages:
source: hosted
version: "2.0.2"
path:
dependency: transitive
dependency: "direct dev"
description:
name: path
sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
Expand Down
2 changes: 2 additions & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ dev_dependencies:
flutter_driver:
sdk: flutter
flutter_lints: ^3.0.1
flutter_test: any
test: any
path: any


# For information on the generic Dart part of this file, see the
Expand Down

0 comments on commit 05b3d3f

Please sign in to comment.