Category "flutter"

Flutter Print on Android Built In Printer

May i ask help to use flutter for print in my android built in printer ? I already search in everywhere but not found a clue but i just try use sunmi pos refere

Does StatefulWidget not rebuild State every time it has new data?

The widget TrainsPage is added to the build graph in main.dart, when the corresponding menu button is clicked. This is done twice: once when _routes is empty an

Couldn't handle popUntil()

I have an AppRouter like this; class AppRouter { //static const String homeScreen = '/'; static const String mapScreen = '/'; static const String filter

Does StatefulWidget not rebuild State every time it has new data?

The widget TrainsPage is added to the build graph in main.dart, when the corresponding menu button is clicked. This is done twice: once when _routes is empty an

How can I decode a string from base64 to binary to decrypt it with RSA in flutter?

I have an encrypted string with RSA that I have encoded in base64 to put it in a QR-code: echo "thesearesecretlogininfos"|openssl rsautl -encrypt -pubin -inkey

Blue line at the end of the screen flutter

I'm creating a dashboard from flutter. in my code, I have used the singlechildscroll view and it's not working. and I'm getting a blue line at the end of the pa

Flutter Text only break lines at whitespaces

My issue is that flutter breaks Text at non whitespace characters: How can I tell flutter not to beak text at the "/" but only when it encounters a whitespace?

After a Flutter upgrade, I am getting the error "Could not resolve all files for configuration ':app:debugRuntimeClasspath'"

When I upgraded Flutter from Flutter 2.10.2 to a newer version, I got this error on every Flutter project I had created. Even when I created the new Flutter pro

PHP array_diff() equivalent in Dart? (Comparing two maps and return a map of difference)

I simply want to produce the same effect that PHP's array_diff() function does in Dart, and for those who don't know PHP or this function, my apologies but unfo

Because testing_app requires SDK version >=2.16.1 <3.0.0, version solving failed. in flutter

I am learning more about testing and i want to use Mockito Package and Build Runner Packate then i have my class Cat inside lib/models/cat.dart then i have my

How to import flutter module to a flutter project?

I have a flutter module project and I want to import it into another existing flutter project, how can I do this? I think this may not be possible since there w

SingleChildScrollView isn't working in my login screen

this is the login screen I had Implemented using flutter. I want this screen to be scrollable. how can I do that? I have uploaded my login screen code for your

"Authorization not granted" error in Flutter app for Google Fitness

I browsed the Web for tutorials on how to use health package and Google Fitness API in a flutter app. I gathered the steps according to my understanding: Create

Flutter: convert future to stream

I am getting data as Future from my json API. And use my Flutter Mobile app. Here is my code for getting data from API- import 'dart:async'; import 'dart:conver

Flutter usb serial with arduino, Not detecting CH340

I'm trying this package usb_serial to communicate with my hardware devices like Arduino, Esp8266, Esp32, FTDI board, etc., Right now I'm using a board with a CH

Target of URI doesn't exist: 'googleapis'

I have added googleapis package into my flutter project and also run flutter pub get but still when i tried to import 'package:googleapis_auth/auth_io.dart' Gee

How do I get an overlay to appear on a button click and then that button stay above the overlay in flutter?

I'm developing an app and I want the button I click on to activate a total screen overlay. Basically turn the screen darker whilst keeping the button I've click

My Flutter App is Not Working on Android 11 But Working fine in emulator as well as android 8 || (OS Error: Operation not permitted, errno = 1)

Here is My Code import 'package:flutter/material.dart'; import 'package:screenshot/screenshot.dart'; import 'package:sweld/globals.dart'; import 'package:geoloc

Flutter Firestore - Load insted references in same model

My project has a document with two or more references, sometimes I need to load these references data before display the data itself. For example: "Item" docume

Scoping Lifecycle of ChangeNotifier to just a specific number of screens

I have a ChangeNotifier Subclass that I am sharing between a number of screens like this: final value = MyChangeNotifier(); MaterialApp( routes: { '/list