Skip to content

Commit

Permalink
chore: fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
nank1ro committed Dec 9, 2024
1 parent f2b8051 commit 5740788
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions example/lib/pages/time_picker_form_field.dart
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
3 changes: 2 additions & 1 deletion lib/src/components/input.dart
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,8 @@ class ShadInputState extends State<ShadInput>

final effectiveMaxLengthEnforcement = widget.maxLengthEnforcement ??
LengthLimitingTextInputFormatter.getDefaultMaxLengthEnforcement(
Theme.of(context).platform);
Theme.of(context).platform,
);

final effectiveInputFormatters = <TextInputFormatter>[
...?widget.inputFormatters,
Expand Down

0 comments on commit 5740788

Please sign in to comment.