Closed SonGoku85 closed 1 month ago
You define double? initialValue
but this parameter already exist on FormBuilderFieldDecoration.
Try to use super.initialValue
instead double? initialValue
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.
Is there an existing issue for this?
Package/Plugin version
9.1.1
Platforms
Flutter doctor
Minimal code example
Current Behavior
exception in form_builder_field.dart:
type 'String' is not a subtype of type 'double?' in type cast
Expected Behavior
I wrote my own field which gives me a double. That all works too. However, if I don't set "initialValue" (=null), I get the following exception in form_builder_field.dart:
type 'String' is not a subtype of type 'double?' in type cast
This is the line:
Steps To Reproduce
Use the small snippet of my code.
Aditional information
No response