RefreshButton constructor
const
RefreshButton({
- Key? key,
- required Widget text,
- void onClicked()?,
- Widget? icon,
- MainAxisAlignment mainAxisAlignment = MainAxisAlignment.center,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
- MainAxisSize mainAxisSize = MainAxisSize.max,
- VerticalDirection verticalDirection = VerticalDirection.down,
- double spacing = 3,
Implementation
const RefreshButton({
super.key,
required this.text,
this.onClicked,
this.icon,
this.mainAxisAlignment = MainAxisAlignment.center,
this.crossAxisAlignment = CrossAxisAlignment.center,
this.mainAxisSize = MainAxisSize.max,
this.verticalDirection = VerticalDirection.down,
this.spacing = 3,
});