nameFormatter top-level property
Implementation
final FilteringTextInputFormatter nameFormatter =
FilteringTextInputFormatter.allow(RegExp(r"^[\p{L} '-]*", unicode: true));
final FilteringTextInputFormatter nameFormatter =
FilteringTextInputFormatter.allow(RegExp(r"^[\p{L} '-]*", unicode: true));