address_search_field 5.0.3
address_search_field: ^5.0.3 copied to clipboard
An address search field which helps to autocomplete an address by a reference. It can be used to get Directions beetwen two points.
5.0.3 #
- Fix null check operator in setLocation method.
5.0.2 #
- Add style options for icon and text colors.
- Update dependencies.
4.0.0 #
- Fix null safety migration.
3.1.0-nullsafety.0 #
AddressSearchDialogwidget is private now.google_maps_flutterandhttpplugins implementation updated.- Migrate to null safety.
- Documentation updated.
3.0.10 #
countryparameter is not longer required inGeoMethods.countryCodeparameter is not longer required inGeoMethods.- New parameter
countryCodesadded inGeoMethodsto autocomplete an address filtering up to 5 countries. - New method
copyWithadded inGeoMethodsto use a modified copy from an object of this type. countryCodeparameter is required in theGeoMethodsobject to rungetDirectionsmethod.
3.0.9 #
cityparameter is not longer required inGeoMethods.
3.0.8 #
- New
typedefs for functions. - All tests passed.
3.0.7 #
- New extensions to convert
List<Address>toList<Coords>andList<Address>toList<Coords>.
RouteSearchBox
relocatefunction has a new param calledchangeReferenceto updateCoordsin an internalAddressnow.
Address
- Internal params are public and final now.
updatefunction becomes incopyWithand it gives back anAddress.
WaypointsManager
updatefunction added.
3.0.6 #
- Extensions for
LatLngandLatLngBoundsto convert them intoCoordsandBoundsaddded.
3.0.5 #
- New
AddressLocatorwidget to set an initial address reference in aTextEditingController. originIsMyLocationparam removed inRouteSearchBox.
3.0.4 #
- New
AddressIdenum to identify address which will be updated by `r
WaypointsManager
onDeletefunction becomes inremoveclearfunction added.
GeoMethods
- Error prevented in
getDirectionsfunction.
RouteSearchBox
relocatefunction permits to change origin and destinationAddressusing anAddressIdandCoordsnow.
3.0.3+1 #
RouteErrorenum created to identify errors easly.relocatefunction added toRouteSearchBoxbuilder to reload origin address.
3.0.2 #
- fix issue in
AddressSearchBuilder.deftconstructor.
3.0.1 #
- Function in WaypointsManager added to remove elements in the list of waypoints.
2.1.0+1 #
- Documentation improved.
- Better implementation of dart extensions in example.
2.1.0 #
AddressSearchFieldis calledAddressFieldnow.AddressSearchDialogis calledAddressDialognow.AddressFieldCtoris calledAddressFieldBuildernow.AddressDialogCtoris calledAddressDialogBuildernow.RouteSearchBoxdoesn't have twoTextEditingController.AddressFieldis converted fromTextFieldto aTextFormField.AddressFieldcan use all theTextFormFieldparameters.- FlutterToast looks better in web.
2.0.1 #
- Error handling for
GeoMethodsadded. durationanddistancevalues inDirectionsclass casted.updateCoordsfunction inAddressclass removed.- FlutterToast implemented to show info messages.
- Implement of flutter web support in progress.
1.4.2 #
- Add explicit dialog context like a parameter in the onDone function.
1.4.1 #
- Fix possible bug from useless conditional.
1.4.0 #
- Remake of AddressSearchTextField Plugin due to the update of Flutter 1.17 and Dart 2.8
LocationServiceclass is now an async static function calledinitLocationService- Updated the README.md for a better explanation of plugin.
1.3.5+1 #
- discontinued.
1.3.5 #
- The onCleaned function parameter added in AddressSearchTextField and AddressSearchBox.
1.3.4 #
- Limiter sufix icon in AddressSearchBox to search for an address removed.
- The search for an address is optimized.
- New city, hintText and noResultsText parameters added in AddressSearchTextField and AddressSearchBox.
1.3.3+2 #
- A bug when the user selects their reference in AddressSearchBox widget fixed.
1.3.3 #
- A barrierDismissible parameter added in AddressSearchTextField.
- The onEditingComplete and onChanged internal functions in AddressSearchBox adapted to new functionalities.
- The onDone function is no longer required.
1.3.2 #
- sufix icon in AddressSearchBox modified to can limit addresses requests.
1.3.1 #
- Limiter to search for an address removed.
1.3.0+1 #
- Static method widget removed from AddressSearchTextField, it's a stateless widget now.
- AddressSearchTextField widget doesn't need context parameter.
1.2.2 #
- AddressPoint returns valid latitude and longitude values when found is false.
- UI issues in AddressSearchBox fixed.
1.2.1 #
- Dependency in example app fixed.
- coordForRef boolean added, if AddressSearchBox finds coordinates by a written reference but not nearby places and the user selects the reference, then those coordinates can be used.
1.2.0 #
- Parameter for the controller added to AddressSearchTextField
- Private _AddressSearch widget is now public and is named AddressSearchBox, it can be used independently.
- onDone function in AddressSearchBox can now be asynchronous and have a CircularProgressIndicator while it's running.
- onDone function now doesn't pop the widget, you have to add the code to close it.
- AddressPoint object has a new method to find an address from passed latitude and longitude values.
1.1.0 #
- Optimized
- Class name changed to AddressSearchTextField
- country parameter added to AddressPoint object
- AddressPoint object only has getters for its values
1.0.0 #
- Static functions issue fixed.
- result getter function removed.
- Callback with result added.
- parameter for TextStyle added.
0.1.0+1 #
- values is named result now.
- Update documentation.
0.0.1 #
- First release.