skip to Main Content

Flutter – Cannot query the right place

whole filtering operation works fine except for 'sellerDetails.selectedHoursByDay'. I cannot reach out to the child values of selectedHoursByDay. DaysFilter is an array that contains the name of the days. void applyFilter() async{ Query<Map<String, dynamic>> filterquery = _firestore.collection('Users'); if (nameFilter !=…

VIEW QUESTION

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 – How can I resolve Error: The argument type 'Text' can't be assigned to the parameter type 'String'

I have this code snippetbelow body: SingleChildScrollView( padding: EdgeInsets.all(16.0), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ _buildDropdownField( Text( 'Country*', style: TextStyle(color: Colors.white),) ), _buildDropdownField("City*"), _buildDropdownField("District*"), I tried to change the color of first _buildDropdownField by using Text() but then I get…

VIEW QUESTION

Cannot fix RangeError Flutter

I'm currently developing a todo app as taught in this tutorial on Youtube https://www.youtube.com/watch?v=TclK5gNM_PM I'm trying to practice fundamentals and decided to make a todo app for an entire week with a Drawer. for that I made some changed in…

VIEW QUESTION

Flutter – Access ThemeData property inside ThemeData definition

In my Flutter app I declare ThemeData with a colorSchemeSeed: return MaterialApp( ... theme: ThemeData( useMaterial3: true, visualDensity: VisualDensity.adaptivePlatformDensity, colorSchemeSeed: Colors.blueGrey, ... floatingActionButtonTheme: FloatingActionButtonThemeData( backgroundColor: ? ), ), ... ); I would like to redefine the backgroundColor of the FloatingActionButton…

VIEW QUESTION
Back To Top
Search