Show only circular indicator
huiwen0212 opened this issue · comments
huiwen0212 commented
Hi, is it possible to just the loading indicator without the message and center it?
Mohammad Fayaz commented
check the child
property
huiwen0212 commented
What do I need to do in the child property to remove the Text widget and also center the circularIndicator? Sorry I am new to flutter
Mohammad Fayaz commented
Yeah, that's okay
pr = ProgressDialog(
context,
type: ProgressDialogType.Normal,
isDismissible: true,
/// your body here
customBody: CircularProgressIndicator(
valueColor: AlwaysStoppedAnimation<Color>(Colors.blueAccent),
backgroundColor: Colors.white,
),
);