- Fix null check operator in setLocation method.
- Add style options for icon and text colors.
- Update dependencies.
- Fix null safety migration.
AddressSearchDialog
widget is private now.google_maps_flutter
andhttp
plugins implementation updated.- Migrate to null safety.
- Documentation updated.
country
parameter is not longer required inGeoMethods
.countryCode
parameter is not longer required inGeoMethods
.- New parameter
countryCodes
added inGeoMethods
to autocomplete an address filtering up to 5 countries. - New method
copyWith
added inGeoMethods
to use a modified copy from an object of this type. countryCode
parameter is required in theGeoMethods
object to rungetDirections
method.
city
parameter is not longer required inGeoMethods
.
- New
typedef
s for functions. - All tests passed.
- New extensions to convert
List<Address>
toList<Coords>
andList<Address>
toList<Coords>
.
relocate
function has a new param calledchangeReference
to updateCoords
in an internalAddress
now.
- Internal params are public and final now.
update
function becomes incopyWith
and it gives back anAddress
.
update
function added.
- Extensions for
LatLng
andLatLngBounds
to convert them intoCoords
andBounds
addded.
- New
AddressLocator
widget to set an initial address reference in aTextEditingController
. originIsMyLocation
param removed inRouteSearchBox
.
- New
AddressId
enum to identify address which will be updated by `r
onDelete
function becomes inremove
clear
function added.
- Error prevented in
getDirections
function.
relocate
function permits to change origin and destinationAddress
using anAddressId
andCoords
now.
RouteError
enum created to identify errors easly.relocate
function added toRouteSearchBox
builder to reload origin address.
- fix issue in
AddressSearchBuilder.deft
constructor.
- Function in WaypointsManager added to remove elements in the list of waypoints.
- Documentation improved.
- Better implementation of dart extensions in example.
AddressSearchField
is calledAddressField
now.AddressSearchDialog
is calledAddressDialog
now.AddressFieldCtor
is calledAddressFieldBuilder
now.AddressDialogCtor
is calledAddressDialogBuilder
now.RouteSearchBox
doesn't have twoTextEditingController
.AddressField
is converted fromTextField
to aTextFormField
.AddressField
can use all theTextFormField
parameters.- FlutterToast looks better in web.
- Error handling for
GeoMethods
added. duration
anddistance
values inDirections
class casted.updateCoords
function inAddress
class removed.- FlutterToast implemented to show info messages.
- Implement of flutter web support in progress.
- Everything is new, excepting the plugin context. See README.
- Add explicit dialog context like a parameter in the onDone function.
- Fix possible bug from useless conditional.
- Remake of AddressSearchTextField Plugin due to the update of Flutter 1.17 and Dart 2.8
LocationService
class is now an async static function calledinitLocationService
- Updated the README.md for a better explanation of plugin.
- discontinued.
- The onCleaned function parameter added in AddressSearchTextField and AddressSearchBox.
- 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.
- A bug when the user selects their reference in AddressSearchBox widget fixed.
- 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.
- sufix icon in AddressSearchBox modified to can limit addresses requests.
- Limiter to search for an address removed.
- Static method widget removed from AddressSearchTextField, it's a stateless widget now.
- AddressSearchTextField widget doesn't need context parameter.
- AddressPoint returns valid latitude and longitude values when found is false.
- UI issues in AddressSearchBox fixed.
- 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.
- 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.
- Optimized
- Class name changed to AddressSearchTextField
- country parameter added to AddressPoint object
- AddressPoint object only has getters for its values
- Static functions issue fixed.
- result getter function removed.
- Callback with result added.
- parameter for TextStyle added.
- values is named result now.
- Update documentation.
- First release.