IconText.simple constructor
const
IconText.simple({
- Key? key,
- required String? data,
- required IconData? iData,
- required Color? color,
- required double? size,
- double? textSize,
- bool isV = true,
- bool iconIsLeftOrTop = true,
- num? spacing,
- bool adaptChildrenSize = false,
- double? iconBottom = 4,
- bool isExpanded = false,
- 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);