Loader constructor
const
Loader({})
A widget that displays a loading indicator with a fade transition to a page.
The Loader widget shows a loading indicator (either an icon, image, or
circular progress indicator) and transitions to the provided page with a
fade effect when the value
changes.
The value
and page
parameters are required and must not be null
.
Implementation
const Loader({
super.key,
required this.value,
required this.page,
this.color,
this.milliseconds = 500,
this.curve = Curves.easeInOut,
this.icon,
this.iconSize,
this.imagePath,
this.imageSize = 60,
});