File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -187,9 +187,9 @@ class _FormBuilderCupertinoDateTimePickerState extends FormBuilderFieldState<
187
187
super .initState ();
188
188
_textFieldController = widget.controller ?? TextEditingController ();
189
189
_dateFormat = widget.format ?? _getDefaultDateTimeFormat ();
190
- final _initialValue = initialValue;
190
+ final initialVal = initialValue;
191
191
_textFieldController.text =
192
- _initialValue == null ? '' : _dateFormat.format (_initialValue );
192
+ initialVal == null ? '' : _dateFormat.format (initialVal );
193
193
effectiveFocusNode.addListener (_handleFocus);
194
194
}
195
195
Original file line number Diff line number Diff line change @@ -138,8 +138,8 @@ class _FormBuilderSignaturePadState
138
138
_controller = widget.controller ?? SignatureController ();
139
139
_controller.addListener (() async {
140
140
requestFocus ();
141
- final _value = await _getControllerValue ();
142
- didChange (_value );
141
+ final val = await _getControllerValue ();
142
+ didChange (val );
143
143
});
144
144
SchedulerBinding .instance.addPostFrameCallback ((Duration duration) async {
145
145
// Get initialValue or if points are set, use the points
You can’t perform that action at this time.
0 commit comments