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