Docsv3.31.0
Back to API Reference
Class

EmailFilter

sealed

Filters email-address characters as they are typed: ASCII letters/digits, one @ (not at start),. (not at start, not right after @), and - _ + %. A character filter, not a full RFC 5322 check — pair with a validator for completeness.

public KeyboardType PreferredKeyboardType{ get }
public override bool Allows(in EditProposal proposal)

Whether the proposed edit may be applied, judged on the post-state it produces. Return false to drop it; the editor then discards it without firing TextChanged. Pure deletions never reach this — character filters do not block deleting.