From 874d734c80abdf24eedd01378f80495a98353e60 Mon Sep 17 00:00:00 2001 From: Varakh Date: Wed, 17 Aug 2022 17:08:08 +0200 Subject: [PATCH] Update dependencies #noissue --- .drone.yml | 5 +++-- CHANGELOG.md | 1 + README.md | 10 ---------- lib/app.dart | 6 ++++++ pubspec.lock | 50 +++++++++++++++++++++++++------------------------- pubspec.yaml | 22 +++++++++++----------- 6 files changed, 46 insertions(+), 48 deletions(-) diff --git a/.drone.yml b/.drone.yml index 2f2882a..daf3031 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,13 +1,14 @@ kind: pipeline +type: docker name: default steps: - name: build - image: cirrusci/flutter:3.0.2 + image: cirrusci/flutter:3.0.5 commands: - flutter doctor - flutter pub get - - flutter pub upgrade + - flutter pub outdated - flutter packages pub run build_runner build --delete-conflicting-outputs - flutter analyze --no-pub --no-current-package lib/ - flutter build apk --debug diff --git a/CHANGELOG.md b/CHANGELOG.md index d64f312..fb2aff9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ * Increased dart to `>= 2.17.3` * Indicate configuration loading in profile view * Switched linked git repository away from GitHub +* Updated dependencies ## 1.4.2+15 * Minor cleanup diff --git a/README.md b/README.md index bec01aa..3cbaebe 100644 --- a/README.md +++ b/README.md @@ -34,16 +34,6 @@ This project is a starting point for a Flutter application. Start by installing dependencies and generating entities! -### Working versions for SDK - -``` -• Flutter version 3.0.2 -• Framework revision cd41fdd495 -• Engine revision f15f824b57 -• Dart version 2.17.3 -• DevTools version 2.12.2 -``` - ## Dependencies * Run `flutter packages pub get` in project root folder to get dependencies or open the `pubspec.yaml` and click on the buttons provided by the IDE plugins diff --git a/lib/app.dart b/lib/app.dart index fc82abf..1eebc52 100644 --- a/lib/app.dart +++ b/lib/app.dart @@ -1,5 +1,6 @@ import 'package:flutter/material.dart'; import 'package:flutter_translate/flutter_translate.dart'; +import 'package:intl/date_symbol_data_local.dart'; import 'package:provider/provider.dart'; import 'core/enums/refresh_event.dart'; @@ -18,6 +19,11 @@ import 'ui/shared/app_colors.dart'; import 'ui/views/startup_view.dart'; class MyApp extends StatelessWidget { + + MyApp() { + initializeDateFormatting('en'); + } + @override Widget build(BuildContext context) { var localizationDelegate = LocalizedApp.of(context).delegate; diff --git a/pubspec.lock b/pubspec.lock index 8e05154..6cfedb2 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -7,14 +7,14 @@ packages: name: _fe_analyzer_shared url: "https://pub.dartlang.org" source: hosted - version: "40.0.0" + version: "46.0.0" analyzer: dependency: transitive description: name: analyzer url: "https://pub.dartlang.org" source: hosted - version: "4.1.0" + version: "4.6.0" args: dependency: transitive description: @@ -49,7 +49,7 @@ packages: name: build_config url: "https://pub.dartlang.org" source: hosted - version: "1.0.0" + version: "1.1.0" build_daemon: dependency: transitive description: @@ -70,7 +70,7 @@ packages: name: build_runner url: "https://pub.dartlang.org" source: hosted - version: "2.1.11" + version: "2.2.0" build_runner_core: dependency: transitive description: @@ -91,14 +91,14 @@ packages: name: built_value url: "https://pub.dartlang.org" source: hosted - version: "8.3.3" + version: "8.4.0" built_value_generator: dependency: "direct dev" description: name: built_value_generator url: "https://pub.dartlang.org" source: hosted - version: "8.3.3" + version: "8.4.0" characters: dependency: transitive description: @@ -140,7 +140,7 @@ packages: name: code_builder url: "https://pub.dartlang.org" source: hosted - version: "4.1.0" + version: "4.2.0" collection: dependency: transitive description: @@ -196,7 +196,7 @@ packages: name: ffi url: "https://pub.dartlang.org" source: hosted - version: "1.2.1" + version: "2.0.1" file: dependency: transitive description: @@ -210,7 +210,7 @@ packages: name: file_picker url: "https://pub.dartlang.org" source: hosted - version: "4.6.1" + version: "5.0.1" fixnum: dependency: transitive description: @@ -241,7 +241,7 @@ packages: name: flutter_plugin_android_lifecycle url: "https://pub.dartlang.org" source: hosted - version: "2.0.6" + version: "2.0.7" flutter_test: dependency: "direct dev" description: flutter @@ -253,7 +253,7 @@ packages: name: flutter_translate url: "https://pub.dartlang.org" source: hosted - version: "3.1.0" + version: "4.0.3" flutter_web_plugins: dependency: transitive description: flutter @@ -293,7 +293,7 @@ packages: name: http url: "https://pub.dartlang.org" source: hosted - version: "0.13.4" + version: "0.13.5" http_multi_server: dependency: transitive description: @@ -335,14 +335,14 @@ packages: name: json_annotation url: "https://pub.dartlang.org" source: hosted - version: "4.5.0" + version: "4.6.0" json_serializable: dependency: "direct dev" description: name: json_serializable url: "https://pub.dartlang.org" source: hosted - version: "6.2.0" + version: "6.3.1" linkify: dependency: transitive description: @@ -412,7 +412,7 @@ packages: name: package_info_plus url: "https://pub.dartlang.org" source: hosted - version: "1.4.2" + version: "1.4.3+1" package_info_plus_linux: dependency: transitive description: @@ -447,7 +447,7 @@ packages: name: package_info_plus_windows url: "https://pub.dartlang.org" source: hosted - version: "1.0.5" + version: "2.0.0" path: dependency: transitive description: @@ -475,7 +475,7 @@ packages: name: path_provider_windows url: "https://pub.dartlang.org" source: hosted - version: "2.0.7" + version: "2.1.2" permission_handler: dependency: "direct main" description: @@ -580,7 +580,7 @@ packages: name: share_plus url: "https://pub.dartlang.org" source: hosted - version: "4.0.9" + version: "4.0.10+1" share_plus_linux: dependency: transitive description: @@ -678,7 +678,7 @@ packages: name: shelf url: "https://pub.dartlang.org" source: hosted - version: "1.3.1" + version: "1.3.2" shelf_web_socket: dependency: transitive description: @@ -732,14 +732,14 @@ packages: name: stacked url: "https://pub.dartlang.org" source: hosted - version: "2.3.12" + version: "2.3.15" stacked_core: dependency: transitive description: name: stacked_core url: "https://pub.dartlang.org" source: hosted - version: "1.2.3" + version: "1.2.4" stream_channel: dependency: transitive description: @@ -802,7 +802,7 @@ packages: name: url_launcher url: "https://pub.dartlang.org" source: hosted - version: "6.1.4" + version: "6.1.5" url_launcher_android: dependency: transitive description: @@ -844,7 +844,7 @@ packages: name: url_launcher_web url: "https://pub.dartlang.org" source: hosted - version: "2.0.12" + version: "2.0.13" url_launcher_windows: dependency: transitive description: @@ -886,7 +886,7 @@ packages: name: win32 url: "https://pub.dartlang.org" source: hosted - version: "2.6.1" + version: "2.7.0" xdg_directories: dependency: transitive description: @@ -903,4 +903,4 @@ packages: version: "3.1.1" sdks: dart: ">=2.17.3 <3.0.0" - flutter: ">=2.10.0" + flutter: ">=3.0.0" diff --git a/pubspec.yaml b/pubspec.yaml index cf68076..6a95cd7 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -22,32 +22,32 @@ dependencies: cupertino_icons: 1.0.5 flutter_localizations: sdk: flutter - flutter_translate: 3.1.0 # > 3.x breaks with WidgetBinding, wait for dependency update + flutter_translate: 4.0.3 provider: 6.0.3 - stacked: 2.3.12 + stacked: 2.3.15 get_it: 7.2.0 logger: 1.1.0 shared_preferences: 2.0.15 - http: 0.13.4 + http: 0.13.5 validators: 3.0.0 flutter_linkify: 5.0.2 - url_launcher: 6.1.4 + url_launcher: 6.1.5 expandable: 5.0.1 - share_plus: 4.0.9 - file_picker: 4.6.1 + share_plus: 4.0.10+1 + file_picker: 5.0.1 clipboard: 0.1.3 receive_sharing_intent: 1.4.5 permission_handler: 10.0.0 - package_info_plus: 1.4.2 + package_info_plus: 1.4.3+1 simple_gesture_detector: 0.2.0 - json_annotation: 4.5.0 + json_annotation: 4.6.0 dev_dependencies: flutter_test: sdk: flutter - build_runner: 2.1.11 - built_value_generator: 8.3.3 - json_serializable: 6.2.0 + build_runner: 2.2.0 + built_value_generator: 8.4.0 + json_serializable: 6.3.1 # For information on the generic Dart part of this file, see the # following page: https://www.dartlang.org/tools/pub/pubspec