NiceLoadingIcon constructor

const NiceLoadingIcon({
  1. Key? key,
  2. required IconData icon,
  3. bool isLoading = false,
  4. double size = 24,
  5. Color? color,
  6. Color? loadingColor,
  7. VoidCallback? onTap,
})

Implementation

const NiceLoadingIcon({
  super.key,
  required this.icon,
  this.isLoading = false,
  this.size = 24,
  this.color,
  this.loadingColor,
  this.onTap,
});