import 'package:flutter/material.dart'; import '../utils/color_palette.dart'; import '../utils/const_variable.dart'; import '../widgets/button_default.dart'; import '../widgets/text_default.dart'; class ImportSigtapScreen extends StatefulWidget { const ImportSigtapScreen({Key? key}) : super(key: key); @override State createState() => _ImportSigtapScreenState(); } class _ImportSigtapScreenState extends State { @override Widget build(BuildContext context) { double width = MediaQuery.of(context).size.width; return Scaffold( bottomSheet: Container( color: ColorPalette.appBar, width: double.infinity, padding: EdgeInsets.all(15), child: TextDefault( text: 'Etapa 1 de 4 - Teste', color: ColorPalette.white, fontSize: 20, fontWeigth: FontWeight.bold, ), ), body: Container( padding: EdgeInsets.only(top: 100), decoration: ConstVariable().backgroundGradient, width: double.infinity, height: double.infinity, child: Column( children: [ Image.asset('assets/images/logo.PNG',width: width*0.5,), Padding( padding: const EdgeInsets.symmetric(vertical: 10.0), child: TextDefault( text: 'HOMOLOGAÇÃO', color: ColorPalette.red, fontSize: 30, fontWeigth: FontWeight.bold, ), ), Padding( padding: const EdgeInsets.symmetric(vertical: 50.0), child: CircularProgressIndicator(), ), Padding( padding: const EdgeInsets.symmetric(vertical: 5.0,horizontal: 5), child: TextDefault( text: 'Aguarde enquanto a Importação SIGTAP é realizada.\n\n' 'Esse processo pode levar vários minutos dependendo da sua conexão!', maxLines: 5, textAlign: TextAlign.center, color: ColorPalette.black54, fontSize: 18, fontWeigth: FontWeight.bold, ), ), ], ), ), ); } }