From 5740788c8197d0ebef523666d6168fc90431c518 Mon Sep 17 00:00:00 2001 From: Alexandru Mariuti Date: Mon, 9 Dec 2024 12:44:53 +0100 Subject: [PATCH] chore: fix lints --- example/lib/pages/time_picker_form_field.dart | 2 -- lib/src/components/input.dart | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/example/lib/pages/time_picker_form_field.dart b/example/lib/pages/time_picker_form_field.dart index d3431d54..1eb7fd6e 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 30230396..fbe5af1e 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,