You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone,
is it possible to format for hh:mm where de max value is 23:59
I've tried THIS final timeMaskFormatter = MaskTextInputFormatter( mask: 'hH:mM', filter: { 'h': RegExp(r'^[0-2]$'), 'H': RegExp(r'^[0-9]$'), 'm': RegExp(r'^[0-5]$'), 'M': RegExp(r'^0?[0-9]$') }, );
not sure how to manage this,
Thanks in advance
The text was updated successfully, but these errors were encountered:
Hi everyone,
is it possible to format for hh:mm where de max value is 23:59
I've tried THIS
final timeMaskFormatter = MaskTextInputFormatter( mask: 'hH:mM', filter: { 'h': RegExp(r'^[0-2]$'), 'H': RegExp(r'^[0-9]$'), 'm': RegExp(r'^[0-5]$'), 'M': RegExp(r'^0?[0-9]$') }, );
not sure how to manage this,
Thanks in advance
The text was updated successfully, but these errors were encountered: