TitleAction constructor

const TitleAction({
  1. Key? key,
  2. TouchTap? onTap,
  3. IconData? iconData,
  4. String? imgUrl,
  5. String? txt,
  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({
  Key? key,
  this.onTap,
  this.iconData,
  this.imgUrl,
  this.txt,
  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);