Category "flutter"

This requires the 'super-parameters' language feature to be enabled

I am using super keyword in initState method.but i am getting this error 'This requires the 'super-parameters' language feature to be enabled. Try updating your

Flutter Scaffold Appbar not showing the back button

My class is not showing the back button in the AppBar, Already try put this.automaticallyImplyLeading = true, import 'package:carros/pages/carro/carro.dart';

How to create a modal bottomsheet with circular corners in Flutter?

showModalBottomSheet does not provide any styling or decorations. I want to create something like the Google Tasks bottomsheet.

Call async function from Isolate function

I am trying to call an async function from the Isolate function. class IsolateExample { final ReceivePort port = new ReceivePort(); IsolateExample(){

Widget rebuild after TextField selection Flutter

I'm developping a Flutter App that needed to have a form. So when the user open the app, a Splash Screen appear before the form that have the following code :

Access properties of a flutter class through the content of a variable

I'm in Flutter (Dart), I want to access to a property of a class, but the property that I have to access is defined by the content of another variable. Example:

SharedPreferences in Flutter not persisting?

I'm trying to implement a "Remember Me" functionality by using SharedPreferences. Unfortunately, no matter what I do, it doesn't seem like the login details are

I wants to show the custom progress dialog (similar to iOS default dialog) in flutter

Currently I'm using the default flutter dialog Scaffold( appBar: AppBar( backgroundColor: Color(0xFFB50208), title: const Text('Pro

How do I change Text Input Action Button (return/enter key) on Keyboard in Flutter?

In Android and iOS it is possible to change the enter/return key of the keyboard to e.g. a "Go" button (and other options). On top, we can see the regular "

Download file to Device download folder in Flutter

I'm trying to download files in my flutter app using the dio plugin for which I have to specify a "savePath". But using path_provider I can only see Application

image not showing from internet using Image.network

import 'package:flutter/material.dart'; import 'package:flutter/src/widgets/basic.dart'; void main() { runApp( MaterialApp( home: Scaffold(

Add Key for list of multiple object ~ dart

final uri = Uri.parse( "https://api.binance.com/api/v3/klines?symbol=BTCUSDT&interval=1h"); final res = await http.get(uri); var data = (

How to solve exception caught by widgets library?

I want to use cached network image to display images in my flutter app, however it shows this: ═══════ Exception caugh

Network requests in Flutter app on physical iOS devices are slow

I am working on a cross-platform app using Flutter, for Android, iOS and Web. For some reason though, network requests on iOS are very slow. The app works fine

how to open the pdf document inside web view using flutter

I am creating an app using flutter. I am struggling to open the Portable Document Format inside the web view using flutter. Please help to resolve this body

Flutter Web : "Should never encounter KeyData when transitMode is rawKeyData."

When I run my project on web the Exception message and stack trace was "Should never encounter KeyData when transitMode is rawKeyData." at Object.throw_ [as

Flutter iOS fatal error: 'Flutter/Flutter.h' file not found

When I try to build my iOS I was facing such error I think it's mostly with the webview_flutter package Failed to build iOS app Error output from Xcode build:

charts_flutter PanAndZoomBehavior is not working in a Scrollview

If we implement any chart ( whether it be a Linechart or Barchart from chart_flutter ) and in behaviours we have added charts.PanAndZoomBehavior(), pan and zoom

How to load images with image.file

I can't seem to simply load an image from the hard drive to the screen. Image.network seems straightforward. But I can't figure out how to use Image or Image.

Flutter build apk on release mode cannot generate updated version

I had run this flutter build apk to release my App. Now I had built version 2 of that. Now, I want to release my version 2 App. So, I run flutter build apk aga