ColabInputAddress constructor
ColabInputAddress({
- Key? key,
- FormFieldValidator<
ColabAddressFieldValue> ? validator, - FormFieldSetter<
ColabAddressFieldValue> ? onSaved, - required BuildContext context,
- required LatLng initialLocation,
- required TextEditingController textInputController,
- required String hintText,
- required String labelText,
- String? helperText,
- InputDecoration? inputDecoration,
- FormFieldSetter<
ColabAddressFieldValue> ? onChanged, - bool searchInput = false,
- required String googleMapsKey,
- Set<
Marker> markers = _markersValue, - bool initFieldEmpty = false,
Implementation
ColabInputAddress({
super.key,
super.validator,
super.onSaved,
required BuildContext context,
required this.initialLocation,
required TextEditingController textInputController,
required String hintText,
required String labelText,
String? helperText,
InputDecoration? inputDecoration,
FormFieldSetter<ColabAddressFieldValue>? onChanged,
bool searchInput = false,
required String googleMapsKey,
this.markers = _markersValue,
bool initFieldEmpty = false,
}) : super(
initialValue: null,
builder:
(state) => _build(
context,
state,
initialLocation,
textInputController,
hintText,
labelText,
inputDecoration,
helperText,
onChanged,
searchInput,
googleMapsKey,
markers,
initFieldEmpty,
),
autovalidateMode: AutovalidateMode.onUserInteraction,
);