1
0
mirror of https://github.com/go-vikunja/app synced 2024-12-14 04:41:52 +00:00

Updated Flutter & SDK

This commit is contained in:
Aleksandr Borisenko 2021-08-23 10:08:11 +03:00
parent 9231772185
commit 7b50bce37b
4 changed files with 21 additions and 20 deletions

View File

@ -6,8 +6,8 @@ export "COCOAPODS_PARALLEL_CODE_SIGN=true"
export "FLUTTER_TARGET=lib\main.dart"
export "FLUTTER_BUILD_DIR=build"
export "SYMROOT=${SOURCE_ROOT}/../build\ios"
export "FLUTTER_BUILD_NAME=0.1.0"
export "FLUTTER_BUILD_NUMBER=0.1.0"
export "FLUTTER_BUILD_NAME=0.2.0"
export "FLUTTER_BUILD_NUMBER=200099"
export "DART_OBFUSCATION=false"
export "TRACK_WIDGET_CREATION=false"
export "TREE_SHAKE_ICONS=false"

View File

@ -28,8 +28,8 @@ class _TaskEditPageState extends State<TaskEditPage> {
String _title, _description, _repeatAfterType;
Duration _repeatAfter;
List<Label> _labels;
List<Label>
_suggestedLabels; // we use this to find the label object after a user taps on the suggestion, because the typeahead only uses strings, not full objects.
// we use this to find the label object after a user taps on the suggestion, because the typeahead only uses strings, not full objects.
List<Label> _suggestedLabels;
var _reminderInputs = <Widget>[];
final _labelTypeAheadController = TextEditingController();
@ -380,7 +380,7 @@ class _TaskEditPageState extends State<TaskEditPage> {
_createAndAddLabel(String labelTitle) {
// Only add a label if there are none to add
if (labelTitle == '' || _suggestedLabels.length > 0) {
if (labelTitle.isEmpty || (_suggestedLabels?.isNotEmpty ?? false)) {
return;
}

View File

@ -35,7 +35,7 @@ packages:
name: args
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0"
version: "2.2.0"
async:
dependency: transitive
description:
@ -56,7 +56,7 @@ packages:
name: build
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.2"
version: "2.1.0"
build_config:
dependency: transitive
description:
@ -194,14 +194,14 @@ packages:
name: flutter_launcher_icons
url: "https://pub.dartlang.org"
source: hosted
version: "0.9.0"
version: "0.9.2"
flutter_secure_storage:
dependency: "direct main"
description:
name: flutter_secure_storage
url: "https://pub.dartlang.org"
source: hosted
version: "4.2.0"
version: "4.2.1"
flutter_test:
dependency: "direct dev"
description: flutter
@ -213,7 +213,7 @@ packages:
name: flutter_typeahead
url: "https://pub.dartlang.org"
source: hosted
version: "3.1.3"
version: "3.2.0"
flutter_web_plugins:
dependency: transitive
description: flutter
@ -288,7 +288,7 @@ packages:
name: json_serializable
url: "https://pub.dartlang.org"
source: hosted
version: "4.1.3"
version: "4.1.4"
logging:
dependency: transitive
description:
@ -379,7 +379,7 @@ packages:
name: provider
url: "https://pub.dartlang.org"
source: hosted
version: "5.0.0"
version: "6.0.0"
pub_semver:
dependency: transitive
description:

View File

@ -1,32 +1,33 @@
name: vikunja_app
description: Vikunja as Flutter cross platform app
version: 0.1.0
version: 0.2.0+200099
environment:
sdk: ">=2.7.0 <3.0.0"
# TODO: update SDK >=2.12.0 (null-safety enabled)
sdk: ">=2.11.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
cupertino_icons: 1.0.3
flutter_secure_storage: 4.2.0
flutter_secure_storage: 4.2.1
http: 0.13.3
after_layout: 1.1.0
#alice: 0.2.1
datetime_picker_formfield: 2.0.0
flutter_typeahead: 3.1.3
build: 2.0.2
json_serializable: 4.1.3
flutter_typeahead: 3.2.0
build: 2.1.0
json_serializable: 4.1.4
petitparser: 4.1.0
provider: 5.0.0
provider: 6.0.0
dev_dependencies:
flutter_test:
sdk: flutter
version: any
test: 1.16.8
flutter_launcher_icons: 0.9.0
flutter_launcher_icons: 0.9.2
flutter_icons:
image_path: "assets/vikunja_logo.png"