skip to Main Content

Flutter – Got dependencies! 7 packages have newer versions incompatible with dependency constraints

[appname] flutter pub get --no-example Resolving dependencies... Downloading packages... collection 1.18.0 (1.19.0 available) http_parser 4.0.2 (4.1.0 available) leak_tracker 10.0.4 (10.0.5 available) leak_tracker_flutter_testing 3.0.3 (3.0.5 available) material_color_utilities 0.8.0 (0.12.0 available) meta 1.12.0 (1.15.0 available) test_api 0.7.0 (0.7.3 available) Got dependencies! what…

VIEW QUESTION

Flutter – Error: No named parameter with the name 'clipBehavior'

/C:/Users/AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-4.1.2/lib/src/flutter/flex.dart:454:7: Error: No named parameter with the name 'clipBehavior'. clipBehavior: clipBehavior, ^^^^^^^^^^^^ Target kernel_snapshot failed: Exception FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'. Process 'command 'C:Usersflutterbinflutter.bat'' finished with non-zero exit value 1 Try:…

VIEW QUESTION

Flutter – 'List<Comment>' can't be assigned to the parameter type 'List<Widget>'

posts.dart file return ListView( shrinkWrap: true, //for nested lists physics: const NeverScrollableScrollPhysics(), children: snapshot.data!.docs.map((doc) { //get the comment final commentData = doc.data() as Map<String, dynamic>; //return the comment return Comment( text: commentData["CommentText"], user: commentData["CommentedBy"], time: formatDate(commentData["CommentTime"]), ); }).toList(), ); comment.dart…

VIEW QUESTION
Back To Top
Search