NiceMention constructor

const NiceMention({
  1. Key? key,
  2. TextEditingController? controller,
  3. required Future<List<NiceMentionUser>> onSearch(
    1. String query
    ),
  4. ValueChanged<String>? onChanged,
  5. String? label,
  6. String placeholder = 'Type @ to mention someone...',
  7. int maxLines = 3,
  8. String triggerCharacter = '@',
})

Implementation

const NiceMention({
  super.key,
  this.controller,
  required this.onSearch,
  this.onChanged,
  this.label,
  this.placeholder = 'Type @ to mention someone...',
  this.maxLines = 3,
  this.triggerCharacter = '@',
});