Fading Coder

One Final Commit for the Last Sprint

Internationalization in Flutter

Internationalization in Flutter
Overview Today, we'll explore how to implement internationalization in a Flutter application using the simplest and fastest methods. We'll start from a basic Flutter project and walk through the steps to add multi-language support. Method 1: Using GetX (Recommended) Create a new Flutter project and...

Flutter Development: A Comprehensive Introduction

Flutter Overview Flutter is an open-source UI framework created by Google for building natively compiled applications for mobile, web, and desktop from a single codebase. It uses the Dart language and provides a rich set of pre-designed widgets. Flutter's own rendering engine draws every pixel on th...

Building a TabView with Flutter GetX

There is a Get version of SingleTickerProviderMixin that implements the TickerProvider intreface (using the same Ticker class from the Flutter SDK). It has a nice name: GetSingleTickerProviderStateMixin. (Updated on December 21, 2020: SingleGetTickerProviderMixin is deprecated in the latest GetX. Th...

Implementing JPush Push Notifications for Google Play Version in Flutter

Basic JPush Integration Add the depandency in pubspec.yaml: dependencies: jpush_flutter: ^2.4.2 Create a JPush utility class: class PushNotificationManager { static initialize() { JPush().addEventHandler( onReceiveNotification: (Map message) async { print('Notification received: $message'); }, onOpe...

Versatile HTTP Requests with Dio in Flutter

Dio is a popular HTTP client library for Flutter, offering a versatile core method request() that handles all standard HTTP operations like GET, POST, PUT, and DELETE. This method serves as a unified entry point, eliminating the need to switch between separate method-specific functions for different...

Implementing GPS Location Services in Flutter Applications

Modern smartphones, including both iOS and Android devices, are equipped with sophisticated location capabilities. These capabilities utilize signals from satellites and ground-based cellular towers to determine a device's position with varying degrees of accuracy. The operating system exposes APIs...

Controlling Touch Handling in Flutter with AbsorbPointer and IgnorePointer

AbsorbPointer and IgnorePointer both prevent widgets in their subtree from reacting to pointer input (tap, drag, scroll). The difference lies in how they partiicpate in hit testing: AbsorbPointer: removes its descendants from hit testing but is itself still hit. Encestors can receive the event; widg...