How to update an outdated plugin in Flutter.

How to update an outdated plugin in Flutter.

Tiempo de lectura: < 1 minuto This is the day we are going to update FlutterWallpaperManager library that has not been updated to a new version and is not compatible with Android SDK 35. The first thing we do is find it: C:\Users\[your_username]\AppData\Local\Pub\Cache\hosted\pub.dev\[library_name] *Add your username *Add the library name. Add the library folder to your project in: plugins/[library_name] *If the … Read more

Flutter solve multi-dex – cannot find symbol MultiDex.install

Flutter solve multi-dex – cannot find symbol MultiDex.install

Tiempo de lectura: < 1 minuto We are going to learn how to solve the multi-deck problem that can appear in Flutter today. The problem is as follows: Error: Cannot find symbol ‘MultiDex.install(this);’ ^ symbol: variable MultiDex location: class FlutterMultiDexApplication 2 errors FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ‘:app:compileDebugJavaWithJavac’. > Compilation failed; see … Read more

Flutter: Fixing problem [!] Your project requires a newer version of the Kotlin Gradle plugin when generating build or APK.

Flutter: Fixing problem [!] Your project requires a newer version of the Kotlin Gradle plugin when generating build or APK.

Tiempo de lectura: < 1 minuto We will solve today’s problem: │ [!] Your project requires a newer version of the Kotlin Gradle plugin. │ What appears when we want to generate an APK with Flutter and find out that Kotlin is outdated. We need to do the following: Open the file: android/build.gradle And search for this line (or if there’s … Read more

Enable Developer Mode on Windows to Allow Install Flutter or Unknown Applications…

Enable Developer Mode on Windows to Allow Install Flutter or Unknown Applications…

Tiempo de lectura: < 1 minuto This tutorial serves to solve the error: Building with plugins requires symlink support. Please enable Developer Mode in your system settings. Run start ms-settings:developers to open settings. To activate the developer mode (developer) in Windows, we will do the following: Introducing in the terminal: start ms-settings:developers This will open a configuration panel, we can activate … Read more

Update Flutter Application to Android with SDK 35

Update Flutter Application to Android with SDK 35

Tiempo de lectura: < 1 minuto We will see today how we can update a Flutter app to Android with SDK 35. Edit android/app/build.gradle: android { compileSdkVersion 35 defaultConfig { … minSdkVersion 21 targetSdkVersion 35 } } Verify that you have SDK 35 installed from Android Studio > SDK Manager. After all: flutter clean flutter pub get flutter build apk DevCodeLightdevcodelight.com

Button component using Flutter in the Dart programming language.

Button component using Flutter in the Dart programming language.

Tiempo de lectura: 2 minutos In this post, we will create a customizable button component in Flutter using the ElevatedButton widget. This component will allow us to create buttons with text, icon, and customize various aspects like color, text size, and button width. import ‘package:flutter/material.dart’; import ‘../util/constantes/Colores.dart’; class Boton extends StatelessWidget { final Color? color; // Ahora es opcional y … Read more

Select Dropdown Options Widget or DropdownButton in Dart using Flutter

Select Dropdown Options Widget or DropdownButton in Dart using Flutter

Tiempo de lectura: < 1 minuto Today we are going to create a custom widget called CustomDropdownButton, which is used to display a DropdownButton with selectable options. The widget accepts three parameters: Widget Usage: To use this widget, simply incorporate it into the widget tree and provide the required parameters as shown below Finally, we visualize the result Returns only the … Read more

Add Google Sign In to Flutter

Add Google Sign In to Flutter

Tiempo de lectura: 3 minutos Today we are going to learn how we can implement Google authentication in our Flutter app. Let’s go to Google Cloud Platform (https://cloud.google.com/) and click on Console Now select our project (if we already have it created by Firebase) or create a new one. Now search for: oauth clients Choose External: Fill in the application … Read more