Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update flutter 3.13.6 #157

Merged
merged 11 commits into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
workflow_dispatch:

env:
flutter_version: '3.0.1'
flutter_version: '3.13.6'

jobs:
build:
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Install Dependencies
run: flutter pub get
- name: Format
run: flutter format --set-exit-if-changed lib test example
run: dart format --set-exit-if-changed lib test example
- name: Analyze
run: flutter analyze lib test example
- name: Run tests
Expand Down
68 changes: 45 additions & 23 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,109 +1,131 @@
## 1.6.2

- remove nullability from `OverlayState`
- Compatible with Flutter 3.13.6 🚀
- Various code improvements

## 1.6.1

- Fix issue with RecentsLimit not working
- Add example for dynamic emoji columns based on screen width (thx to @timmaffett)

## 1.6.0

- Breaking Change: Fix behavior of recent tab, choose behavior (None, Recent, Popular) with `recentTabBehavior`. `showRecentsTab` was removed.
- Fix typo in ReadMe (thx @nathanbacon)

## 1.5.4

- Restore compatibility of older Flutter versions

## 1.5.3

- Add Unicode 14 Emoji 🫡

## 1.5.2

- Fix issue with hiding backspace button (set null to hide)
- Migrate jcenter to mavenCentral (thx @duyjack)

## 1.5.1

- Update ReadMe and example 📃
- Add method `clearRecentEmojis` in EmojiPickerUtils to clear the recent Emojis

## 1.5.0

- Add support for Web Platform
- Add support for Windows Platform
- Add support for Linux Platform

## 1.4.1

- Code cleanup and optimizations in DefaultEmojiPickerView (thx @PankovSerge)

## 1.4.0

- Add support for custom fonts ✍️ (thx @yendacoder)
- Refactor to make components reusable and add example for search (thx @yendacoder)
- Breaking: Remove `progressIndicatorColor` in favor of `loadingIndicator` in Config

## 1.3.1

- Add direct support for TextEditingController (thx @LostInDarkMath)
- Fix Koala face position in emoji lists (thx @nathandud)

## 1.3.0

- Compatibility for Flutter 3 and update dependencies 💙
- Introduce property `replaceEmojiOnLimitExceed` to replace least used emoji in Recents when the list is full
- Add property `gridPadding` to make GridView padding configurable
- Add property `gridPadding` to make GridView padding configurable
- Add same background color of emoji view to background of loading indicator
- Improvements for usage of custom view

## 1.2.1

- Compatibility for Flutter 2.10 and update Android and Kotlin versions
- Add Mate Emoji 🧉

## 1.2.0

- Breaking Change: `noRecentsText` of type `String` was changed to `noRecents` of type `Widget` and `noRecentsStyle` was removed from `Config`

## 1.1.2

- Fix a issue with macos platform 👨‍🔧
- Close Skin-Tone dialog on several other timings

## 1.1.1
* Fix parsing of legacy Emoji Recent-List 😵

- Fix parsing of legacy Emoji Recent-List 😵

