Open AlaaEldeenYsr opened 3 years ago
Which version of flutter_form_builder
are you using?
@danvick I have the following dependencies in pubspec.yaml
and experience the same issues as @AlaaEldeenYsr
flutter_form_builder: ^6.1.0+1
form_builder_phone_field: ^0.3.0
me too. I have the same problem.
aunching lib\main.dart on Android SDK built for x86 in debug mode... flutter/current/.pub-cache/hosted/pub.dartlang.org/form_builder_phone_field-0.3.0/lib/src/form_builder_phone_field.dart:198:43: Error: 'decoration' isn't a function or method and can't be invoked. decoration: state.decoration(), ^^^^... flutter/current/.pub-cache/hosted/pub.dartlang.org/form_builder_phone_field-0.3.0/lib/src/form_builder_phone_field.dart:187:22: Error: The argument type 'void Function(String)?' can't be assigned to the parameter type 'void Function(String?)?' because 'String?' is nullable and 'String' isn't. onChanged: onChanged, ^
flutter_form_builder: ^6.1.0+1 form_builder_phone_field: ^0.3.0