circularProgress method
Implementation
Widget circularProgress(BuildContext context) {
return Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Padding(
padding: const EdgeInsets.all(8.0),
child: Text("Circular Progress"),
),
SizedBox(
child: Center(
child: CircularProgressIndicator(),
),
height: 20.0,
width: 20.0,
),
],
);
}