Tutorials

Tutorials for beginner to advanced level

Floating action button (FAB) in flutter | Common problems and solution | SCODE

Floating Action Button (FAB) in Flutter can be implemented using the “floatingActionButton” property of the Scaffold widget. The basic usage of FAB in Flutter is as follows: Scaffold( floatingActionButton: FloatingActionButton( onPressed: () { /* Add your code here */ }, child: Icon(Icons.add), ), ); Some common problems and solutions with using FAB in Flutter are:…

Setting up a Flutter Development Environment: A Step-by-Step Guide | SCODE

Setting up a Flutter Development Environment: A Step-by-Step Guide Flutter is a popular open-source mobile app development framework created by Google. It allows developers to build high-quality, cross-platform mobile apps with a single codebase. In this article, we’ll walk you through the process of setting up a Flutter development environment on your computer. Step 1:…

MissingPluginException: No implementation found | how to fix it | SCODE

  One of the most frustrating errors you may encounter while developing a Flutter app is the “MissingPluginException” error. This error occurs when a plugin that you are using in your app is not properly configured or is not included in the project. in this post, we’ll take a look at the causes of the…

How to convert data from uploaded csv to list of model and store it in Firebase Firestore using Flutter Riverpod

  Step1: Create Model class like emplyeeModel.dart import ‘dart:convert’; List<Employee> employeeFromJson(String str) =>     List<Employee>.from(json.decode(str).map((x) => Employee.fromJson(x))); String employeeToJson(List<Employee> data) =>     json.encode(List<dynamic>.from(data.map((x) => x.toJson()))); class Employee {   Employee({     this.employeeName,     this.employeeNumber,   });   final String? employeeName;   final String? employeeNumber;   factory Employee.fromJson(Map<String, dynamic> json) => Employee(…

Flutter State Management 2022 | What is State management? Different types of state management | Solution Codes

What is State Management? State Management is a powerful topic when you are building a mobile app or a web application. It relates to the control of the state of more than one UI control. UI controls can be text fields, radio buttons, dropdowns, toggles, form, checkboxes, and many more. A web-site / application consists…

Easy Steps to download Android SDK Manager using Command line in Windows 7 / 8 / 10 / 11 without Android Studio

Easy Steps to Download Android SDK Manager How To Download Android SDK using Command line and without Android Studio? NOTE: first of all you have to check the Java version. it should be Java version 8, if not, then first you have to install Java version 8. Step 1: you have to download the Command…

Flutter tutorials for beginners: ListView, ListView.builder() and GridView | Better4Code

  Flutter tutorials about Lists in Flutter In Web or Mobile Application development, Lists are the most usable feature, or we can say the most usable widget. Lists are created using rows of items, which may include buttons, text, icons, toggles, dropdowns, and many more. In this blog, we will learn the use of Lists…

Stateless widget and stateful widget | Flutter tutorial for beginners step by step | SCODE

what is a Stateless widget? A StatefulWidget tracks its own internal state. A StatelessWidget doesn’t have any internal state that changes during the lifetime of the widget.It doesn’t care about its configuration or what data it’s displaying. It might be passed configuration from its parent, or the configuration might be defined within the widget, but…

Flutter vs React Native which is easy and best to learn | SCODE – Solution Codes

What is Flutter? Flutter is Google’s response to the cross-platform development problem discussed above. Google has been churning resources into Flutter’s development for quite a few years, before releasing it to the public in 2017, during their Shanghai Keynote. Flutter can be used to create mobile applications for iOS and Android, quickly and efficiently. The…

How To Install Flutter without Android Studio? | Flutter Tutorials

Flutter Installation: Prerequisites: Android SDK Flutter SDK Visual Studio Code BlueStack (for Emulator) Getting Started: Download and Install Visual Studio Code in your System, and also download the related plugins in Visual Studio Code. Require Plugins install for Flutter in vs code: Awesome Flutter Snippets Dart Flutter   Download the following installation bundle to get the…