TargetModel constructor

TargetModel({
  1. required String text,
  2. List<MatchOption> matchOptions = const [],
  3. required TextStyle style,
  4. void onTap()?,
})

Implementation

TargetModel({
  required this.text,
  this.matchOptions = const [],
  required this.style,
  this.onTap,
});