Search code snippets, questions, articles...

Add loader in Flutter mobile app

You can use the CircularProgressIndicator widget of flutter to add a loader in the Flutter app.
Center(
    child: CircularProgressIndicator(
        backgroundColor: Color(Colors.blue),
        valueColor: AlwaysStoppedAnimation(Colors.white),
        strokeWidth: 4,
    ),
)
Best JSON Validator, JSON Tree Viewer, JSON Beautifier at same place. Check how cool is the tool
Was this helpful?
0 Comments