This Argument typr 'File' cant be assigned in this paameter type File – Flutter
enter image description here while Image picker, I couldn't solve this error.
enter image description here while Image picker, I couldn't solve this error.
what went wrong? even if i replace the XFile into File, same error comes at this putFile.
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:…
How to scroll the search widget along with the list view result flutter whenever I use singlechildscrollview it gives an error.Help me to solve the issue. How to scroll the search widget along with the list view result flutter whenever…
This is the result that I want. This is the current output that I have. How can I achieve this result specifically the lines that are present in between the list tiles? I am using a ListView to show the…
There is no Animated grid for Flutter So, what i am trying to achieve is scroll the gridview like orbit in flutter. Like below. Tried using TweenAnimationBuilder and flutter_staggered_animations: ^1.0.0 Package. But cannot able to achieve the expected result TweenAnimationBuilder…
I want to build a textFormFeild so that it is like the one in the image below, in addition to that I can control its properties such as default textFormFeild and it is responsive. In the case of focus, the…
I want when I click on one of the Expansion Tiles, the rest of the items are closed, how can I do that? Refer to below example code : import 'package:flutter/material.dart'; class PickPlanPage extends StatefulWidget { const PickPlanPage({Key? key}) :…
I want to make nested checkbox with dropdown. i will share the dropdown image here, kindly request to how manage this one This is the actual UI i want to make, Any one have any idea, please add it
Trying to curve appbar with roubded curve but unable to implement. For more reference please check the attached image.