Initial commit

This commit is contained in:
jahongireshonqulov
2025-10-17 19:42:02 +05:00
commit 9fbdabafb4
1420 changed files with 28021 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:grostore/app_lang.dart';
class Loading{
static BuildContext? _context;
static show(BuildContext context){
Loading._context=context;
showDialog(context: context, builder: (context){
return AlertDialog(content: Container(
child: Row(
children: [
CircularProgressIndicator(),
SizedBox(width: 20,),
Text(AppLang.local(context).please_wait_ucf),
],
),
),);
});
}
static close(){
if(Loading._context!=null){
Navigator.pop(_context!);
}
}
}