GetX - Flutter Internationalization (Switch languages) - Part 4

The Flutter Factory
The Flutter Factory
7.8 هزار بار بازدید - 4 سال پیش - This video will show you
This video will show you how easy it is to add multiple language translations to your app. Switching between languages can update your Text widgets automatically using the power of GetX.

Useful list of country codes: https://saimana.com/list-of-country-l...

Follow along with the video using the code here: https://github.com/cheetahcoding/Flut...

00:06 - Intro and Demo
02:14 - Creating the class for the language translations
06:11 - Making the translations available throughout the entire app using GetMaterialApp
07:22 - Creating a dialog to allow user to switch languages
            *10:24 - Fixing a common Renderbox issue with unbounded views
15:00 - Changing the current locale using Get
16:57 - Telling Get which Text Widgets need to be updated when the current locale changes
20:47 - Creating a custom Text widget that listens for the locale change

Part 1 - Observable state managment GetX in Flutter - Part 1 (Observables)
Part 2 - state management with GetBuilder GetX - Part 2 (GetBuilder & Workers)
Part 3 - Route navigation  GetX - Part 3 (Route navigation)

⚡Connect on Facebook: Facebook: flutterfactory

⚡Connect on Twitter: Twitter: flutterfactory

Music by www.bensound.com
4 سال پیش در تاریخ 1399/11/01 منتشر شده است.
7,837 بـار بازدید شده
... بیشتر