Category "dart"

Flutter DraggableScrollableSheet extent control

I am trying to implement a DraggableScrollableSheet that expands to maxChildSize when I perform a drag up action and collapses to minChildSize when I perform a

Possible to insert values into stream asynchronously in dart?

I have a function which downloads the RSS Feed and parses it. After that, I iterate through each team and do some processing on it. For now, this processing is

How to position widget inside Stack relative to center?

Stack( children: [ Positioned( left: ??? + 20, child: Text('This text is 20 pixel left to the center of the stack'), ), ], ),

Flutter _ How to fix display error of this keyboard

After I clicked on the line to edit the text, my keyboard appeared too high, making the interface look like it was corrupted.

Flutter convert package or dart:convert

I am following a Flutter tutorial. JSON is converted using the dart convert library: import 'dart:convert'; However, I see that a flutter package is available

Flutter assets_audio_player

i have a problem with this package (https://pub.dev/packages/assets_audio_player), only and only on iOS after having lowered the volume of a song it does not ra

Undefined Name | Error in TextEditingController (''Flutter/Dart)

I have Error in "controller" it says undefined name 'profileNameTextEditingController' language: Flutter/dart My Activity : Activity line 1-29Error

can I use the HTML widget to parse a google maps embed?

I am trying to put a google map in my application using flutter so I tried to use the HTML widget to parse an iframe that holds the embed link from google maps

How can i show previous 30 days in my list calendar?

I have a calendar, that works correct but shows only current day and future. How can i set previous days? I'd like to highliht a current day but also give an op

Flutter : Issue with the dependencies in the project

I am using a prebuilt project and I am getting below issue with the three dependencies mentioned Error: Cannot run with sound null safety, because the followin

Flutter : How to Automaticallly scroll to end of SingleChildScrollView

I have a SingleChildScrollView, its scrollDirection is set to Horizontal with 5 child widgets placed inside a Row Widget. I want to programmatically scroll to t

EventChannel not being called every time

I am very new to flutter+dart framework. I am trying to understand how EventChannel works. I have set up EventChannel to capture the number of an incoming call.

How to avoid keyboard popping out while navigating to next screen?

When I navigate from LoginScreen() to HomeScreen() the keyboard pops up for no apparent reason for a split second and then immediately closes while the navigati

How to Share Image from API(URL) in flutter?

Here I want to share image which I get through API. I tried different method for this functionality but I did not get any solution because every solutions have

How to Listen For BLE signals in background using Flutter and Dart?

I'm trying to figure out how to add a listener in flutter that would listen for BLE signals even in the phone background, while the app is off. Is it possible t

How can I tell if DateTime.Now() is on a day AFTER a different DateTime

I'm running this on flutter, but I guess this could be a more general issue. I am saving a DateTime in the preferences. I want to be able to then tell if DateT

borderRadius is not true in PinCodeTextField

I create an pin code text field like below, but when i try using shape: PinCodeFieldShape.circle, my console throw me 'package:flutter/src/painting/box_decor

Round Image File

I did this code to get an image from firestore and use it as an icon for a Map Marker. final StorageReference storageReference = FirebaseStorage().ref().child(

Android Device Verification not working in Flutter

I am trying to do get OTP without Verifying you are not a robot screen using firebase in a flutter. I added the SHA-256 key in firebase and enabled the Android

How to format TimeOfDay to String in flutter

I want to display the current time. Used TimeOfDay.Now() to get the current time, TimeOfDay _currentTime = TimeOfDay.now(); Text("Current Time: ${_currentTime