initial rod app
This commit is contained in:
9
lib/utils/util_controller.dart
Normal file
9
lib/utils/util_controller.dart
Normal file
@ -0,0 +1,9 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
|
||||
class UtilController extends GetxController{
|
||||
void changeLanguage(var lang, var cnty){
|
||||
var locale = Locale(lang, cnty);
|
||||
Get.updateLocale(locale);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user