Перейти к содержимому

GetX - Flutter Internationalization (Switch languages) - Part 4

The Flutter Factory

0:00 / 0:00

GetX - Flutter Internationalization (Switch languages) - Part 4

8 099 просмотров · 5 лет назад
The Flutter Factory
13,5 тыс. подписчиков
8 099 просмотров · 5 лет назад
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:   / flutterfactory   ⚡Connect on Twitter:   / flutterfactory   Music by www.bensound.com