From f17c6469cb9cce915b2818d249da099a12e8ff2e Mon Sep 17 00:00:00 2001 From: Caleb Jasik Date: Thu, 13 Feb 2025 11:14:13 -0600 Subject: [PATCH] `dart fix --apply --code=use_function_type_syntax_for_parameters` --- lib/components/IPField.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/components/IPField.dart b/lib/components/IPField.dart index 7db45ff..8eb15c7 100644 --- a/lib/components/IPField.dart +++ b/lib/components/IPField.dart @@ -72,7 +72,7 @@ class IPTextInputFormatter extends TextInputFormatter { TextEditingValue _selectionAwareTextManipulation( TextEditingValue value, - String substringManipulation(String substring), + String Function(String substring) substringManipulation, ) { final int selectionStartIndex = value.selection.start; final int selectionEndIndex = value.selection.end;