Skip to content

Commit

Permalink
progress
Browse files Browse the repository at this point in the history
  • Loading branch information
wjrcode committed Oct 18, 2022
1 parent c59243b commit 881f821
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 7 deletions.
4 changes: 3 additions & 1 deletion lib/Controller/Base/Base.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
Expand Down
2 changes: 1 addition & 1 deletion lib/components/card_item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
4 changes: 3 additions & 1 deletion lib/dashborad_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ class _HomePageState extends State<DashboardPage> {
builder: (context, AsyncSnapshot snapshot) {
if (!snapshot.hasData) {
return const Center(
child: CircularProgressIndicator());
child: CircularProgressIndicator(
color: Colors.black,
));
}

if (snapshot.hasError) {
Expand Down
6 changes: 4 additions & 2 deletions lib/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ class _HomePageState extends State<HomePage> {
builder: (context, AsyncSnapshot snapshot) {
if (!snapshot.hasData) {
return const Center(
child: CircularProgressIndicator());
child: CircularProgressIndicator(
color: Colors.black,
));
}

if (snapshot.hasError) {
Expand All @@ -186,7 +188,7 @@ class _HomePageState extends State<HomePage> {
);
}

if (snapshot.data.length == 0) {
if (snapshot.data['tarefas'].length == 0) {
return const Center(
child: Padding(
padding: EdgeInsets.only(top: 32.0),
Expand Down
4 changes: 3 additions & 1 deletion lib/listas_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ class _HomePageState extends State<ListasPage> {
builder: (context, AsyncSnapshot snapshot) {
if (!snapshot.hasData) {
return const Center(
child: CircularProgressIndicator());
child: CircularProgressIndicator(
color: Colors.black,
));
}

if (snapshot.hasError) {
Expand Down
4 changes: 3 additions & 1 deletion lib/projetos_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ class _HomePageState extends State<ProjetosPage> {
builder: (context, AsyncSnapshot snapshot) {
if (!snapshot.hasData) {
return const Center(
child: CircularProgressIndicator());
child: CircularProgressIndicator(
color: Colors.black,
));
}

if (snapshot.hasError) {
Expand Down

0 comments on commit 881f821

Please sign in to comment.