toFlutter method
Implementation
@override
TextInputType toFlutter(AnyWidgetContext context) {
return map(
datetime: (_) => TextInputType.datetime,
emailAddress: (_) => TextInputType.emailAddress,
multiline: (_) => TextInputType.multiline,
name: (_) => TextInputType.name,
none: (_) => TextInputType.none,
number: (_) => TextInputType.number,
phone: (_) => TextInputType.phone,
streetAddress: (_) => TextInputType.streetAddress,
text: (_) => TextInputType.text,
url: (_) => TextInputType.url,
visiblePassword: (_) => TextInputType.visiblePassword,
);
}