TitleAction.all constructor

const TitleAction.all({
  1. Key? key,
  2. required TouchTap? onTap,
  3. required IconData? iconData,
  4. required String? txt,
  5. String? imgUrl,
  6. Color? color,
  7. Widget? child,
  8. TextStyle? textStyle,
  9. double? txtSize,
  10. double? iconSize,
  11. num? iconPadding,
  12. num? leftRSize,
  13. num? topAndBottomSize,
})

Implementation

const TitleAction.all({
  Key? key,
  required this.onTap,
  required this.iconData,
  required this.txt,
  this.imgUrl,
  this.color,
  this.child,
  this.textStyle,
  this.txtSize,
  this.iconSize,
  this.iconPadding,
  this.leftRSize,
  this.topAndBottomSize,
})  : assert(iconData == null || imgUrl == null),
      this.negative = null,
      super(key: key);