Tag: flutter

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.

Get Started Now!

flutter

I am getting error “cmdline-tools component is missing” after installing Flutter and Android Studio… I added the Android SDK. How can I solve them?

Solution: Step 1: I fixed the problem by opening Android Studio. Step 2: Click to More Actions. Step 3: Then click on ‘SDK Manager’. Step 4: In the ‘Preferences’ window, Switching to the SDK Tools tab, Select the ‘Android SDK Command-line Tools (latest)’ checkbox and Click on Apply. Step 5: Next, Click ok, ok Step Read More

flutter

How to Make a Confirm Dialog in Flutter

A confirm dialog is a dialog box that asks users to approve the requested operation. It usually appears with button pairs like Yes/No, OK/Cancel, Agree/Disagree. Confirm dialogs help prevent accidental actions such as deleting content, closing an account, leaving a page when the form content on that page has not been saved, etc. This article Read More

flutter

how to deploy Existing Project in play store

step 1:open android studio and drag your project and paste in android studio Step 2: click open for editing in android studio shown in below figure Step 3:now your project starts to build you can check it by clicking in build in bottom taskbar Step 4:after build finish click or expand gradle script–click build gradle Read More

flutter

Flutter Error:uses-sdk:minSdkVersion 16 cannot be smaller than version 17 declared in library

C:\flutter-firebase\flutter-firebase\flutter_applicationnew\android\app\src\debug\AndroidManifest.xml Error:uses-sdk:minSdkVersion 16 cannot be smaller than version 17 declared in library [:flutter_inappwebview] C:\flutter-firebase\flutter-firebase\flutter_applicationnew\build\flutter_inappwebview\intermediates\library_manifest\debug\AndroidManifest.xml as the library might be using APIs not available in 16Suggestion: use a compatible library with a minSdk of at most 16,or increase this project’s minSdk version to at least 17, Solution:step1: go to visual studio and expand android folder Step Read More

flutter

How to create pop up menu in appbar with routing link in Flutter

today, i am creating popup menu i am using action widget and multiple popupmenuitem widget inside action widget . in popupup menuitem, i am using text widget and for routing or link use tap now i click popular trip for that we use import ‘package:flutter_applicationnew/homescreen/screen/populartrip.dart’; now we click popular link that goto other class

flutter

How to solve Null-Safety in Flutter

Today , I run flutter project and i got this error Reason:in pubspec.yaml I imported project from other person. When I try pub get it say requires SDK version >=2.12.0 <3.0.0, version solving failed. Then i Updated dart it through this error. it is working fine below 2.12 sdk version I changed my Dart SDK constraint from 2.7.0 to 2.10.0, Read More

flutter

Error: The getter ‘addressOf’ isn’t defined for the class in Flutter

/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf8.dart:63:33: Error: The getter ‘addressOf’ isn’t defined for the class ‘Utf8’. ‘Utf8’ is from ‘package:ffi/src/utf8.dart’ (‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf8.dart’). Try correcting the name to the name of an existing getter, or defining a getter or field named ‘addressOf’. String toString() => fromUtf8(addressOf); ^^^^^^^^^ /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.18.1/lib/src/picture_provider.dart:50:59: Error: No named parameter with the name ‘nullOk’. context != null ? Localizations.localeOf(context, nullOk: Read More