Skip to content

Commit

Permalink
Fix demo error
Browse files Browse the repository at this point in the history
  • Loading branch information
zmtzawqlp committed Aug 17, 2023
1 parent b7323dd commit 5f3d387
Show file tree
Hide file tree
Showing 4 changed files with 493 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ build/
ios/.generated/
ios/Flutter/Generated.xcconfig
ios/Runner/GeneratedPluginRegistrant.*
pubspec.lock
/pubspec.lock
3 changes: 2 additions & 1 deletion example/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Miscellaneous
*.class
*.lock
#*.lock
*.log
*.pyc
*.swp
Expand Down Expand Up @@ -69,3 +69,4 @@ build/
!**/ios/**/default.pbxuser
!**/ios/**/default.perspectivev3
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
Podfile.lock
2 changes: 1 addition & 1 deletion example/lib/demo/complex/nested_scroll_view_demo.dart
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class _NestedScrollViewDemoState extends State<NestedScrollViewDemo>
final double offset = info?.dragOffset ?? 0.0;
Widget child = Container();
if (info != null) {
if (info.mode == RefreshIndicatorMode.error) {
if (info.mode == PullToRefreshIndicatorMode.error) {
child = GestureDetector(
onTap: () {
// refreshNotification;
Expand Down
Loading

0 comments on commit 5f3d387

Please sign in to comment.