diff --git a/example/lib/pages/time_picker_form_field.dart b/example/lib/pages/time_picker_form_field.dart index d3431d5..1eb7fd6 100644 --- a/example/lib/pages/time_picker_form_field.dart +++ b/example/lib/pages/time_picker_form_field.dart @@ -1,7 +1,5 @@ // ignore_for_file: avoid_print -import 'dart:convert'; - import 'package:example/common/base_scaffold.dart'; import 'package:example/common/properties/bool_property.dart'; import 'package:example/common/properties/enum_property.dart'; diff --git a/lib/src/components/input.dart b/lib/src/components/input.dart index 3023039..fbe5af1 100644 --- a/lib/src/components/input.dart +++ b/lib/src/components/input.dart @@ -410,7 +410,8 @@ class ShadInputState extends State final effectiveMaxLengthEnforcement = widget.maxLengthEnforcement ?? LengthLimitingTextInputFormatter.getDefaultMaxLengthEnforcement( - Theme.of(context).platform); + Theme.of(context).platform, + ); final effectiveInputFormatters = [ ...?widget.inputFormatters,