// import 'package:flutter/cupertino.dart'; // import 'package:flutter/foundation.dart'; // import 'package:flutter/material.dart'; // import 'package:flutter/rendering.dart'; // import 'package:tangheem/classes/colors.dart'; // // class LoadingDialog extends StatefulWidget { // LoadingDialog({Key key}) : super(key: key); // // @override // _LoadingDialogState createState() { // return _LoadingDialogState(); // } // } // // class _LoadingDialogState extends State { // @override // void initState() { // super.initState(); // } // // @override // void dispose() { // super.dispose(); // } // // @override // Widget build(BuildContext context) { // return Dialog( // insetPadding: EdgeInsets.symmetric(horizontal: 60.0, vertical: 24.0), // shape: RoundedRectangleBorder( // borderRadius: BorderRadius.circular(16), // ), // elevation: 0, // backgroundColor: Colors.transparent, // child: Directionality( // textDirection: TextDirection.rtl, // child: Center( // child: Container( // decoration: BoxDecoration( // color: Colors.white, // borderRadius: BorderRadius.circular(16), // ), // padding: EdgeInsets.symmetric(vertical: 12, horizontal: 12), // child: SizedBox( // height: 32, // width: 32, // child: CircularProgressIndicator( // strokeWidth: 2, // valueColor: AlwaysStoppedAnimation(ColorConsts.textGrey), // ), // ), // ), // ), // ), // ); // } // }