Home > OS >  How to get CircularProgress indicator for android and Ios (flutter)?
How to get CircularProgress indicator for android and Ios (flutter)?

Time:11-30

How to get CircularProgress Indicator for IOS and android in single code?

i'm using this normal indicator :smile:

CircularProgressIndicator(size:12)

CodePudding user response:

CircularProgressIndicator.adaptive(
                        backgroundColor: Colors.red,
                      ),
This will work

CodePudding user response:

In single line code you can access for both IOS & android it's totally responsive

 CircularProgressIndicator.adaptive(
                            backgroundColor: Colors.red,
                          ),

enter image description here

CodePudding user response:

 CircularProgressIndicator.adaptive(
                        backgroundColor: Colors.red,
  • Related