File tree Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Original file line number Diff line number Diff line change 1
- import 'package:flutter/material .dart' ;
1
+ import 'package:flutter/widgets .dart' ;
2
2
import 'package:flutter_form_builder/flutter_form_builder.dart' ;
3
3
import 'package:flutter_form_builder/src/extensions/autovalidatemode_extension.dart' ;
4
4
@@ -61,23 +61,6 @@ class FormBuilderField<T> extends FormField<T> {
61
61
this .focusNode,
62
62
});
63
63
64
- const factory FormBuilderField .decoration ({
65
- Key ? key,
66
- void Function (T ? )? onSaved,
67
- T ? initialValue,
68
- AutovalidateMode ? autovalidateMode,
69
- bool enabled,
70
- String ? Function (T ? )? validator,
71
- String ? restorationId,
72
- required Widget Function (FormFieldState <T >) builder,
73
- required String name,
74
- ValueTransformer <T ?>? valueTransformer,
75
- ValueChanged <T ?>? onChanged,
76
- VoidCallback ? onReset,
77
- FocusNode ? focusNode,
78
- InputDecoration decoration,
79
- }) = FormBuilderFieldDecoration ;
80
-
81
64
@override
82
65
FormBuilderFieldState <FormBuilderField <T >, T > createState () =>
83
66
FormBuilderFieldState <FormBuilderField <T >, T >();
You can’t perform that action at this time.
0 commit comments