TapItem constructor

const TapItem({
  1. Key? key,
  2. required String title,
  3. required Function onTap,
  4. String content = "",
  5. String tipText = "",
  6. String hintText = "",
  7. int maxLine = 1,
  8. bool isRequired = false,
  9. bool showTips = false,
})

Implementation

const TapItem({
  Key? key,
  required this.title,
  required this.onTap,
  this.content = "",
  this.tipText = "",
  this.hintText = "",
  this.maxLine = 1,
  this.isRequired = false,
  this.showTips = false,
}) : super(key: key);