Can I add parameters to the default FlutterFlowPlacePicker?

Is there anyway I can change the information from the FlutterFlowPlacePicker to give different information? Now it gives province and countrys as shortcodes (NL, GL) but i need them to be the full text. Also i am missing township in the returned data.

I tried to find the code that creates this widget:

// Generated code for this PlacePicker Widget...
FlutterFlowPlacePicker(
  iOSGoogleMapsApiKey: 'APIKEY',
  androidGoogleMapsApiKey: 'APIKEY',
  webGoogleMapsApiKey: 'APIKEY',
  onSelect: (place) async {
    setState(() => _model.placePickerValue = place);
  },
  defaultText: 'Select Location',
  icon: Icon(
    Icons.place,
    color: FlutterFlowTheme.of(context).info,
    size: 16,
  ),
  buttonOptions: FFButtonOptions(
    width: 200,
    height: 40,
    color: FlutterFlowTheme.of(context).primary,
    textStyle: FlutterFlowTheme.of(context).titleSmall.override(
          fontFamily: FlutterFlowTheme.of(context).titleSmallFamily,
          color: FlutterFlowTheme.of(context).info,
          useGoogleFonts: GoogleFonts.asMap()
              .containsKey(FlutterFlowTheme.of(context).titleSmallFamily),
        ),
    elevation: 2,
    borderSide: BorderSide(
      color: Colors.transparent,
      width: 1,
    ),
    borderRadius: BorderRadius.circular(8),
  ),
)

Is there an option to give parameters to this? or can i find the code of that widget that flutterflow have written so i can create a custom widget from that.

Hope someone already solved this question..

Greetings,

Dylan Jonker

2
5 replies