IconWidget constructor

IconWidget({
  1. Key? key,
  2. bool withPadding = true,
  3. required String data,
  4. double width = 12,
  5. double height = 12,
  6. Color? color,
  7. Function? onClick,
})

Implementation

IconWidget({
  Key? key,
  this.withPadding = true,
  required this.data,
  this.width = 12,
  this.height = 12,
  this.color,
  this.onClick,
});