NiceMention constructor
- Key? key,
- TextEditingController? controller,
- required Future<
List< onSearch(NiceMentionUser> >- String query
- ValueChanged<
String> ? onChanged, - String? label,
- String placeholder = 'Type @ to mention someone...',
- int maxLines = 3,
- 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 = '@',
});