Changing java version used by flutter
I am trying to change the java version flutter uses from 21 to 17 I have tried changing the JDK version in android studio via Customize > All Settings > Build Tools > Gradle > Default Gradle JDK I tried…
I am trying to change the java version flutter uses from 21 to 17 I have tried changing the JDK version in android studio via Customize > All Settings > Build Tools > Gradle > Default Gradle JDK I tried…
I am trying to convert a string to a double by using the double.parse() method. When I use this, I am getting this error: FormatException: Invalid double This is the value of salePriceController.text: $4,249,000.00 Here is the code for what…
I've discovered that my app resets the keyboard back to default keyboardtype for a split second when i dissmis it with onsubmit or when i change focus. I'm not sure why it's happening, but can't seem to find a fix…
When I'm working on my login page i added continue with google. After : Launching lib/main.dart on sdk gphone16k arm64 in debug mode... Running Gradle task 'assembleDebug'... Note: Some input files use or override a deprecated API. Note: Recompile with…
Whenever I click a text field, the keyboard opens for a split second and closes. There are no errors in the debug menu as well. I have a login page that is in development, and it has nothing but a…
I'm using a DropDownMenu in Flutter to search for items in my ProductList. As soon as I type something that wouldn't match the value of a product in the list, I get this error: RangeError (length): Invalid value: Valid value…
I had a gradle problem with my M1 few months ago when I update Android Studio code. I stumbled a week trying all the suggestions. Finally got it work. to compile. I taking a flutter Udemy course. so learning that…
I encountered an issue when I wrapped my MaterialApp widget in a BlocBuilder. I expected the entire widget tree to rebuild whenever a new state was emitted. However, I noticed that some widgets didn’t rebuild as expected. Here’s a simplified…
here is my code import 'package:flutter/material.dart'; import 'package:mobile_smarcerti/app/modules/sertifikasi/views/detail_sertifikasi_body.dart'; import 'package:mobile_smarcerti/app/modules/sertifikasi/views/detail_sertifikasi_page.dart'; import 'package:mobile_smarcerti/pages/upload_sertifikasi_dosen.dart'; import 'package:mobile_smarcerti/services/api_service.dart'; class SertifikasiBody extends StatefulWidget { const SertifikasiBody({super.key}); @override __SertifikasiScreenState createState() => __SertifikasiScreenState(); } class __SertifikasiScreenState extends State<SertifikasiBody> { late Future<List<dynamic>> _sertifikasiFuture; @override void initState() { super.initState();…
Ok I created my first web application with Flutter, setup SSL and have a domain with two flavours. http://example.com and https://example.com setup on IIS. How can I redirect http to https with Flutter? I could create Url rewrite server side…