MyIconButton constructor
const
MyIconButton({
- bool isLoading = false,
- double size = 35,
- Color color = Colors.blue,
- void onPress()?,
- required IconData icon,
- Widget? loadingChild,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
Implementation
const MyIconButton({
this.isLoading = false,
this.size = 35,
this.color= Colors.blue,
this.onPress,
required this.icon,
this.loadingChild,
this.padding,
this.margin,
});