IconTextPair constructor

const IconTextPair({
  1. Key? key,
  2. required IconData icon,
  3. required String text,
  4. double? iconSize,
  5. Color? iconColor,
  6. TextStyle? textStyle,
  7. double spacing = 4.0,
  8. bool iconOnRight = false,
})

Implementation

const IconTextPair({
  Key? key,
  required this.icon,
  required this.text,
  this.iconSize,
  this.iconColor,
  this.textStyle,
  this.spacing = 4.0,
  this.iconOnRight = false,
}) : super(key: key);