NiceIconMorph constructor

const NiceIconMorph({
  1. Key? key,
  2. required IconData icon1,
  3. required IconData icon2,
  4. bool showSecond = false,
  5. double size = 24,
  6. Color? color,
  7. Duration duration = const Duration(milliseconds: 300),
  8. VoidCallback? onTap,
})

Implementation

const NiceIconMorph({
  super.key,
  required this.icon1,
  required this.icon2,
  this.showSecond = false,
  this.size = 24,
  this.color,
  this.duration = const Duration(milliseconds: 300),
  this.onTap,
});