## 1.1.0
* New feature: EmojiPickerUtils provide access to recent emojis, search emoji and adding emoji to recently-used list
* New feature: Skin-Tone Support
* New feature: Emoji-List Versioning (force update users cached emoji's if necessary between versions)
* Add Support for MacOS platform 🖥

- New feature: EmojiPickerUtils provide access to recent emojis, search emoji and adding emoji to recently-used list
- New feature: Skin-Tone Support
- New feature: Emoji-List Versioning (force update users cached emoji's if necessary between versions)
- Add Support for MacOS platform 🖥

## 1.0.8

* Fix to avoid unnecessary rebuilds
* Re-add Activities Category
- Fix to avoid unnecessary rebuilds
- Re-add Activities Category

## 1.0.7

* Align center NoRecent-Text
* Enable Hot Reload for config changes
* Add hint to example code how to fix emoji size issue for iOS
* Add attribute tabIndicatorAnimDuration to config to control tab indicator animation duration
* Fix issue with iOS hover effect
* Format & Cleanup
- Align center NoRecent-Text
- Enable Hot Reload for config changes
- Add hint to example code how to fix emoji size issue for iOS
- Add attribute tabIndicatorAnimDuration to config to control tab indicator animation duration
- Fix issue with iOS hover effect
- Format & Cleanup

## 1.0.6

* Fix appearance of emoji when device display size is not default 👀
* Fix issue with GridView padding at the top when no AppBar exist in Scaffold
- Fix appearance of emoji when device display size is not default 👀
- Fix issue with GridView padding at the top when no AppBar exist in Scaffold

## 1.0.5

* Fix appearance of emoji when device font size is not default 🖥
* Add Backspace-Button & OnBackspacePressed-Callback for easier deletion of added Emoji's
- Fix appearance of emoji when device font size is not default 🖥
- Add Backspace-Button & OnBackspacePressed-Callback for easier deletion of added Emoji's

## 1.0.4

* Make Emoji class accessible 🙌
- Make Emoji class accessible 🙌

## 1.0.3

* Organize imports
- Organize imports

## 1.0.2

* Bug fix
- Bug fix

## 1.0.1

* Update Readme 📚
- Update Readme 📚

## 1.0.0

* Inital release of this package 🎉
- Inital release of this package 🎉
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ EmojiPicker(
```

## Extended usage with EmojiPickerUtils
Find usage example [here](https://github.com/Fintasys/emoji_picker_flutter/blob/master/example/lib/main-key.dart)
Find usage example [here](https://github.com/Fintasys/emoji_picker_flutter/blob/master/example/lib/main_key.dart)

```dart
// Get recently used emoji
Expand Down
7 changes: 2 additions & 5 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
analyzer:
strong-mode:
language:
strict-casts: true
strict-raw-types: true
errors:
Expand Down Expand Up @@ -32,11 +32,9 @@ linter:
- empty_statements
- hash_and_equals
- implementation_imports
- invariant_booleans
- iterable_contains_unrelated_type
- collection_methods_unrelated_type
- library_names
- library_prefixes
- list_remove_unrelated_type
- lines_longer_than_80_chars
- no_adjacent_strings_in_list
- no_duplicate_case_values
Expand All @@ -53,7 +51,6 @@ linter:
- prefer_conditional_assignment
- prefer_const_constructors
- prefer_contains
- prefer_equal_for_default_values
- prefer_final_fields
- prefer_initializing_formals
- prefer_interpolation_to_compose_strings
Expand Down
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
compileSdkVersion 31
compileSdkVersion 33

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
defaultConfig {
minSdkVersion 16
minSdkVersion 19
}
}

Expand Down
28 changes: 28 additions & 0 deletions example/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This file configures the analyzer, which statically analyzes Dart code to
# check for errors, warnings, and lints.
#
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
# invoked from the command line by running `flutter analyze`.

# The following line activates a set of recommended lints for Flutter apps,
# packages, and plugins designed to encourage good coding practices.
include: package:flutter_lints/flutter.yaml

linter:
# The lint rules applied to this project can be customized in the
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
# included above or to enable additional rules. A list of all available lints
# and their documentation is published at https://dart.dev/lints.
#
# Instead of disabling a lint rule for the entire project in the
# section below, it can also be suppressed for a single line of code
# or a specific dart file by using the `// ignore: name_of_lint` and
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
# producing the lint.
rules:
# avoid_print: false # Uncomment to disable the `avoid_print` rule
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule

# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
6 changes: 3 additions & 3 deletions example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion 31
compileSdkVersion 33

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
Expand All @@ -35,8 +35,8 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.fintasys.emoji_picker_flutter_example"
minSdkVersion 16
targetSdkVersion 31
minSdkVersion 19
targetSdkVersion 33
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
Expand Down
2 changes: 1 addition & 1 deletion example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ subprojects {
project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
tasks.register("clean", Delete) {
delete rootProject.buildDir
}
2 changes: 2 additions & 0 deletions example/ios/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
**/dgph
*.mode1v3
*.mode2v3
*.moved-aside
Expand All @@ -18,6 +19,7 @@ Flutter/App.framework
Flutter/Flutter.framework
Flutter/Flutter.podspec
Flutter/Generated.xcconfig
Flutter/ephemeral/
Flutter/app.flx
Flutter/app.zip
Flutter/flutter_assets/
Expand Down
2 changes: 1 addition & 1 deletion example/ios/Flutter/AppFrameworkInfo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
<key>CFBundleVersion</key>
<string>1.0</string>
<key>MinimumOSVersion</key>
<string>9.0</string>
<string>11.0</string>
</dict>
</plist>
5 changes: 4 additions & 1 deletion example/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'
# platform :ios, '11.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
Expand Down Expand Up @@ -32,6 +32,9 @@ target 'Runner' do
use_modular_headers!

flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
target 'RunnerTests' do
inherit! :search_paths
end
end

post_install do |installer|
Expand Down
30 changes: 21 additions & 9 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,39 @@ PODS:
- emoji_picker_flutter (0.0.1):
- Flutter
- Flutter (1.0.0)
- shared_preferences (0.0.1):
- integration_test (0.0.1):
- Flutter
- path_provider_ios (0.0.1):
- Flutter
- shared_preferences_ios (0.0.1):
- Flutter

DEPENDENCIES:
- emoji_picker_flutter (from `.symlinks/plugins/emoji_picker_flutter/ios`)
- Flutter (from `Flutter`)
- shared_preferences (from `.symlinks/plugins/shared_preferences/ios`)
- integration_test (from `.symlinks/plugins/integration_test/ios`)
- path_provider_ios (from `.symlinks/plugins/path_provider_ios/ios`)
- shared_preferences_ios (from `.symlinks/plugins/shared_preferences_ios/ios`)

EXTERNAL SOURCES:
emoji_picker_flutter:
:path: ".symlinks/plugins/emoji_picker_flutter/ios"
Flutter:
:path: Flutter
shared_preferences:
:path: ".symlinks/plugins/shared_preferences/ios"
integration_test:
:path: ".symlinks/plugins/integration_test/ios"
path_provider_ios:
:path: ".symlinks/plugins/path_provider_ios/ios"
shared_preferences_ios:
:path: ".symlinks/plugins/shared_preferences_ios/ios"

SPEC CHECKSUMS:
emoji_picker_flutter: df19dac03a2b39ac667dc8d1da939ef3a9e21347
Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
shared_preferences: af6bfa751691cdc24be3045c43ec037377ada40d
emoji_picker_flutter: fe2e6151c5b548e975d546e6eeb567daf0962a58
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
integration_test: 13825b8a9334a850581300559b8839134b124670
path_provider_ios: 14f3d2fd28c4fdb42f44e0f751d12861c43cee02
shared_preferences_ios: 548a61f8053b9b8a49ac19c1ffbc8b92c50d68ad

PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c
PODFILE CHECKSUM: 70d9d25280d0dd177a5f637cdb0f0b0b12c6a189

COCOAPODS: 1.11.3
COCOAPODS: 1.13.0
Loading
Loading