Improved clients loading and error screen

This commit is contained in:
Juan Gilsanz Polo 2022-10-06 00:26:17 +02:00
parent e88817d800
commit 7944f6f18a

View file

@ -93,14 +93,9 @@ class _ClientsWidgetState extends State<ClientsWidget> with TickerProviderStateM
return Column( return Column(
mainAxisSize: MainAxisSize.max, mainAxisSize: MainAxisSize.max,
children: [ children: [
Container( AppBar(
padding: const EdgeInsets.all(30), title: Text(AppLocalizations.of(context)!.clients),
child: Text( centerTitle: true,
AppLocalizations.of(context)!.clients,
style: const TextStyle(
fontSize: 22
),
),
), ),
SizedBox( SizedBox(
width: double.maxFinite, width: double.maxFinite,
@ -202,14 +197,9 @@ class _ClientsWidgetState extends State<ClientsWidget> with TickerProviderStateM
case 2: case 2:
return Column( return Column(
children: [ children: [
Container( AppBar(
padding: const EdgeInsets.all(30), title: Text(AppLocalizations.of(context)!.clients),
child: Text( centerTitle: true,
AppLocalizations.of(context)!.clients,
style: const TextStyle(
fontSize: 24
),
),
), ),
SizedBox( SizedBox(
width: double.maxFinite, width: double.maxFinite,