LoaderIndicator static method
Implementation
static LoaderIndicator(bool isLoading) {
return isLoading
? Center(
child: SizedBox(
child: CircularProgressIndicator(strokeWidth: 8),
height: 150.0,
width: 150.0,
),
)
: SizedBox(width: 3, height: 3);
}