IconText.simple constructor

const IconText.simple({
  1. Key? key,
  2. required String? data,
  3. required IconData? iData,
  4. required Color? color,
  5. required double? size,
  6. double? textSize,
  7. bool isV = true,
  8. bool iconIsLeftOrTop = true,
  9. num? spacing,
  10. bool adaptChildrenSize = false,
  11. double? iconBottom = 4,
  12. bool isExpanded = false,
  13. CrossAxisAlignment? crossAxisAlignment,
})

Implementation

const IconText.simple({
  Key? key,
  required this.data,
  required this.iData,
  required this.color,
  required this.size,
  this.textSize,
  this.isV = true,
  this.iconIsLeftOrTop = true,
  this.spacing,
  this.adaptChildrenSize = false,
  this.iconBottom = 4,
  this.isExpanded = false,
  this.crossAxisAlignment,
})  : this.text = null,
      this.icon = null,
      super(key: key);