EN VI

What is Flutter?

Flutter is an open source framework by Google for building beautiful, natively compiled, multi-platform applications from a single codebase.
Posts (0)

No data results!

Please check back again in feature!

Questions (32)
2022-05-30 17:26:11
You can simply use .length method to iterate properly through the result.for(var i = 0; i < map["items"].length; i++){...} Or to get rid of code duplication, use a .forEach()map["items"].forEach((ite...
Tags: Coding Lập trình error
2022-05-30 17:28:45
Try below code, refer FilteringTextInputFormatterimport below libraryimport 'package:flutter/services.dart'; Your Widget:TextFormField( keyboardType: TextInputType.number, inputFormatte...
2022-12-11 20:38:02
To get the current orientation of your device, you can take help of the MediaQuery class and get the orientation like :- var currOrientation = MediaQuery.of(context).orientation And optimise your...
Tags: Flutter Solution
2022-12-11 20:39:15
Okay at the end of screen B try creating this class:class AlwaysDisabledFocusNode extends FocusNode { @override bool get hasFocus => false; } then in your function try this:onPressed: () asy...
Tags: Flutter Solution
2024-03-10 06:30:04
It may be due to the context not having the updated ThemeData when it’s being used. In Flutter, the context in the widget tree doesn’t immediately have access to the changes above it. When you use bui...
Tags: Flutter
2024-03-10 20:30:03
CounterService._internal(); Is a private named constructor that creates an object and can be called only within the class (privacy). factory CounterService.instance() => _instance; Is a public named...
Tags: Flutter dart service
2024-03-11 03:30:05
The problem is you are using the same widget for the second time and since you are setting the color inside the initState, the value won't be changed. You have options like creating a new StatefulWidg...
Tags: Flutter
2024-03-12 02:30:04
I mostly create extension for this. extension EitherExt on Either { ///! use only after checking the type get asLeft => (this as Left).value; get asRight => (this as Right).value; } And you can...
Tags: android Flutter dart
2024-03-12 08:30:06
Instead of Future clientId= firestoreService.saveNewClient(toMap(newClient); Await the future use this to get the unboxed future: String? clientId = await firestoreService.saveNewClient(toM...
Tags: Flutter dart
2024-03-12 13:30:05
I believe flutter is Dart, which uses JavaScript regex specification, yes? Use capture groups in this way: boundary=("?)(.*)(\1) Group 1 will capture a quote if there is one. Group 2 will capture you...
Tags: regex Flutter

Login


Forgot Your Password?

Create Account


Lost your password? Please enter your email address. You will receive a link to create a new password.

Reset Password

Back to login