diff --git a/lib/Controller/Base/Base.dart b/lib/Controller/Base/Base.dart index 385f239..f878347 100644 --- a/lib/Controller/Base/Base.dart +++ b/lib/Controller/Base/Base.dart @@ -24,7 +24,9 @@ class Base { var alert = AlertDialog( content: Row( children: [ - CircularProgressIndicator(), + CircularProgressIndicator( + color: Colors.black, + ), Container( margin: EdgeInsets.fromLTRB(13, 0, 0, 0), child: Text(msg, style: textAlert()), diff --git a/lib/components/card_item.dart b/lib/components/card_item.dart index 4848120..0370528 100644 --- a/lib/components/card_item.dart +++ b/lib/components/card_item.dart @@ -66,7 +66,7 @@ class cardItem extends StatelessWidget { width: 90, child: Center( child: TextoContornado( - texto: dash, tamanho: 32, cor: cor), + texto: dash, tamanho: 28, cor: cor), )), nome != null ? Expanded( diff --git a/lib/dashborad_page.dart b/lib/dashborad_page.dart index b669c72..d441066 100644 --- a/lib/dashborad_page.dart +++ b/lib/dashborad_page.dart @@ -59,7 +59,9 @@ class _HomePageState extends State { builder: (context, AsyncSnapshot snapshot) { if (!snapshot.hasData) { return const Center( - child: CircularProgressIndicator()); + child: CircularProgressIndicator( + color: Colors.black, + )); } if (snapshot.hasError) { diff --git a/lib/home_page.dart b/lib/home_page.dart index 4a01313..140d4c9 100644 --- a/lib/home_page.dart +++ b/lib/home_page.dart @@ -177,7 +177,9 @@ class _HomePageState extends State { builder: (context, AsyncSnapshot snapshot) { if (!snapshot.hasData) { return const Center( - child: CircularProgressIndicator()); + child: CircularProgressIndicator( + color: Colors.black, + )); } if (snapshot.hasError) { @@ -186,7 +188,7 @@ class _HomePageState extends State { ); } - if (snapshot.data.length == 0) { + if (snapshot.data['tarefas'].length == 0) { return const Center( child: Padding( padding: EdgeInsets.only(top: 32.0), diff --git a/lib/listas_page.dart b/lib/listas_page.dart index 0d6702a..5a89ae3 100644 --- a/lib/listas_page.dart +++ b/lib/listas_page.dart @@ -66,7 +66,9 @@ class _HomePageState extends State { builder: (context, AsyncSnapshot snapshot) { if (!snapshot.hasData) { return const Center( - child: CircularProgressIndicator()); + child: CircularProgressIndicator( + color: Colors.black, + )); } if (snapshot.hasError) { diff --git a/lib/projetos_page.dart b/lib/projetos_page.dart index b48e144..f24ea13 100644 --- a/lib/projetos_page.dart +++ b/lib/projetos_page.dart @@ -65,7 +65,9 @@ class _HomePageState extends State { builder: (context, AsyncSnapshot snapshot) { if (!snapshot.hasData) { return const Center( - child: CircularProgressIndicator()); + child: CircularProgressIndicator( + color: Colors.black, + )); } if (snapshot.hasError) {