Category "flutter"

Dart InternetAddress.lookup failed for the local network, but works for google.com

Dart unable to connect the server running on the local network. In below code I am trying to find weather or not my host is reachable before making the API requ

can not debug with flutter null-safety flutter-dependencies

i can run my app only using Flutter run --no-sound-null-safety my mobile attached my my lab top samsung M21 using android studio flutter version Flutter 2.2.1 d

Flutter - FloatingActionButton in the center

Is it possible to make the FloatingActionButton in the centre instead of the right side? import 'package:flutter/material.dart'; import 'number.dart'; import '

I have problem with gradle in flutter. Could not open settings generic class cache for settings file

Here is the error: FAILURE: Build failed with an exception. What went wrong: Could not open settings generic class cache for settings file 'E:\proj\android\sett

Flutter - Wrap text on overflow, like insert ellipsis or fade

I'm trying to create a line in which center text has a maximum size, and if the text content is too large, it fits in size. I insert the TextOverflow.ellipsis

Removing OverLayEntry on Back button in Flutter

I am using OverlayEntry and I want entry to remove on Back Press. OverlayEntry overlayEntry; overlayEntry = OverlayEntry(builder: (c) { return FullSc

Flutter Navigate to a Page as Root page

Currently, I have Navigation Stack PageA => PageB => PageC I want to pus Push PageD as the root page So the final result would be =>PageD How can I ach

android studio cannot resolve symbol 'GradleException'

Creating new Android Studio project get the following exception in Gradle build file: Cannot resolve symbol 'GradleException' Gradle still builds successfu

how to open a certain page using local notification in Flutter? (Not FCM)

no, I am not asking about Firebase Cloud Messaging notification here, but purely using local notification package from here flutter local notification I want if

How to check if the user is logged in, if so show other screen?

My first screen is a login screen and it needs to check if the user is logged in to open the home screen directly but I get an error using this check. I'm doin

Flutter detect PointerEvents over Widget

I have a sample code which detects a hovering stylus over a widget. The code is from this Stackoverflow Quesion. In short. It binds using GestureBinding.instanc

How to highlight searched words in Flutter

I want to bold the words that I typed like this. I tried using RichText, but it is fixed only in one place, and search text can be center, start, end. Is there

Execution failed for task ':audioplayers:compileDebugKotlin'

I'm facing this nasty error when trying to compile my Flutter App into an Android simulator. Here is the error log (is too long to paste it entirely): aunching

Aligning text using RichText in flutter

Text UI I want to create UI similar like this in flutter using RichText widget. Can you please help me with the code? I am not understanding how to design such

How to prevent user from recording screen in Flutter?

I'd like to know if there is any way to detect if the screen is getting recorded while my Flutter App is active. My objective is to pause the video if any app/s

how to solve "VM Exception while processing transaction: out of gas"

I faced a VM Exception while processing a transaction: out of gas error in contract. Here's my truffle-config.js file: development: { "http://127.0.0.1:8545

Navigator operation requested with a context that does not include a Navigator

I'm trying to start a new screen within an onTap but I get the following error: Navigator operation requested with a context that does not include a Navig

How to hide Android StatusBar in Flutter

How to hide the Android Status Bar in a Flutter App?

Dart, Nested classes, how to access child class variables

I am new to Dart/Flutter. So forgive me. I am trying to create a Object class mentioned as TestData below. And one of the variables in TestData is a Map of Test

Flutter - How does it work behind the scenes?

Obviously, flutter is a framework for running apps on iOS and Android using one codebase. But how does it manage to do so? Will it compile to native code, or is