Flutter – Retrieving data from internet based on user input
so im new to flutter dart.. i want to retrieve data base on the user input code the data will be display in a popup widget i dont see any errors but the data does not show up `void main()…
so im new to flutter dart.. i want to retrieve data base on the user input code the data will be display in a popup widget i dont see any errors but the data does not show up `void main()…
I want to add row list. First click add button it working fine.. Refer this image And second click add button it row become double.. refer this bellow image Pic #1 is what it is pic #2 is what I…
I am working on a small Flutter application for children, the concept is that there is an image in the background on which users have to draw. I am using Custom Painter for that. There is a feature to erase…
I'm getting weird error, The argument type 'UserData' can`t be assigned to the parameter type 'UserData?' I think assigning 'UserData?' to 'UserData' is unsafe but, its obvious that I have definitely defined value. How can I add undefinition to make…
my example code is body: GestureDetector( onTap: () { print("tap"); }, child: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: <Widget>[ const Text( 'You have pushed the button this many times:', ), Text( '$_counter', style: Theme.of(context).textTheme.headlineMedium, ), ], ), ), ) but…
When I try to build my flutter project: flutter build apk --debug --> I get the following error: lib/screens/ListPage.dart:1:8: Error: Dart library 'dart:js_interop' is not available on this platform. import 'dart:js_interop'; ^ Context: The unavailable library 'dart:js_interop' is imported through…
How to add different icons for each DropdownMenu item? I want to add different icons for each DropdownMenu item. Before text. How to implement with DropdownMenu or any other way. Like this: Before click After click import 'package:flutter/material.dart'; void main()…
I have a folder called 'pecs' in Firebase object storage, and it contains a file: However, calling listAll on its reference returns an empty list: FirebaseStorage storage = FirebaseStorage.instance; Reference ref = storage.ref().child("pecs"); ListResult list = await ref.listAll(); setState(() {…
I want code for flutter app in which there will be one button in that app 'Destroy' and when i click on that button that app should be deleted from device with data and cache so I need code for…
I want to reproduce this effect I have tried multiple solutions : A borderRadius can only be given for uniform borders -> this one doesn't suits me because whenever you resize the widget, the area gets bigger https://stackoverflow.com/a/72155716/21357698 -> this…