flutter

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,
    ),
)
Was this helpful?