Questions tagged [flutter]

Use this tag for questions about the Flutter cross-platform UI toolkit. If your question is platform-specific, tag the platform as well (e.g., [android], [ios], etc.). You may also wish to include the [dart] tag for coding questions.

Flutter applications are written in the Dart programming language, and can connect to platform languages such as Java, Kotlin, Swift, and Objective-C. Also, thanks to ffi support, it is possible to interact with the C code directly . Flutter itself is built with C, C++, Dart, and Skia (a 2D rendering engine).

Flutter development is currently supported on Linux, macOS, Chrome OS and Windows operating systems.

Flutter is developed and maintained by Google and will be the main development SDK for Fuchsia, the expected and upcoming new Operating System also by Google.

Four main components of Flutter:

  • A heavily optimised, mobile-first 2D rendering engine (with excellent support for text) for 60fps apps
  • A functional-reactive framework so you can build customised UIs
  • A rich set of libraries and widgets (Material Design, Cupertino) widgets (optional, you can build-your-own widgets) so you can get started quickly and produce high-fidelity experiences
  • Productive CLI and IDE (IntelliJ) tools for sub-second developer cycles

Flutter is different than most other options for building mobile apps because Flutter uses neither WebView nor the OEM widgets that shipped with the device. Instead, Flutter uses its own high-performance rendering engine and framework to draw widgets to the screen.

Flutter also offers developers a highly productive and fast development experience, fast runtime and engine performance, and beautifully designed widgets that make for beautiful apps.


Resource


Source Code and Building


Community


Books

  • Flutter in Action - Complete Flutter and Dart resource, currently in 'Early Access'.

Related tags

168087 questions
31
votes
5 answers

How to change a Flutter app language without restarting the app?

In the settings page of my app, I would like to add an option that controls the app language. I can set the language before starting the app like this: @override Widget build(BuildContext context) { return MaterialApp( // other…
Raed Mughaus
  • 975
  • 1
  • 9
  • 15
31
votes
11 answers

How to fix "A dismissed Dismissible widget is still part of the tree." error in flutter

I am building a fluter app with dismissible widget, firebase and StreamBuilder and getting following error "A dismissed Dismissible widget is still part of the tree." Please find the below code sniped for the same. Expanded( child:…
Samiran Majumder
  • 311
  • 1
  • 3
  • 3
31
votes
6 answers

How to upload dsyms files which developed with Flutter?

I am developing one Cross-platform app with flutter support. I Integrated firebase Crashlytics for crash reports. before I need to check report one error message comes Upload 1 missing dSYM required to process 4 crashes for that, I tried firebase…
Kiran Sarvaiya
  • 1,318
  • 1
  • 13
  • 37
31
votes
8 answers

how to get sha1 of android app in Vs code

how to get "Sha1" for a flutter application. I am using flutter in Vs code.In android studio we have direct option for that, but i don't know how to get it in Vs code.
Abhishek Patil
  • 502
  • 1
  • 4
  • 12
31
votes
10 answers

How to detect TabBar change in Flutter?

I need to detect TabBar when I swipe then print somethings on console, how I can do that? This is my code. bottomNavigationBar: new Material( color: Colors.blueAccent, child: new TabBar( onTap: (int index){…
Ashtav
  • 2,586
  • 7
  • 28
  • 44
31
votes
4 answers

How to disable predictive text in TextField of Flutter?

I want to disable predictive text which comes in the keyboard of a textfield. It is not so difficult in native android and IOS but I have not found a solution in a Flutter. I have tried using autocorrect: false and changing keyboardtypes but it is…
sk_462
  • 587
  • 1
  • 7
  • 16
31
votes
6 answers

How to change Text color based on background Image - Flutter

I want to change text (and Icon) colors based on the background image for visibility. I've tried: Using palette_generator package, to check the Dominant Color of the background Image and useWhiteForgroundForColor function (returns a bool) from…
Sina Seirafi
  • 2,073
  • 3
  • 15
  • 16
31
votes
6 answers

Keyboard is pushing the FloatingActionButton upward in flutter app

I am trying to create a simple To Do App in in flutter with a Floating Action Button in the bottom which when clicked show an Alert Dialog to add items to the list. Every time I click on the button, the Keyboard pushes the Action Button upward…
Albert George
  • 321
  • 1
  • 3
  • 7
31
votes
6 answers

Flutter - How can I dynamically show or hide App Bars on pages

I have design one screen which is appear when intent from navigation drawer as well as from other screen. Now i want to hide app bar when intent from navigation drawer, so please guide me, below is my code Navigation Screen code import…
Nirav Bhavsar
  • 2,133
  • 2
  • 20
  • 24
31
votes
6 answers

Flutter Exception: ScrollController attached to multiple scroll views

My Flutter application is throwing an exception (ScrollController attached to multiple scroll views) when navigating away from a page that has a ScrollController to control a NestedScrollView and I am not sure what I am doing wrong. I have recreated…
dewald
  • 5,133
  • 7
  • 38
  • 42
31
votes
14 answers

How to reduce the margin between 'leading' and 'title' for ListTile ? Flutter

The margin between leading and title is too much; How to decrease it; I have tried several ways: warp the leading with container and set margin right negative; warp the title and set padding-left however, it does not work at all; is there any…
zhouwangsheng
  • 383
  • 1
  • 4
  • 10
31
votes
1 answer

What is the difference between NestedScrollView and CustomScrollView?

I having hard to understand the difference between NestedScrollView and CustomScrollView?
Sagar Bahadur Tamang
  • 2,670
  • 2
  • 24
  • 41
31
votes
6 answers

Flutter http headers

The post request is throwing an error while setting the header map. Here is my code Future makePostCall( GenericRequest genericRequest) {String URL = "$BASE_URL/api/"; Map data = { "name": "name", "email": "email", …
Satya Attili
  • 678
  • 1
  • 8
  • 17
31
votes
6 answers

How can I have clickable text in the AppBar in Flutter

I am aware that I can use IconButton in the actions of the AppBar in Flutter. But instead of the icon, I'd like the user to see the words 'Save' or 'Back' or 'Cancel' and click on them in the AppBar. How can I achieve this? Here is part of my code…
RRy
  • 433
  • 1
  • 5
  • 15
31
votes
2 answers

Present modally in Flutter?

How to do a modal presentation of a route in Flutter? I figured out how to navigate to a route using the usual "push" transition, but I am struggling to implement a modal transition. See animation attached (done using native iOS). How do I present a…
Nikolay Suvandzhiev
  • 8,465
  • 6
  • 41
  • 47
1 2 3
99
100