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…
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…
I want to make this design in flutter I have tried in row, but it's going to overflow. So, you can help me to make this using any another way!
what went wrong? even if i replace the XFile into File, same error comes at this putFile.
I have been trying to write a simple flutter code and trying to send SMS using telephony. Sending Sms via the default SMS app works (telephony.sendSmsByDefaultApp()) but not sending directly from the app. My code is as follows: import 'package:flutter/material.dart';…
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…
This package is used in code, but the package was not updated for last 3 years so need to replace package. if any one Used this package or replace this package pls inform me. error exactly is :- Running "flutter…
how can i use forloop to generate values of data variable please help i am a beginner class Mentions extends StatefulWidget { const Mentions({ Key? key, this.width, this.height, required this.fullname, required this.username, required this.photourl, }) : super(key: key); final double?…
I am building a social media app where I have to store images data (Network images) locally. I tried using local storage but am really confused how to implement it and retrieve data faster.
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:…
When we click on any option the red dot should be visible otherwise red dot should not be visible. So, I'm thinking about using the visible but I can't using it properly. So, please help me in this.