Category "flutter"

How to show date picker on the onclick of text field instead of keyboard in flutter?

Wish to show date picker when clicking on the TextFormField instead of the keyboard. I have tried using GestureDetector but not working as I expected. DateTim

Why loadInitTopStory method called after calling loaded state in flutter?

HackerNewsLoadedState is called before HackerNewsLoadingState and it loads all data from API but does not integrate to _topStories list as well as store data to

Unable to send SMS using telephony

I have been trying to send SMS using telephony by following the youtube tutorial https://www.youtube.com/watch?v=X4yFdl3o1Lg. However, no message is being sent

Flutter CachedNetworkImage errors: (CacheManager: Failed to download file) and (SocketException or HttpException)

I'm using the cached_network_image library. If I set it up like this: void main() { runApp(MyApp()); } class MyApp extends StatelessWidget { @override Wi

No Material widget found which widget is inside of Scaffold

The following assertion was thrown building IconButton(Icon, padding: EdgeInsets.all(8.0), dirty): No Material widget found. But you'll see from the code below

Flutter - Disable navigation InAppWebView

I'm new to Flutter, and I want to put a web view between other widgets and I'm using the InAppWebView flutter in order to do it, but I want to prevent the user

Need help for a showModalTopSheet

I would like to be able to implement a showModalTopSheet on the booking.com site On the first image (img1), a search has already been performed. The search crit

Is there a way to reverse a LinearProgressBar in flutter? [closed]

So I want a LinearProgressBar that goes from right to left. So basically in reverse. Is there a line of code I need to add? Couldn't find anyt

Flutter Snackbar on screen initState

Three Questions: How to load snackbar in flutter in initState or when app loads the initial screen? I have the code below but it throws an error and doesn't loa

Error: A value of type 'RequestOptions' can't be assigned to a variable of type 'Future<dynamic>'

I got below error when I compiling a flutter project downloaded from github . here is the code: import 'package:dio/dio.dart'; class HeaderInterceptors exten

Unable to find bundled Java version on Flutter

I have Android Studio version 3.0 When I use the command flutter doctor it shows me the following, Unable to find bundled Java version My current Java version

Upload image picked from Flutter web to firebase storage and to Firestore

I was able to picked up image from flutter web with the code: Uint8List uploadedImage; _startFilePicker() async { InputElement uploadInput = FileUploadI

Is there any texteditor that I can also insert images in the middle of texts in Flutter?

I would like to make a blog app by flutter in which people will write posts with text and picture. I learned how to make the form that image and text are separa

Flutter textfield that auto expands when text is entered and then starts scrolling the text when a certain height is reached

I've tried many configurations of the Flutter TextField but can't figure out how to build this one. I'm looking for a textfield that is a single line initially

How to hide one side of the border of a TextField, in Flutter?

I am using the TextField widget, and I want to hide the left side border, as shown here: TextField( decoration: new InputDecoration( border: new Outlin

Error: Overlay manifest:package atribute declared at AndroidManifest.xml:2:5-34. Flutter

Simple Proplem, hard to solve (i think), I get this error when i start my main.dart: Error: Overlay manifest:package attribute declared at AndroidManifest.x

How i can make Flutter application start when it receives background firebase message even if the screen is locked i want my app to start

I tried this code but it didn't works: package com.example.flutter_telegram import android.os.Bundle import io.flutter.app.FlutterActivity import io.flutter.pl

ListView In TabBarView In Container not scrolling dart

I have the following flutter/dart code where the listView which is inside a tabBarView and also inside a container isn't scrollable Container( height: MediaQu

Making a browser with flutter

I made a browser with flutter WebView and enabled JavaScript and this is my code for the browser screen. The main goal for the app is to automate a website (Mov

Setting up DevTools failed (Flutter Inspector)

I could not find solution to this either on google or here on StackOverflow. There is only and only 1 question answered related to this issue [https://stackover