FormEntry<T> constructor
Creates a form entry with a typed key.
The key parameter must be a FormKey<T> to ensure type safety.
Implementation
const FormEntry(
{required FormKey<T> super.key, required this.child, this.validator});