MyIconButton constructor

const MyIconButton({
  1. bool isLoading = false,
  2. double size = 35,
  3. Color color = Colors.blue,
  4. void onPress()?,
  5. required IconData icon,
  6. Widget? loadingChild,
  7. EdgeInsetsGeometry? padding,
  8. 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,
});