skip to Main Content

Flutter responsive class

I have two designs, the first for mobile devices and the second for iPad. I built a class to do that. My question is: does this class serve the purpose or need to be modified? Does the iPad size start…

VIEW QUESTION

Modal Bottom sheet route issue in flutter 3.7.0

I have upgraded my flutter version from 3.3.10 to 3.7.0 and now getting the following error. ModalBottomSheetRoute' is imported from both 'package:flutter/src/material/bottom_sheet.dart' and 'package:modal_bottom_sheet/src/bottom_sheet_route.dart I tried to follow this Error: 'ModalBottomSheetRoute' is imported from both but solutions didn't work for…

VIEW QUESTION

'String' is not a subtype of type 'YoutubePlayerController' – Flutter

Expanded( child: Container( child: SingleChildScrollView(scrollDirection: Axis.vertical, child: StreamBuilder( stream: FirebaseFirestore.instance.collection("videoList").snapshots(), builder: (context,AsyncSnapshot<QuerySnapshot>streamSnapshot){ if(streamSnapshot.hasData){ return ListView.separated( shrinkWrap: true, physics: ScrollPhysics(), scrollDirection: Axis.vertical, clipBehavior: Clip.hardEdge, itemBuilder: (context, index) { DocumentSnapshot _documentSnapshot=streamSnapshot.data!.docs[index]; return ListTile( title: YoutubePlayer( key: ObjectKey(_documentSnapshot["url"]), controller: _documentSnapshot["url"], actionsPadding: const EdgeInsets.only(left:…

VIEW QUESTION
Back To Top
Search