I just want to create the custom form element using FormPickerDropDownElement. But when I recreate this class in my project package it shows error "Cannot access 'listener': it is internal in 'FormBuildHelper'".
Because that FormBuilderHelper listener is defined as internal modifier. So I can't able to use that listener.
Expected behavior
I should be able to access that FormBuilderHelper's listener variable.
Actual behavior
I can't able to access that FormBuilderHelper's listener variable.
Description
I just want to create the custom form element using FormPickerDropDownElement. But when I recreate this class in my project package it shows error "Cannot access 'listener': it is internal in 'FormBuildHelper'".
Because that FormBuilderHelper listener is defined as internal modifier. So I can't able to use that listener.
Expected behavior
I should be able to access that FormBuilderHelper's listener variable.
Actual behavior
I can't able to access that FormBuilderHelper's listener variable.