IconText constructor

const IconText({
  1. Key? key,
  2. required Widget? icon,
  3. required Widget? text,
  4. bool isV = true,
  5. bool iconIsLeftOrTop = true,
  6. num? spacing,
  7. bool adaptChildrenSize = false,
  8. double? iconBottom,
  9. bool isExpanded = false,
  10. CrossAxisAlignment? crossAxisAlignment,
})

Implementation

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