Skip to content

Commit b7abef5

Browse files
committed
Fixed example and deprecated form_build_typeahead parameter
1 parent 1de582d commit b7abef5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

example/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class MyHomePageState extends State<MyHomePage> {
5959
FormBuilderSearchableDropdown<String>(
6060
name: 'searchable_dropdown_online',
6161
onChanged: _onChanged,
62-
asyncItems: (filter) async {
62+
asyncItems: (filter, _) async {
6363
await Future.delayed(const Duration(seconds: 1));
6464
return allCountries
6565
.where((element) => element

lib/src/fields/form_builder_typeahead.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ extension TextFiledCopy on TextField {
287287
onAppPrivateCommand: onAppPrivateCommand,
288288
onTapAlwaysCalled: onTapAlwaysCalled,
289289
onTapOutside: onTapOutside,
290-
scribbleEnabled: scribbleEnabled,
290+
stylusHandwritingEnabled: stylusHandwritingEnabled,
291291
spellCheckConfiguration: spellCheckConfiguration,
292292
statesController: statesController,
293293
strutStyle: strutStyle,

0 commit comments

Comments
 (0)