Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from JosLuna98/master
plugin v1 is completely discontinued
- Loading branch information
Showing
47 changed files
with
579 additions
and
314 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,77 +1,13 @@ | ||
## [1.3.5+1] | ||
## 1.4.2 | ||
|
||
* discontinued | ||
* Add explicit dialog context like a parameter in the onDone function | ||
|
||
## [1.3.5] | ||
## 1.4.1 | ||
|
||
* The *onCleaned* function parameter added in **AddressSearchTextField** and **AddressSearchBox**. | ||
* Fix possible bug from useless conditional | ||
|
||
## [1.3.4] | ||
## 1.4.0 | ||
|
||
* 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 now named *result*. | ||
* Update documentation. | ||
|
||
## [0.0.1] | ||
|
||
* First release. | ||
* Remake of [AddressSearchTextField](https://pub.dev/packages/address_search_text_field) Plugin due to the update of Flutter 1.17 and Dart 2.8 | ||
* `LocationService` class is now an async static function called `initLocationService` | ||
* Updated the [README.md](https://pub.dev/packages/address_search_field#-readme-tab-) for a better explanation of plugin. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
*.iml | ||
.gradle | ||
/local.properties | ||
/.idea/workspace.xml | ||
/.idea/libraries | ||
.DS_Store | ||
/build | ||
/captures |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
group 'dev.jostech.address_search_field' | ||
version '1.0-SNAPSHOT' | ||
|
||
buildscript { | ||
ext.kotlin_version = '1.3.50' | ||
repositories { | ||
google() | ||
jcenter() | ||
} | ||
|
||
dependencies { | ||
classpath 'com.android.tools.build:gradle:3.5.0' | ||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | ||
} | ||
} | ||
|
||
rootProject.allprojects { | ||
repositories { | ||
google() | ||
jcenter() | ||
} | ||
} | ||
|
||
apply plugin: 'com.android.library' | ||
apply plugin: 'kotlin-android' | ||
|
||
android { | ||
compileSdkVersion 28 | ||
|
||
sourceSets { | ||
main.java.srcDirs += 'src/main/kotlin' | ||
} | ||
defaultConfig { | ||
minSdkVersion 16 | ||
} | ||
lintOptions { | ||
disable 'InvalidPackage' | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
org.gradle.jvmargs=-Xmx1536M | ||
android.enableR8=true | ||
android.useAndroidX=true | ||
android.enableJetifier=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
rootProject.name = 'address_search_field' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="dev.jostech.address_search_field"> | ||
</manifest> |
Oops, something went wrong.