diff --git a/.flutter-plugins b/.flutter-plugins
index 2c5fecb..dcfc989 100644
--- a/.flutter-plugins
+++ b/.flutter-plugins
@@ -1,20 +1,19 @@
# This is a generated file; do not edit or check into version control.
-fluttertoast=/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.1.8/
-integration_test=/Users/edvaldo/flutter/packages/integration_test/
-path_provider_linux=/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.5/
-path_provider_windows=/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.5/
-share=/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/share-2.0.4/
-shared_preferences=/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.13/
-shared_preferences_android=/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_android-2.0.11/
-shared_preferences_ios=/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_ios-2.1.0/
-shared_preferences_linux=/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-2.1.0/
-shared_preferences_macos=/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-2.0.3/
-shared_preferences_web=/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-2.0.3/
-shared_preferences_windows=/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_windows-2.1.0/
-url_launcher=/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.0.20/
-url_launcher_android=/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_android-6.0.15/
-url_launcher_ios=/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_ios-6.0.15/
-url_launcher_linux=/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-3.0.0/
-url_launcher_macos=/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-3.0.0/
-url_launcher_web=/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.9/
-url_launcher_windows=/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-3.0.0/
+fluttertoast=C:\\Users\\khalti\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\fluttertoast-7.1.8\\
+integration_test=C:\\Developement\\flutter\\packages\\integration_test\\
+path_provider_linux=C:\\Users\\khalti\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\path_provider_linux-2.1.5\\
+path_provider_windows=C:\\Users\\khalti\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\path_provider_windows-2.0.5\\
+share=C:\\Users\\khalti\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\share-2.0.4\\
+shared_preferences=C:\\Users\\khalti\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\shared_preferences-2.0.17\\
+shared_preferences_android=C:\\Users\\khalti\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\shared_preferences_android-2.0.11\\
+shared_preferences_foundation=C:\\Users\\khalti\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\shared_preferences_foundation-2.1.3\\
+shared_preferences_linux=C:\\Users\\khalti\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\shared_preferences_linux-2.1.0\\
+shared_preferences_web=C:\\Users\\khalti\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\shared_preferences_web-2.0.3\\
+shared_preferences_windows=C:\\Users\\khalti\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\shared_preferences_windows-2.1.0\\
+url_launcher=C:\\Users\\khalti\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher-6.0.20\\
+url_launcher_android=C:\\Users\\khalti\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_android-6.0.15\\
+url_launcher_ios=C:\\Users\\khalti\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_ios-6.0.15\\
+url_launcher_linux=C:\\Users\\khalti\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_linux-3.0.0\\
+url_launcher_macos=C:\\Users\\khalti\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_macos-3.0.0\\
+url_launcher_web=C:\\Users\\khalti\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_web-2.0.9\\
+url_launcher_windows=C:\\Users\\khalti\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_windows-3.0.0\\
diff --git a/.flutter-plugins-dependencies b/.flutter-plugins-dependencies
index 2252ac3..0645517 100644
--- a/.flutter-plugins-dependencies
+++ b/.flutter-plugins-dependencies
@@ -1 +1 @@
-{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"fluttertoast","path":"/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.1.8/","dependencies":[]},{"name":"integration_test","path":"/Users/edvaldo/flutter/packages/integration_test/","dependencies":[]},{"name":"share","path":"/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/share-2.0.4/","dependencies":[]},{"name":"shared_preferences_ios","path":"/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_ios-2.1.0/","dependencies":[]},{"name":"url_launcher_ios","path":"/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_ios-6.0.15/","dependencies":[]}],"android":[{"name":"fluttertoast","path":"/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.1.8/","dependencies":[]},{"name":"integration_test","path":"/Users/edvaldo/flutter/packages/integration_test/","dependencies":[]},{"name":"share","path":"/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/share-2.0.4/","dependencies":[]},{"name":"shared_preferences_android","path":"/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_android-2.0.11/","dependencies":[]},{"name":"url_launcher_android","path":"/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_android-6.0.15/","dependencies":[]}],"macos":[{"name":"shared_preferences_macos","path":"/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-2.0.3/","dependencies":[]},{"name":"url_launcher_macos","path":"/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-3.0.0/","dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.5/","dependencies":[]},{"name":"shared_preferences_linux","path":"/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-2.1.0/","dependencies":["path_provider_linux"]},{"name":"url_launcher_linux","path":"/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-3.0.0/","dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.5/","dependencies":[]},{"name":"shared_preferences_windows","path":"/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_windows-2.1.0/","dependencies":["path_provider_windows"]},{"name":"url_launcher_windows","path":"/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-3.0.0/","dependencies":[]}],"web":[{"name":"fluttertoast","path":"/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.1.8/","dependencies":[]},{"name":"shared_preferences_web","path":"/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-2.0.3/","dependencies":[]},{"name":"url_launcher_web","path":"/Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.9/","dependencies":[]}]},"dependencyGraph":[{"name":"fluttertoast","dependencies":[]},{"name":"integration_test","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"share","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_android","shared_preferences_ios","shared_preferences_linux","shared_preferences_macos","shared_preferences_web","shared_preferences_windows"]},{"name":"shared_preferences_android","dependencies":[]},{"name":"shared_preferences_ios","dependencies":[]},{"name":"shared_preferences_linux","dependencies":["path_provider_linux"]},{"name":"shared_preferences_macos","dependencies":[]},{"name":"shared_preferences_web","dependencies":[]},{"name":"shared_preferences_windows","dependencies":["path_provider_windows"]},{"name":"url_launcher","dependencies":["url_launcher_android","url_launcher_ios","url_launcher_linux","url_launcher_macos","url_launcher_web","url_launcher_windows"]},{"name":"url_launcher_android","dependencies":[]},{"name":"url_launcher_ios","dependencies":[]},{"name":"url_launcher_linux","dependencies":[]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_web","dependencies":[]},{"name":"url_launcher_windows","dependencies":[]}],"date_created":"2022-10-08 08:34:47.429746","version":"2.10.5"}
\ No newline at end of file
+{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"fluttertoast","path":"C:\\\\Users\\\\khalti\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\fluttertoast-7.1.8\\\\","native_build":true,"dependencies":[]},{"name":"integration_test","path":"C:\\\\Developement\\\\flutter\\\\packages\\\\integration_test\\\\","native_build":true,"dependencies":[]},{"name":"share","path":"C:\\\\Users\\\\khalti\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\share-2.0.4\\\\","native_build":true,"dependencies":[]},{"name":"shared_preferences_foundation","path":"C:\\\\Users\\\\khalti\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_foundation-2.1.3\\\\","native_build":true,"dependencies":[]},{"name":"url_launcher_ios","path":"C:\\\\Users\\\\khalti\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\url_launcher_ios-6.0.15\\\\","native_build":true,"dependencies":[]}],"android":[{"name":"fluttertoast","path":"C:\\\\Users\\\\khalti\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\fluttertoast-7.1.8\\\\","native_build":true,"dependencies":[]},{"name":"integration_test","path":"C:\\\\Developement\\\\flutter\\\\packages\\\\integration_test\\\\","native_build":true,"dependencies":[]},{"name":"share","path":"C:\\\\Users\\\\khalti\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\share-2.0.4\\\\","native_build":true,"dependencies":[]},{"name":"shared_preferences_android","path":"C:\\\\Users\\\\khalti\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_android-2.0.11\\\\","native_build":true,"dependencies":[]},{"name":"url_launcher_android","path":"C:\\\\Users\\\\khalti\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\url_launcher_android-6.0.15\\\\","native_build":true,"dependencies":[]}],"macos":[{"name":"shared_preferences_foundation","path":"C:\\\\Users\\\\khalti\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_foundation-2.1.3\\\\","native_build":true,"dependencies":[]},{"name":"url_launcher_macos","path":"C:\\\\Users\\\\khalti\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\url_launcher_macos-3.0.0\\\\","native_build":true,"dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"C:\\\\Users\\\\khalti\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_linux-2.1.5\\\\","native_build":false,"dependencies":[]},{"name":"shared_preferences_linux","path":"C:\\\\Users\\\\khalti\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_linux-2.1.0\\\\","native_build":false,"dependencies":["path_provider_linux"]},{"name":"url_launcher_linux","path":"C:\\\\Users\\\\khalti\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\url_launcher_linux-3.0.0\\\\","native_build":true,"dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"C:\\\\Users\\\\khalti\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_windows-2.0.5\\\\","native_build":false,"dependencies":[]},{"name":"shared_preferences_windows","path":"C:\\\\Users\\\\khalti\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_windows-2.1.0\\\\","native_build":false,"dependencies":["path_provider_windows"]},{"name":"url_launcher_windows","path":"C:\\\\Users\\\\khalti\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\url_launcher_windows-3.0.0\\\\","native_build":true,"dependencies":[]}],"web":[{"name":"fluttertoast","path":"C:\\\\Users\\\\khalti\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\fluttertoast-7.1.8\\\\","dependencies":[]},{"name":"shared_preferences_web","path":"C:\\\\Users\\\\khalti\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_web-2.0.3\\\\","dependencies":[]},{"name":"url_launcher_web","path":"C:\\\\Users\\\\khalti\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\url_launcher_web-2.0.9\\\\","dependencies":[]}]},"dependencyGraph":[{"name":"fluttertoast","dependencies":[]},{"name":"integration_test","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"share","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_android","shared_preferences_foundation","shared_preferences_linux","shared_preferences_web","shared_preferences_windows"]},{"name":"shared_preferences_android","dependencies":[]},{"name":"shared_preferences_foundation","dependencies":[]},{"name":"shared_preferences_linux","dependencies":["path_provider_linux"]},{"name":"shared_preferences_web","dependencies":[]},{"name":"shared_preferences_windows","dependencies":["path_provider_windows"]},{"name":"url_launcher","dependencies":["url_launcher_android","url_launcher_ios","url_launcher_linux","url_launcher_macos","url_launcher_web","url_launcher_windows"]},{"name":"url_launcher_android","dependencies":[]},{"name":"url_launcher_ios","dependencies":[]},{"name":"url_launcher_linux","dependencies":[]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_web","dependencies":[]},{"name":"url_launcher_windows","dependencies":[]}],"date_created":"2023-02-15 12:29:53.284413","version":"3.7.3"}
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
index e3a0a47..2e82c27 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
# Project exclude paths
/.dart_tool/
-/build/
\ No newline at end of file
+/build/
+/.idea/
diff --git a/.idea/flutter_pub_dev.iml b/.idea/flutter_pub_dev.iml
deleted file mode 100644
index 13722dc..0000000
--- a/.idea/flutter_pub_dev.iml
+++ /dev/null
@@ -1,97 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.packages b/.packages
deleted file mode 100644
index 1846483..0000000
--- a/.packages
+++ /dev/null
@@ -1,131 +0,0 @@
-# This file is deprecated. Tools should instead consume
-# `.dart_tool/package_config.json`.
-#
-# For more info see: https://dart.dev/go/dot-packages-deprecation
-#
-# Generated by pub on 2022-10-07 10:43:40.530775.
-_fe_analyzer_shared:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/_fe_analyzer_shared-22.0.0/lib/
-analyzer:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-1.7.2/lib/
-archive:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/archive-3.1.6/lib/
-args:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/args-2.3.0/lib/
-async:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.8.2/lib/
-boolean_selector:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0/lib/
-build:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/build-2.2.1/lib/
-build_config:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/build_config-1.0.0/lib/
-build_daemon:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/build_daemon-3.0.1/lib/
-build_resolvers:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/build_resolvers-2.0.4/lib/
-build_runner:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/build_runner-2.1.8/lib/
-build_runner_core:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/build_runner_core-7.2.2/lib/
-built_collection:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/built_collection-5.1.1/lib/
-built_value:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/built_value-8.1.4/lib/
-characters:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/characters-1.2.0/lib/
-charcode:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.3.1/lib/
-checked_yaml:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/checked_yaml-2.0.1/lib/
-cli_util:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/cli_util-0.3.5/lib/
-clock:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/clock-1.1.0/lib/
-code_builder:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/code_builder-4.1.0/lib/
-collection:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.15.0/lib/
-convert:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/convert-3.0.1/lib/
-crypto:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/crypto-3.0.1/lib/
-csslib:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/csslib-0.16.2/lib/
-cupertino_icons:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-0.1.3/lib/
-dart_style:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/dart_style-2.1.1/lib/
-dartz:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/dartz-0.10.1/lib/
-dio:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/dio-4.0.6/lib/
-equatable:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/equatable-2.0.3/lib/
-fake_async:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/fake_async-1.2.0/lib/
-ffi:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.1.2/lib/
-file:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/file-6.1.2/lib/
-fixnum:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/fixnum-1.0.0/lib/
-flutter:file:///Users/edvaldo/flutter/packages/flutter/lib/
-flutter_driver:file:///Users/edvaldo/flutter/packages/flutter_driver/lib/
-flutter_localizations:file:///Users/edvaldo/flutter/packages/flutter_localizations/lib/
-flutter_markdown:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_markdown-0.6.9+1/lib/
-flutter_mobx:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_mobx-2.0.4/lib/
-flutter_staggered_grid_view:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_staggered_grid_view-0.6.2/lib/
-flutter_svg:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.22.0/lib/
-flutter_test:file:///Users/edvaldo/flutter/packages/flutter_test/lib/
-flutter_web_plugins:file:///Users/edvaldo/flutter/packages/flutter_web_plugins/lib/
-fluttertoast:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.1.8/lib/
-freezed:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/freezed-0.14.2/lib/
-freezed_annotation:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/freezed_annotation-0.14.3/lib/
-frontend_server_client:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/frontend_server_client-2.1.2/lib/
-fuchsia_remote_debug_protocol:file:///Users/edvaldo/flutter/packages/fuchsia_remote_debug_protocol/lib/
-get_it:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/get_it-7.2.0/lib/
-glob:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/glob-2.0.2/lib/
-graphs:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/graphs-2.1.0/lib/
-html:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/html-0.14.0+4/lib/
-http_multi_server:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/http_multi_server-3.2.0/lib/
-http_parser:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/http_parser-4.0.0/lib/
-integration_test:file:///Users/edvaldo/flutter/packages/integration_test/lib/
-intl:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/intl-0.17.0/lib/
-io:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/io-1.0.3/lib/
-js:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/js-0.6.3/lib/
-json_annotation:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/json_annotation-4.1.0/lib/
-json_serializable:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/json_serializable-4.1.4/lib/
-logging:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/logging-1.0.2/lib/
-markdown:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/markdown-4.0.1/lib/
-matcher:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.11/lib/
-material_color_utilities:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/material_color_utilities-0.1.3/lib/
-meta:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.7.0/lib/
-mime:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/mime-1.0.1/lib/
-mobx:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/mobx-2.0.6+1/lib/
-mobx_codegen:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/mobx_codegen-2.0.2/lib/
-mockito:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/mockito-5.0.15/lib/
-package_config:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/package_config-2.0.2/lib/
-path:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.0/lib/
-path_drawing:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/path_drawing-0.5.1+1/lib/
-path_parsing:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/path_parsing-0.2.1/lib/
-path_provider_linux:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.5/lib/
-path_provider_platform_interface:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_platform_interface-2.0.3/lib/
-path_provider_windows:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.5/lib/
-pedantic:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/pedantic-1.11.1/lib/
-petitparser:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/petitparser-4.4.0/lib/
-platform:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/platform-3.1.0/lib/
-plugin_platform_interface:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/plugin_platform_interface-2.1.2/lib/
-pool:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/pool-1.5.0/lib/
-process:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/process-4.2.4/lib/
-pub_semver:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/pub_semver-2.1.1/lib/
-pubspec_parse:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/pubspec_parse-1.1.0/lib/
-pull_to_refresh:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/pull_to_refresh-2.0.0/lib/
-share:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/share-2.0.4/lib/
-shared_preferences:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.13/lib/
-shared_preferences_android:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_android-2.0.11/lib/
-shared_preferences_ios:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_ios-2.1.0/lib/
-shared_preferences_linux:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-2.1.0/lib/
-shared_preferences_macos:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-2.0.3/lib/
-shared_preferences_platform_interface:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_platform_interface-2.0.0/lib/
-shared_preferences_web:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-2.0.3/lib/
-shared_preferences_windows:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_windows-2.1.0/lib/
-shelf:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/shelf-1.3.0/lib/
-shelf_web_socket:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/shelf_web_socket-1.0.1/lib/
-sky_engine:file:///Users/edvaldo/flutter/bin/cache/pkg/sky_engine/lib/
-source_gen:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/source_gen-1.0.3/lib/
-source_span:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.8.1/lib/
-stack_trace:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0/lib/
-stream_channel:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0/lib/
-stream_transform:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/stream_transform-2.0.0/lib/
-string_scanner:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.0/lib/
-sync_http:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/sync_http-0.3.0/lib/
-term_glyph:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.0/lib/
-test_api:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.4.8/lib/
-timing:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/timing-1.0.0/lib/
-typed_data:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.3.0/lib/
-url_launcher:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.0.20/lib/
-url_launcher_android:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_android-6.0.15/lib/
-url_launcher_ios:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_ios-6.0.15/lib/
-url_launcher_linux:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-3.0.0/lib/
-url_launcher_macos:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-3.0.0/lib/
-url_launcher_platform_interface:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_platform_interface-2.0.5/lib/
-url_launcher_web:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.9/lib/
-url_launcher_windows:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-3.0.0/lib/
-vector_math:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.1/lib/
-vm_service:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/vm_service-7.5.0/lib/
-watcher:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/watcher-1.0.1/lib/
-web_socket_channel:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/web_socket_channel-2.1.0/lib/
-webdriver:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/webdriver-3.0.0/lib/
-win32:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/win32-2.5.1/lib/
-xdg_directories:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/xdg_directories-0.2.0+1/lib/
-xml:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/xml-5.3.1/lib/
-yaml:file:///Users/edvaldo/flutter/.pub-cache/hosted/pub.dartlang.org/yaml-3.1.0/lib/
-flutter_package:lib/
diff --git a/android/app/build.gradle b/android/app/build.gradle
index 4a86bd8..f46ede4 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -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'
diff --git a/integration_test/app_test.dart b/integration_test/app_test.dart
index ed81d49..ecbbaee 100644
--- a/integration_test/app_test.dart
+++ b/integration_test/app_test.dart
@@ -66,7 +66,7 @@ void main() {
await tester.pumpAndSettle(const Duration(seconds: 2));
await tester.pumpAndSettle();
- var _find = await find.byWidgetPredicate((widget) =>
+ var _find = find.byWidgetPredicate((widget) =>
widget.key != null && widget.key == ValueKey('search-result'));
expect(_find, findsWidgets);
});
diff --git a/integration_test/search_package_test.dart b/integration_test/search_package_test.dart
index ba46ab1..b65b0dd 100644
--- a/integration_test/search_package_test.dart
+++ b/integration_test/search_package_test.dart
@@ -27,7 +27,7 @@ void main() {
await tester.pumpAndSettle(const Duration(seconds: 2));
await tester.pumpAndSettle();
- var _find = await find.byWidgetPredicate((widget) =>
+ var _find = find.byWidgetPredicate((widget) =>
widget.key != null && widget.key == ValueKey('search-result'));
expect(_find, findsWidgets);
});
diff --git a/lib/src/application/core/base_view_model.dart b/lib/src/application/core/base_view_model.dart
index 7099444..f3a0b53 100644
--- a/lib/src/application/core/base_view_model.dart
+++ b/lib/src/application/core/base_view_model.dart
@@ -23,14 +23,11 @@ abstract class _BaseViewModel with Store {
void onRefresh({bool value = false}) {
if (value) {
- WidgetsBinding.instance!
- .addPostFrameCallback((_) => refresh.requestRefresh());
+ WidgetsBinding.instance.addPostFrameCallback((_) => refresh.requestRefresh());
} else {
- WidgetsBinding.instance!.addPostFrameCallback(
- (_) => refresh.refreshCompleted(resetFooterState: true));
+ WidgetsBinding.instance.addPostFrameCallback((_) => refresh.refreshCompleted(resetFooterState: true));
- WidgetsBinding.instance!
- .addPostFrameCallback((_) => refresh.loadComplete());
+ WidgetsBinding.instance.addPostFrameCallback((_) => refresh.loadComplete());
}
}
@@ -39,22 +36,15 @@ abstract class _BaseViewModel with Store {
_isBusy = state;
}
- Future navigateToPushNamedAndRemoveUntil(
- {required String routeName}) async {
+ Future navigateToPushNamedAndRemoveUntil({required String routeName}) async {
return await _navigation.navigateToPushNamedAndRemoveUntil(routeName);
}
- Future navigateToPushNamed(
- {required String routeName, Object? arguments}) async {
- return await _navigation.navigateToPushNamed(routeName,
- arguments: arguments);
+ Future navigateToPushNamed({required String routeName, Object? arguments}) async {
+ return await _navigation.navigateToPushNamed(routeName, arguments: arguments);
}
Future navigateToPop({Object? obj}) async {
return await _navigation.navigateToPop(object: obj);
}
-
- VoidCallback? _onFailure;
-
- VoidCallback? _onBusy;
}
diff --git a/lib/src/application/core/base_view_model.g.dart b/lib/src/application/core/base_view_model.g.dart
index f1e155f..1725870 100644
--- a/lib/src/application/core/base_view_model.g.dart
+++ b/lib/src/application/core/base_view_model.g.dart
@@ -6,7 +6,7 @@ part of 'base_view_model.dart';
// StoreGenerator
// **************************************************************************
-// ignore_for_file: non_constant_identifier_names, unnecessary_brace_in_string_interps, unnecessary_lambdas, prefer_expression_function_bodies, lines_longer_than_80_chars, avoid_as, avoid_annotating_with_dynamic
+// ignore_for_file: non_constant_identifier_names, unnecessary_brace_in_string_interps, unnecessary_lambdas, prefer_expression_function_bodies, lines_longer_than_80_chars, avoid_as, avoid_annotating_with_dynamic, no_leading_underscores_for_local_identifiers
mixin _$BaseViewModel on _BaseViewModel, Store {
Computed? _$isBusyComputed;
@@ -16,7 +16,8 @@ mixin _$BaseViewModel on _BaseViewModel, Store {
Computed(() => super.isBusy, name: '_BaseViewModel.isBusy'))
.value;
- final _$_isBusyAtom = Atom(name: '_BaseViewModel._isBusy');
+ late final _$_isBusyAtom =
+ Atom(name: '_BaseViewModel._isBusy', context: context);
@override
bool get _isBusy {
@@ -31,8 +32,8 @@ mixin _$BaseViewModel on _BaseViewModel, Store {
});
}
- final _$_BaseViewModelActionController =
- ActionController(name: '_BaseViewModel');
+ late final _$_BaseViewModelActionController =
+ ActionController(name: '_BaseViewModel', context: context);
@override
void setBusy(bool state) {
diff --git a/lib/src/application/packages/detail_package_view_model.dart b/lib/src/application/packages/detail_package_view_model.dart
index e2d5489..7e6704a 100644
--- a/lib/src/application/packages/detail_package_view_model.dart
+++ b/lib/src/application/packages/detail_package_view_model.dart
@@ -48,7 +48,7 @@ abstract class _DetailPackageViewModel extends BaseViewModel with Store {
bool _loadingChangelog = false;
@observable
- RequestFailure? failure = null;
+ RequestFailure? failure;
@computed
bool get hasError => failure != null;
@@ -69,7 +69,7 @@ abstract class _DetailPackageViewModel extends BaseViewModel with Store {
List get dependencies => _version!.pubspec.dependencies;
@computed
- List get dev_dependencies => _version!.pubspec.dev_dependencies;
+ List get devDependencies => _version!.pubspec.devDependencies;
@computed
Environment get environment => _version!.pubspec.environment;
diff --git a/lib/src/application/packages/detail_package_view_model.g.dart b/lib/src/application/packages/detail_package_view_model.g.dart
index 5717832..9e0a015 100644
--- a/lib/src/application/packages/detail_package_view_model.g.dart
+++ b/lib/src/application/packages/detail_package_view_model.g.dart
@@ -6,7 +6,7 @@ part of 'detail_package_view_model.dart';
// StoreGenerator
// **************************************************************************
-// ignore_for_file: non_constant_identifier_names, unnecessary_brace_in_string_interps, unnecessary_lambdas, prefer_expression_function_bodies, lines_longer_than_80_chars, avoid_as, avoid_annotating_with_dynamic
+// ignore_for_file: non_constant_identifier_names, unnecessary_brace_in_string_interps, unnecessary_lambdas, prefer_expression_function_bodies, lines_longer_than_80_chars, avoid_as, avoid_annotating_with_dynamic, no_leading_underscores_for_local_identifiers
mixin _$DetailPackageViewModel on _DetailPackageViewModel, Store {
Computed? _$hasErrorComputed;
@@ -53,8 +53,8 @@ mixin _$DetailPackageViewModel on _DetailPackageViewModel, Store {
Computed>? _$dev_dependenciesComputed;
@override
- List get dev_dependencies => (_$dev_dependenciesComputed ??=
- Computed>(() => super.dev_dependencies,
+ List get devDependencies => (_$dev_dependenciesComputed ??=
+ Computed>(() => super.devDependencies,
name: '_DetailPackageViewModel.dev_dependencies'))
.value;
Computed? _$environmentComputed;
@@ -120,7 +120,8 @@ mixin _$DetailPackageViewModel on _DetailPackageViewModel, Store {
name: '_DetailPackageViewModel.loadingChangelog'))
.value;
- final _$_packageAtom = Atom(name: '_DetailPackageViewModel._package');
+ late final _$_packageAtom =
+ Atom(name: '_DetailPackageViewModel._package', context: context);
@override
Package? get _package {
@@ -135,7 +136,8 @@ mixin _$DetailPackageViewModel on _DetailPackageViewModel, Store {
});
}
- final _$_versionAtom = Atom(name: '_DetailPackageViewModel._version');
+ late final _$_versionAtom =
+ Atom(name: '_DetailPackageViewModel._version', context: context);
@override
Version? get _version {
@@ -150,7 +152,8 @@ mixin _$DetailPackageViewModel on _DetailPackageViewModel, Store {
});
}
- final _$_metricAtom = Atom(name: '_DetailPackageViewModel._metric');
+ late final _$_metricAtom =
+ Atom(name: '_DetailPackageViewModel._metric', context: context);
@override
Metric get _metric {
@@ -165,7 +168,8 @@ mixin _$DetailPackageViewModel on _DetailPackageViewModel, Store {
});
}
- final _$_readmeAtom = Atom(name: '_DetailPackageViewModel._readme');
+ late final _$_readmeAtom =
+ Atom(name: '_DetailPackageViewModel._readme', context: context);
@override
String get _readme {
@@ -180,7 +184,8 @@ mixin _$DetailPackageViewModel on _DetailPackageViewModel, Store {
});
}
- final _$_publisherAtom = Atom(name: '_DetailPackageViewModel._publisher');
+ late final _$_publisherAtom =
+ Atom(name: '_DetailPackageViewModel._publisher', context: context);
@override
String get _publisher {
@@ -195,7 +200,8 @@ mixin _$DetailPackageViewModel on _DetailPackageViewModel, Store {
});
}
- final _$_changelogAtom = Atom(name: '_DetailPackageViewModel._changelog');
+ late final _$_changelogAtom =
+ Atom(name: '_DetailPackageViewModel._changelog', context: context);
@override
String get _changelog {
@@ -210,8 +216,8 @@ mixin _$DetailPackageViewModel on _DetailPackageViewModel, Store {
});
}
- final _$_loadingReadmeAtom =
- Atom(name: '_DetailPackageViewModel._loadingReadme');
+ late final _$_loadingReadmeAtom =
+ Atom(name: '_DetailPackageViewModel._loadingReadme', context: context);
@override
bool get _loadingReadme {
@@ -226,8 +232,8 @@ mixin _$DetailPackageViewModel on _DetailPackageViewModel, Store {
});
}
- final _$_loadingChangelogAtom =
- Atom(name: '_DetailPackageViewModel._loadingChangelog');
+ late final _$_loadingChangelogAtom =
+ Atom(name: '_DetailPackageViewModel._loadingChangelog', context: context);
@override
bool get _loadingChangelog {
@@ -242,7 +248,8 @@ mixin _$DetailPackageViewModel on _DetailPackageViewModel, Store {
});
}
- final _$failureAtom = Atom(name: '_DetailPackageViewModel.failure');
+ late final _$failureAtom =
+ Atom(name: '_DetailPackageViewModel.failure', context: context);
@override
RequestFailure? get failure {
@@ -257,7 +264,8 @@ mixin _$DetailPackageViewModel on _DetailPackageViewModel, Store {
});
}
- final _$loadAsyncAction = AsyncAction('_DetailPackageViewModel.load');
+ late final _$loadAsyncAction =
+ AsyncAction('_DetailPackageViewModel.load', context: context);
@override
Future load(String packageName, {bool refresh = false}) {
@@ -265,8 +273,8 @@ mixin _$DetailPackageViewModel on _DetailPackageViewModel, Store {
.run(() => super.load(packageName, refresh: refresh));
}
- final _$loadPublisherAsyncAction =
- AsyncAction('_DetailPackageViewModel.loadPublisher');
+ late final _$loadPublisherAsyncAction =
+ AsyncAction('_DetailPackageViewModel.loadPublisher', context: context);
@override
Future loadPublisher(String namePackage) {
@@ -274,32 +282,32 @@ mixin _$DetailPackageViewModel on _DetailPackageViewModel, Store {
.run(() => super.loadPublisher(namePackage));
}
- final _$loadReadmeAsyncAction =
- AsyncAction('_DetailPackageViewModel.loadReadme');
+ late final _$loadReadmeAsyncAction =
+ AsyncAction('_DetailPackageViewModel.loadReadme', context: context);
@override
Future loadReadme() {
return _$loadReadmeAsyncAction.run(() => super.loadReadme());
}
- final _$loadChangelogAsyncAction =
- AsyncAction('_DetailPackageViewModel.loadChangelog');
+ late final _$loadChangelogAsyncAction =
+ AsyncAction('_DetailPackageViewModel.loadChangelog', context: context);
@override
Future loadChangelog() {
return _$loadChangelogAsyncAction.run(() => super.loadChangelog());
}
- final _$loadScoreAsyncAction =
- AsyncAction('_DetailPackageViewModel.loadScore');
+ late final _$loadScoreAsyncAction =
+ AsyncAction('_DetailPackageViewModel.loadScore', context: context);
@override
Future loadScore() {
return _$loadScoreAsyncAction.run(() => super.loadScore());
}
- final _$_DetailPackageViewModelActionController =
- ActionController(name: '_DetailPackageViewModel');
+ late final _$_DetailPackageViewModelActionController =
+ ActionController(name: '_DetailPackageViewModel', context: context);
@override
void setPackage(Package package) {
@@ -333,7 +341,7 @@ score: ${score},
metric: ${metric},
version: ${version},
dependencies: ${dependencies},
-dev_dependencies: ${dev_dependencies},
+dev_dependencies: ${devDependencies},
environment: ${environment},
readme: ${readme},
changelog: ${changelog},
diff --git a/lib/src/application/packages/packages_view_model.dart b/lib/src/application/packages/packages_view_model.dart
index 1cb9693..41669a6 100644
--- a/lib/src/application/packages/packages_view_model.dart
+++ b/lib/src/application/packages/packages_view_model.dart
@@ -20,7 +20,7 @@ abstract class _PackagesViewModel extends BaseViewModel with Store {
ObservableList _packages = ObservableList.of([]);
@observable
- RequestFailure? _failure = null;
+ RequestFailure? _failure;
@computed
bool get hasError => _failure != null;
diff --git a/lib/src/application/packages/packages_view_model.g.dart b/lib/src/application/packages/packages_view_model.g.dart
index b0079f8..385abd5 100644
--- a/lib/src/application/packages/packages_view_model.g.dart
+++ b/lib/src/application/packages/packages_view_model.g.dart
@@ -6,7 +6,7 @@ part of 'packages_view_model.dart';
// StoreGenerator
// **************************************************************************
-// ignore_for_file: non_constant_identifier_names, unnecessary_brace_in_string_interps, unnecessary_lambdas, prefer_expression_function_bodies, lines_longer_than_80_chars, avoid_as, avoid_annotating_with_dynamic
+// ignore_for_file: non_constant_identifier_names, unnecessary_brace_in_string_interps, unnecessary_lambdas, prefer_expression_function_bodies, lines_longer_than_80_chars, avoid_as, avoid_annotating_with_dynamic, no_leading_underscores_for_local_identifiers
mixin _$PackagesViewModel on _PackagesViewModel, Store {
Computed? _$hasErrorComputed;
@@ -37,7 +37,8 @@ mixin _$PackagesViewModel on _PackagesViewModel, Store {
name: '_PackagesViewModel.hasData'))
.value;
- final _$_packagesAtom = Atom(name: '_PackagesViewModel._packages');
+ late final _$_packagesAtom =
+ Atom(name: '_PackagesViewModel._packages', context: context);
@override
ObservableList get _packages {
@@ -52,7 +53,8 @@ mixin _$PackagesViewModel on _PackagesViewModel, Store {
});
}
- final _$_failureAtom = Atom(name: '_PackagesViewModel._failure');
+ late final _$_failureAtom =
+ Atom(name: '_PackagesViewModel._failure', context: context);
@override
RequestFailure? get _failure {
@@ -67,15 +69,16 @@ mixin _$PackagesViewModel on _PackagesViewModel, Store {
});
}
- final _$loadAsyncAction = AsyncAction('_PackagesViewModel.load');
+ late final _$loadAsyncAction =
+ AsyncAction('_PackagesViewModel.load', context: context);
@override
Future load({bool refresh = false}) {
return _$loadAsyncAction.run(() => super.load(refresh: refresh));
}
- final _$_PackagesViewModelActionController =
- ActionController(name: '_PackagesViewModel');
+ late final _$_PackagesViewModelActionController =
+ ActionController(name: '_PackagesViewModel', context: context);
@override
void _setData(List list, bool refresh) {
diff --git a/lib/src/application/search/search_view_model.dart b/lib/src/application/search/search_view_model.dart
index 07d77ee..7fab421 100644
--- a/lib/src/application/search/search_view_model.dart
+++ b/lib/src/application/search/search_view_model.dart
@@ -18,7 +18,7 @@ abstract class _SearchViewModel extends BaseViewModel with Store {
ObservableList _results = ObservableList.of([]);
@observable
- RequestFailure? failure = null;
+ RequestFailure? failure;
@computed
bool get hasError => failure != null;
diff --git a/lib/src/application/search/search_view_model.g.dart b/lib/src/application/search/search_view_model.g.dart
index 362117d..407a1de 100644
--- a/lib/src/application/search/search_view_model.g.dart
+++ b/lib/src/application/search/search_view_model.g.dart
@@ -6,7 +6,7 @@ part of 'search_view_model.dart';
// StoreGenerator
// **************************************************************************
-// ignore_for_file: non_constant_identifier_names, unnecessary_brace_in_string_interps, unnecessary_lambdas, prefer_expression_function_bodies, lines_longer_than_80_chars, avoid_as, avoid_annotating_with_dynamic
+// ignore_for_file: non_constant_identifier_names, unnecessary_brace_in_string_interps, unnecessary_lambdas, prefer_expression_function_bodies, lines_longer_than_80_chars, avoid_as, avoid_annotating_with_dynamic, no_leading_underscores_for_local_identifiers
mixin _$SearchViewModel on _SearchViewModel, Store {
Computed? _$hasErrorComputed;
@@ -30,7 +30,8 @@ mixin _$SearchViewModel on _SearchViewModel, Store {
Computed(() => super.hasData, name: '_SearchViewModel.hasData'))
.value;
- final _$_resultsAtom = Atom(name: '_SearchViewModel._results');
+ late final _$_resultsAtom =
+ Atom(name: '_SearchViewModel._results', context: context);
@override
ObservableList get _results {
@@ -45,7 +46,8 @@ mixin _$SearchViewModel on _SearchViewModel, Store {
});
}
- final _$failureAtom = Atom(name: '_SearchViewModel.failure');
+ late final _$failureAtom =
+ Atom(name: '_SearchViewModel.failure', context: context);
@override
RequestFailure? get failure {
@@ -60,7 +62,8 @@ mixin _$SearchViewModel on _SearchViewModel, Store {
});
}
- final _$loadAsyncAction = AsyncAction('_SearchViewModel.load');
+ late final _$loadAsyncAction =
+ AsyncAction('_SearchViewModel.load', context: context);
@override
Future load({required String query, bool refresh = false}) {
@@ -68,8 +71,8 @@ mixin _$SearchViewModel on _SearchViewModel, Store {
.run(() => super.load(query: query, refresh: refresh));
}
- final _$_SearchViewModelActionController =
- ActionController(name: '_SearchViewModel');
+ late final _$_SearchViewModelActionController =
+ ActionController(name: '_SearchViewModel', context: context);
@override
void setData(List list, bool refresh) {
diff --git a/lib/src/application/settings/config_view_model.dart b/lib/src/application/settings/config_view_model.dart
index 5bd3417..54b7138 100644
--- a/lib/src/application/settings/config_view_model.dart
+++ b/lib/src/application/settings/config_view_model.dart
@@ -1,4 +1,3 @@
-import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_package/src/application/core/base_view_model.dart';
import 'package:flutter_package/src/domain/core/data/config_preference.dart';
diff --git a/lib/src/application/settings/config_view_model.g.dart b/lib/src/application/settings/config_view_model.g.dart
index 2aa0b05..cb14068 100644
--- a/lib/src/application/settings/config_view_model.g.dart
+++ b/lib/src/application/settings/config_view_model.g.dart
@@ -6,7 +6,7 @@ part of 'config_view_model.dart';
// StoreGenerator
// **************************************************************************
-// ignore_for_file: non_constant_identifier_names, unnecessary_brace_in_string_interps, unnecessary_lambdas, prefer_expression_function_bodies, lines_longer_than_80_chars, avoid_as, avoid_annotating_with_dynamic
+// ignore_for_file: non_constant_identifier_names, unnecessary_brace_in_string_interps, unnecessary_lambdas, prefer_expression_function_bodies, lines_longer_than_80_chars, avoid_as, avoid_annotating_with_dynamic, no_leading_underscores_for_local_identifiers
mixin _$ConfigViewModel on _ConfigViewModel, Store {
Computed? _$localeComputed;
@@ -30,8 +30,8 @@ mixin _$ConfigViewModel on _ConfigViewModel, Store {
name: '_ConfigViewModel.darkModeIsEnable'))
.value;
- final _$_darkModeIsEnableAtom =
- Atom(name: '_ConfigViewModel._darkModeIsEnable');
+ late final _$_darkModeIsEnableAtom =
+ Atom(name: '_ConfigViewModel._darkModeIsEnable', context: context);
@override
bool get _darkModeIsEnable {
@@ -46,7 +46,8 @@ mixin _$ConfigViewModel on _ConfigViewModel, Store {
});
}
- final _$_themeDataAtom = Atom(name: '_ConfigViewModel._themeData');
+ late final _$_themeDataAtom =
+ Atom(name: '_ConfigViewModel._themeData', context: context);
@override
ThemeData? get _themeData {
@@ -61,7 +62,8 @@ mixin _$ConfigViewModel on _ConfigViewModel, Store {
});
}
- final _$_localeAtom = Atom(name: '_ConfigViewModel._locale');
+ late final _$_localeAtom =
+ Atom(name: '_ConfigViewModel._locale', context: context);
@override
Locale? get _locale {
@@ -76,15 +78,16 @@ mixin _$ConfigViewModel on _ConfigViewModel, Store {
});
}
- final _$initializeAsyncAction = AsyncAction('_ConfigViewModel.initialize');
+ late final _$initializeAsyncAction =
+ AsyncAction('_ConfigViewModel.initialize', context: context);
@override
Future initialize() {
return _$initializeAsyncAction.run(() => super.initialize());
}
- final _$changeTranslateAsyncAction =
- AsyncAction('_ConfigViewModel.changeTranslate');
+ late final _$changeTranslateAsyncAction =
+ AsyncAction('_ConfigViewModel.changeTranslate', context: context);
@override
Future changeTranslate({required String languageCode}) {
@@ -92,16 +95,15 @@ mixin _$ConfigViewModel on _ConfigViewModel, Store {
.run(() => super.changeTranslate(languageCode: languageCode));
}
- final _$enableDarkModeAsyncAction =
- AsyncAction('_ConfigViewModel.enableDarkMode');
+ late final _$enableDarkModeAsyncAction =
+ AsyncAction('_ConfigViewModel.enableDarkMode', context: context);
@override
Future enableDarkMode() {
return _$enableDarkModeAsyncAction.run(() => super.enableDarkMode());
}
- final _$disableDarkModeAsyncAction =
- AsyncAction('_ConfigViewModel.disableDarkMode');
+ late final _$disableDarkModeAsyncAction = AsyncAction('_ConfigViewModel.disableDarkMode', context: context);
@override
Future disableDarkMode() {
diff --git a/lib/src/domain/core/api_service.dart b/lib/src/domain/core/api_service.dart
index 1e76831..e0d7a03 100644
--- a/lib/src/domain/core/api_service.dart
+++ b/lib/src/domain/core/api_service.dart
@@ -1,6 +1,6 @@
import 'package:dio/dio.dart';
abstract class Api {
- const Api(this.dio) : assert(dio != null);
+ const Api(this.dio);
final Dio dio;
}
diff --git a/lib/src/domain/core/request_failure.freezed.dart b/lib/src/domain/core/request_failure.freezed.dart
index 66a6586..0b8008d 100644
--- a/lib/src/domain/core/request_failure.freezed.dart
+++ b/lib/src/domain/core/request_failure.freezed.dart
@@ -1,5 +1,7 @@
+// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
-// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides
+// ignore_for_file: type=lint
+// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark
part of 'request_failure.dart';
@@ -10,27 +12,7 @@ part of 'request_failure.dart';
T _$identity(T value) => value;
final _privateConstructorUsedError = UnsupportedError(
- 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more informations: https://github.com/rrousselGit/freezed#custom-getters-and-methods');
-
-/// @nodoc
-class _$RequestFailureTearOff {
- const _$RequestFailureTearOff();
-
- _NetworkFailure networkError() {
- return _NetworkFailure();
- }
-
- _Empty empty() {
- return _Empty();
- }
-
- _ServerError serverError() {
- return _ServerError();
- }
-}
-
-/// @nodoc
-const $RequestFailure = _$RequestFailureTearOff();
+ 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods');
/// @nodoc
mixin _$RequestFailure {
@@ -42,6 +24,13 @@ mixin _$RequestFailure {
}) =>
throw _privateConstructorUsedError;
@optionalTypeArgs
+ TResult? whenOrNull({
+ TResult? Function()? networkError,
+ TResult? Function()? empty,
+ TResult? Function()? serverError,
+ }) =>
+ throw _privateConstructorUsedError;
+ @optionalTypeArgs
TResult maybeWhen({
TResult Function()? networkError,
TResult Function()? empty,
@@ -57,6 +46,13 @@ mixin _$RequestFailure {
}) =>
throw _privateConstructorUsedError;
@optionalTypeArgs
+ TResult? mapOrNull({
+ TResult? Function(_NetworkFailure value)? networkError,
+ TResult? Function(_Empty value)? empty,
+ TResult? Function(_ServerError value)? serverError,
+ }) =>
+ throw _privateConstructorUsedError;
+ @optionalTypeArgs
TResult maybeMap({
TResult Function(_NetworkFailure value)? networkError,
TResult Function(_Empty value)? empty,
@@ -70,36 +66,34 @@ mixin _$RequestFailure {
abstract class $RequestFailureCopyWith<$Res> {
factory $RequestFailureCopyWith(
RequestFailure value, $Res Function(RequestFailure) then) =
- _$RequestFailureCopyWithImpl<$Res>;
+ _$RequestFailureCopyWithImpl<$Res, RequestFailure>;
}
/// @nodoc
-class _$RequestFailureCopyWithImpl<$Res>
+class _$RequestFailureCopyWithImpl<$Res, $Val extends RequestFailure>
implements $RequestFailureCopyWith<$Res> {
_$RequestFailureCopyWithImpl(this._value, this._then);
- final RequestFailure _value;
// ignore: unused_field
- final $Res Function(RequestFailure) _then;
+ final $Val _value;
+ // ignore: unused_field
+ final $Res Function($Val) _then;
}
/// @nodoc
-abstract class _$NetworkFailureCopyWith<$Res> {
- factory _$NetworkFailureCopyWith(
- _NetworkFailure value, $Res Function(_NetworkFailure) then) =
- __$NetworkFailureCopyWithImpl<$Res>;
+abstract class _$$_NetworkFailureCopyWith<$Res> {
+ factory _$$_NetworkFailureCopyWith(
+ _$_NetworkFailure value, $Res Function(_$_NetworkFailure) then) =
+ __$$_NetworkFailureCopyWithImpl<$Res>;
}
/// @nodoc
-class __$NetworkFailureCopyWithImpl<$Res>
- extends _$RequestFailureCopyWithImpl<$Res>
- implements _$NetworkFailureCopyWith<$Res> {
- __$NetworkFailureCopyWithImpl(
- _NetworkFailure _value, $Res Function(_NetworkFailure) _then)
- : super(_value, (v) => _then(v as _NetworkFailure));
-
- @override
- _NetworkFailure get _value => super._value as _NetworkFailure;
+class __$$_NetworkFailureCopyWithImpl<$Res>
+ extends _$RequestFailureCopyWithImpl<$Res, _$_NetworkFailure>
+ implements _$$_NetworkFailureCopyWith<$Res> {
+ __$$_NetworkFailureCopyWithImpl(
+ _$_NetworkFailure _value, $Res Function(_$_NetworkFailure) _then)
+ : super(_value, _then);
}
/// @nodoc
@@ -114,7 +108,8 @@ class _$_NetworkFailure implements _NetworkFailure {
@override
bool operator ==(dynamic other) {
- return identical(this, other) || (other is _NetworkFailure);
+ return identical(this, other) ||
+ (other.runtimeType == runtimeType && other is _$_NetworkFailure);
}
@override
@@ -130,6 +125,16 @@ class _$_NetworkFailure implements _NetworkFailure {
return networkError();
}
+ @override
+ @optionalTypeArgs
+ TResult? whenOrNull({
+ TResult? Function()? networkError,
+ TResult? Function()? empty,
+ TResult? Function()? serverError,
+ }) {
+ return networkError?.call();
+ }
+
@override
@optionalTypeArgs
TResult maybeWhen({
@@ -154,6 +159,16 @@ class _$_NetworkFailure implements _NetworkFailure {
return networkError(this);
}
+ @override
+ @optionalTypeArgs
+ TResult? mapOrNull({
+ TResult? Function(_NetworkFailure value)? networkError,
+ TResult? Function(_Empty value)? empty,
+ TResult? Function(_ServerError value)? serverError,
+ }) {
+ return networkError?.call(this);
+ }
+
@override
@optionalTypeArgs
TResult maybeMap({
@@ -174,19 +189,17 @@ abstract class _NetworkFailure implements RequestFailure {
}
/// @nodoc
-abstract class _$EmptyCopyWith<$Res> {
- factory _$EmptyCopyWith(_Empty value, $Res Function(_Empty) then) =
- __$EmptyCopyWithImpl<$Res>;
+abstract class _$$_EmptyCopyWith<$Res> {
+ factory _$$_EmptyCopyWith(_$_Empty value, $Res Function(_$_Empty) then) =
+ __$$_EmptyCopyWithImpl<$Res>;
}
/// @nodoc
-class __$EmptyCopyWithImpl<$Res> extends _$RequestFailureCopyWithImpl<$Res>
- implements _$EmptyCopyWith<$Res> {
- __$EmptyCopyWithImpl(_Empty _value, $Res Function(_Empty) _then)
- : super(_value, (v) => _then(v as _Empty));
-
- @override
- _Empty get _value => super._value as _Empty;
+class __$$_EmptyCopyWithImpl<$Res>
+ extends _$RequestFailureCopyWithImpl<$Res, _$_Empty>
+ implements _$$_EmptyCopyWith<$Res> {
+ __$$_EmptyCopyWithImpl(_$_Empty _value, $Res Function(_$_Empty) _then)
+ : super(_value, _then);
}
/// @nodoc
@@ -201,7 +214,8 @@ class _$_Empty implements _Empty {
@override
bool operator ==(dynamic other) {
- return identical(this, other) || (other is _Empty);
+ return identical(this, other) ||
+ (other.runtimeType == runtimeType && other is _$_Empty);
}
@override
@@ -217,6 +231,16 @@ class _$_Empty implements _Empty {
return empty();
}
+ @override
+ @optionalTypeArgs
+ TResult? whenOrNull({
+ TResult? Function()? networkError,
+ TResult? Function()? empty,
+ TResult? Function()? serverError,
+ }) {
+ return empty?.call();
+ }
+
@override
@optionalTypeArgs
TResult maybeWhen({
@@ -241,6 +265,16 @@ class _$_Empty implements _Empty {
return empty(this);
}
+ @override
+ @optionalTypeArgs
+ TResult? mapOrNull({
+ TResult? Function(_NetworkFailure value)? networkError,
+ TResult? Function(_Empty value)? empty,
+ TResult? Function(_ServerError value)? serverError,
+ }) {
+ return empty?.call(this);
+ }
+
@override
@optionalTypeArgs
TResult maybeMap({
@@ -261,22 +295,19 @@ abstract class _Empty implements RequestFailure {
}
/// @nodoc
-abstract class _$ServerErrorCopyWith<$Res> {
- factory _$ServerErrorCopyWith(
- _ServerError value, $Res Function(_ServerError) then) =
- __$ServerErrorCopyWithImpl<$Res>;
+abstract class _$$_ServerErrorCopyWith<$Res> {
+ factory _$$_ServerErrorCopyWith(
+ _$_ServerError value, $Res Function(_$_ServerError) then) =
+ __$$_ServerErrorCopyWithImpl<$Res>;
}
/// @nodoc
-class __$ServerErrorCopyWithImpl<$Res>
- extends _$RequestFailureCopyWithImpl<$Res>
- implements _$ServerErrorCopyWith<$Res> {
- __$ServerErrorCopyWithImpl(
- _ServerError _value, $Res Function(_ServerError) _then)
- : super(_value, (v) => _then(v as _ServerError));
-
- @override
- _ServerError get _value => super._value as _ServerError;
+class __$$_ServerErrorCopyWithImpl<$Res>
+ extends _$RequestFailureCopyWithImpl<$Res, _$_ServerError>
+ implements _$$_ServerErrorCopyWith<$Res> {
+ __$$_ServerErrorCopyWithImpl(
+ _$_ServerError _value, $Res Function(_$_ServerError) _then)
+ : super(_value, _then);
}
/// @nodoc
@@ -291,7 +322,8 @@ class _$_ServerError implements _ServerError {
@override
bool operator ==(dynamic other) {
- return identical(this, other) || (other is _ServerError);
+ return identical(this, other) ||
+ (other.runtimeType == runtimeType && other is _$_ServerError);
}
@override
@@ -307,6 +339,16 @@ class _$_ServerError implements _ServerError {
return serverError();
}
+ @override
+ @optionalTypeArgs
+ TResult? whenOrNull({
+ TResult? Function()? networkError,
+ TResult? Function()? empty,
+ TResult? Function()? serverError,
+ }) {
+ return serverError?.call();
+ }
+
@override
@optionalTypeArgs
TResult maybeWhen({
@@ -331,6 +373,16 @@ class _$_ServerError implements _ServerError {
return serverError(this);
}
+ @override
+ @optionalTypeArgs
+ TResult? mapOrNull({
+ TResult? Function(_NetworkFailure value)? networkError,
+ TResult? Function(_Empty value)? empty,
+ TResult? Function(_ServerError value)? serverError,
+ }) {
+ return serverError?.call(this);
+ }
+
@override
@optionalTypeArgs
TResult maybeMap({
diff --git a/lib/src/domain/packages/entities/package.dart b/lib/src/domain/packages/entities/package.dart
index 2565d5a..61ae241 100644
--- a/lib/src/domain/packages/entities/package.dart
+++ b/lib/src/domain/packages/entities/package.dart
@@ -1,18 +1,15 @@
import 'package:flutter_package/src/domain/packages/entities/version.dart';
-import 'dependency.dart';
-import 'version.dart';
-
class Package {
final String name;
- final String package_url;
+ final String packageUrl;
final String url;
final List versions;
final Version latest;
const Package(
{required this.name,
- required this.package_url,
+ required this.packageUrl,
required this.url,
required this.latest,
required this.versions});
@@ -20,7 +17,7 @@ class Package {
Map toMap() {
return {
'name': this.name,
- 'package_url': this.package_url,
+ 'package_url': this.packageUrl,
'url': this.url,
'versions': this.versions,
'latest': this.latest,
diff --git a/lib/src/domain/packages/entities/pubspec.dart b/lib/src/domain/packages/entities/pubspec.dart
index 0dbb9c5..64ea6c4 100644
--- a/lib/src/domain/packages/entities/pubspec.dart
+++ b/lib/src/domain/packages/entities/pubspec.dart
@@ -9,7 +9,7 @@ class Pubspec {
final String repository;
final Environment environment;
final List dependencies;
- final List dev_dependencies;
+ final List devDependencies;
Pubspec(
{required this.name,
@@ -19,7 +19,7 @@ class Pubspec {
required this.repository,
required this.environment,
required this.dependencies,
- required this.dev_dependencies});
+ required this.devDependencies});
Map toMap() {
return {
@@ -29,7 +29,7 @@ class Pubspec {
'repository': this.repository,
'homepage': this.homepage,
'dependencies': this.dependencies,
- 'dev_dependencies': this.dev_dependencies,
+ 'dev_dependencies': this.devDependencies,
};
}
diff --git a/lib/src/domain/packages/entities/version.dart b/lib/src/domain/packages/entities/version.dart
index e9b6b64..1b56a8e 100644
--- a/lib/src/domain/packages/entities/version.dart
+++ b/lib/src/domain/packages/entities/version.dart
@@ -2,13 +2,13 @@ import 'package:flutter_package/src/domain/packages/entities/pubspec.dart';
class Version {
final String version;
- final String archive_url;
+ final String archiveUrl;
final String published;
final Pubspec pubspec;
Version(
{required this.version,
- required this.archive_url,
+ required this.archiveUrl,
required this.pubspec,
required this.published});
@@ -16,7 +16,7 @@ class Version {
return {
'version': this.version,
'published': this.published,
- 'archive_url': this.archive_url,
+ 'archive_url': this.archiveUrl,
'pubspec': this.pubspec,
};
}
diff --git a/lib/src/infrastructure/core/mapper.dart b/lib/src/infrastructure/core/mapper.dart
index aa09c7e..5cbdad8 100644
--- a/lib/src/infrastructure/core/mapper.dart
+++ b/lib/src/infrastructure/core/mapper.dart
@@ -37,12 +37,12 @@ abstract class Mapper {
? []
: List.from(map['versions']).map((e) => versionFromMap(e)).toList();
- var package_url =
+ var packageUrl =
(map['package_url'] != null) ? map['package_url'] as String : '';
return Package(
name: map['name'] as String,
- package_url: package_url,
+ packageUrl: packageUrl,
url: (map['url'] != null) ? map['url'] as String : '',
versions: versions,
latest: versionFromMap(map['latest']),
@@ -66,7 +66,7 @@ abstract class Mapper {
? []
: _getDependencies(map['dependencies']);
- var dev_dependencies = (map['dev_dependencies'] == null)
+ var devDependencies = (map['dev_dependencies'] == null)
? []
: _getDependencies(map['dev_dependencies']);
@@ -81,7 +81,7 @@ abstract class Mapper {
repository:
(map['repository'] != null) ? map['repository'] as String : '',
homepage: (map['homepage'] != null) ? map['homepage'] as String : '',
- dev_dependencies: dev_dependencies,
+ devDependencies: devDependencies,
dependencies: dependencies,
environment: environment);
}
@@ -100,7 +100,7 @@ abstract class Mapper {
static Version versionFromMap(Map map) {
return new Version(
version: map['version'] as String,
- archive_url: map['archive_url'] as String,
+ archiveUrl: map['archive_url'] as String,
published:
(map.containsKey('published')) ? map['published'] as String : '',
pubspec: pubspecFromMap(map['pubspec']),
diff --git a/lib/src/infrastructure/core/network_builder.dart b/lib/src/infrastructure/core/network_builder.dart
index 70816a2..e668969 100644
--- a/lib/src/infrastructure/core/network_builder.dart
+++ b/lib/src/infrastructure/core/network_builder.dart
@@ -1,4 +1,3 @@
-import 'package:dio/adapter.dart';
import 'package:dio/dio.dart';
const String host = 'pub.dartlang.org';
@@ -15,11 +14,6 @@ class NetworkBuilder {
Dio build() {
final dio = Dio();
dio.options.baseUrl = (_baseUrl.isEmpty) ? apiBaseUrl : _baseUrl;
- final defaultClient = DefaultHttpClientAdapter();
- defaultClient.onHttpClientCreate = (httpClient) {
- httpClient.badCertificateCallback = (_, host, __) => host == apiBaseUrl;
- };
- dio.httpClientAdapter = defaultClient;
return dio;
}
}
diff --git a/lib/src/infrastructure/packages/base_package_repository.dart b/lib/src/infrastructure/packages/base_package_repository.dart
index 8e50bec..000fa8a 100644
--- a/lib/src/infrastructure/packages/base_package_repository.dart
+++ b/lib/src/infrastructure/packages/base_package_repository.dart
@@ -37,7 +37,7 @@ class BasePackageRepository extends IPackageRepository {
return left(RequestFailure.networkError());
}
- if (e.type == DioErrorType.connectTimeout ||
+ if (e.type == DioErrorType.connectionTimeout ||
e.type == DioErrorType.receiveTimeout ||
e.type == DioErrorType.sendTimeout) {
return left(RequestFailure.serverError());
@@ -74,7 +74,7 @@ class BasePackageRepository extends IPackageRepository {
return left(RequestFailure.networkError());
}
- if (e.type == DioErrorType.connectTimeout ||
+ if (e.type == DioErrorType.connectionTimeout ||
e.type == DioErrorType.receiveTimeout ||
e.type == DioErrorType.sendTimeout) {
return left(RequestFailure.serverError());
@@ -112,7 +112,7 @@ class BasePackageRepository extends IPackageRepository {
return left(RequestFailure.networkError());
}
- if (e.type == DioErrorType.connectTimeout ||
+ if (e.type == DioErrorType.connectionTimeout ||
e.type == DioErrorType.receiveTimeout ||
e.type == DioErrorType.sendTimeout) {
return left(RequestFailure.serverError());
@@ -149,7 +149,7 @@ class BasePackageRepository extends IPackageRepository {
return left(RequestFailure.networkError());
}
- if (e.type == DioErrorType.connectTimeout ||
+ if (e.type == DioErrorType.connectionTimeout ||
e.type == DioErrorType.receiveTimeout ||
e.type == DioErrorType.sendTimeout) {
return left(RequestFailure.serverError());
diff --git a/lib/src/infrastructure/search/base_search_repository.dart b/lib/src/infrastructure/search/base_search_repository.dart
index 7ee986e..4705ba5 100644
--- a/lib/src/infrastructure/search/base_search_repository.dart
+++ b/lib/src/infrastructure/search/base_search_repository.dart
@@ -36,7 +36,7 @@ class BaseSearchRepository extends ISearchRepository {
return left(RequestFailure.networkError());
}
- if (e.type == DioErrorType.connectTimeout ||
+ if (e.type == DioErrorType.connectionTimeout ||
e.type == DioErrorType.receiveTimeout ||
e.type == DioErrorType.sendTimeout) {
return left(RequestFailure.serverError());
diff --git a/lib/src/presentation/core/failure_message_view.dart b/lib/src/presentation/core/failure_message_view.dart
index 5cf07a7..5dc5f0d 100644
--- a/lib/src/presentation/core/failure_message_view.dart
+++ b/lib/src/presentation/core/failure_message_view.dart
@@ -1,4 +1,3 @@
-import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_package/src/presentation/core/styles.dart';
import 'package:flutter_package/src/utils/colors.dart';
@@ -11,7 +10,7 @@ import 'base_widget.dart';
class FailureMessageView extends BaseComponent {
final String textButton;
final Function()? onTap;
- String? icon;
+ final String? icon;
final double sizeIcon;
final bool reference;
final bool isColor;
diff --git a/lib/src/presentation/core/styles.dart b/lib/src/presentation/core/styles.dart
index 2e19e6a..30469a4 100644
--- a/lib/src/presentation/core/styles.dart
+++ b/lib/src/presentation/core/styles.dart
@@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
+import 'package:flutter/services.dart';
import 'package:flutter_package/src/utils/colors.dart';
import 'package:flutter_package/src/utils/constants.dart';
@@ -7,10 +8,10 @@ Widget get empty => SizedBox();
/// custom decoration
BoxDecoration decoration(
{Color? color,
- BoxBorder? border,
- double borderRadius = 0,
- DecorationImage? image,
- BoxShape shape = BoxShape.rectangle}) {
+ BoxBorder? border,
+ double borderRadius = 0,
+ DecorationImage? image,
+ BoxShape shape = BoxShape.rectangle}) {
return BoxDecoration(
image: image,
color: (color == null) ? kPlaceholderColor : color,
@@ -45,30 +46,32 @@ ThemeData lightTheme() {
kTitleTextColor = Colors.black;
kSubtitleTextColor = Colors.black;
return ThemeData(
- brightness: Brightness.light,
textTheme: TextTheme(
- headline1: styleText(),
- headline2: styleText(),
- headline3: styleText(),
- headline4: styleText(),
- headline5: styleText(),
- headline6: styleText(),
- bodyText1: styleText(),
- bodyText2: styleText(),
- subtitle1: styleText(),
- subtitle2: styleText(),
- caption: styleText(),
+ displayLarge: styleText(),
+ displayMedium: styleText(),
+ displaySmall: styleText(),
+ headlineMedium: styleText(),
+ headlineSmall: styleText(),
+ titleLarge: styleText(),
+ bodyLarge: styleText(),
+ bodyMedium: styleText(),
+ titleMedium: styleText(),
+ titleSmall: styleText(),
+ bodySmall: styleText(),
).apply(bodyColor: kTitleTextColor, displayColor: kTitleTextColor),
bottomSheetTheme: BottomSheetThemeData(backgroundColor: kBackgroundColor),
- accentColor: kPrimaryColor,
+ colorScheme: ColorScheme.dark(
+ background: kBackgroundColor,
+ secondary: kBackgroundColor,
+ brightness: Brightness.light,
+ ),
primaryColor: kPrimaryColor,
- backgroundColor: kBackgroundColor,
scaffoldBackgroundColor: kBackgroundColor,
dialogBackgroundColor: kBackgroundColor,
fontFamily: fontName,
iconTheme: IconThemeData(color: kIconColor),
appBarTheme: AppBarTheme(
- brightness: Brightness.dark,
+ systemOverlayStyle: SystemUiOverlayStyle.dark,
color: kBackgroundColor,
iconTheme: IconThemeData(color: kIconColor)),
);
@@ -82,31 +85,33 @@ ThemeData darkTheme() {
kTitleTextColor = Colors.white;
kSubtitleTextColor = Colors.white;
return ThemeData(
- brightness: Brightness.dark,
textTheme: TextTheme(
- headline1: styleText(),
- headline2: styleText(),
- headline3: styleText(),
- headline4: styleText(),
- headline5: styleText(),
- headline6: styleText(),
- bodyText1: styleText(),
- bodyText2: styleText(),
- subtitle1: styleText(),
- subtitle2: styleText(),
- caption: styleText(),
+ displayLarge: styleText(),
+ displayMedium: styleText(),
+ displaySmall: styleText(),
+ headlineMedium: styleText(),
+ headlineSmall: styleText(),
+ titleLarge: styleText(),
+ bodyLarge: styleText(),
+ bodyMedium: styleText(),
+ titleMedium: styleText(),
+ titleSmall: styleText(),
+ bodySmall: styleText(),
).apply(bodyColor: kTitleTextColor, displayColor: kTitleTextColor),
bottomSheetTheme: BottomSheetThemeData(backgroundColor: kBackgroundColor),
- accentColor: kBackgroundColor,
+ colorScheme: ColorScheme.light(
+ secondary: kBackgroundColor,
+ background: kBackgroundColor,
+ brightness: Brightness.dark,
+ ),
primaryColor: kPrimaryColor,
- backgroundColor: kBackgroundColor,
scaffoldBackgroundColor: kBackgroundColor,
dialogBackgroundColor: kBackgroundColor,
fontFamily: fontName,
iconTheme: IconThemeData(color: kIconColor),
appBarTheme: AppBarTheme(
- brightness: Brightness.light,
+ systemOverlayStyle: SystemUiOverlayStyle.light,
color: kBackgroundColor,
iconTheme: IconThemeData(color: kIconColor)),
);
-}
+}
\ No newline at end of file
diff --git a/lib/src/presentation/core/svg_icon.dart b/lib/src/presentation/core/svg_icon.dart
index aae11f6..721875e 100644
--- a/lib/src/presentation/core/svg_icon.dart
+++ b/lib/src/presentation/core/svg_icon.dart
@@ -1,28 +1,25 @@
import 'package:flutter/material.dart';
-import 'package:flutter/src/widgets/framework.dart';
import 'package:flutter_package/src/utils/colors.dart';
import 'package:flutter_svg/svg.dart';
import 'base_widget.dart';
class CustomIcon extends BaseComponent {
- double? size;
- Color? color;
+ final double? size;
+ final Color? color;
final isColor;
- CustomIcon(
- {this.size, this.color, required String icon, this.isColor = false})
- : super(value: icon);
+ CustomIcon({this.size, this.color, required String icon, this.isColor = false}) : super(value: icon);
@override
Widget build(BuildContext context) {
- size = size ?? 24;
- color = (isColor) ? null : color ?? kIconColor;
+ final size = this.size ?? 24;
+ final color = (isColor) ? null : this.color;
return SvgPicture.asset(
- 'assets/icons/${value}.svg',
+ 'assets/icons/$value.svg',
+ colorFilter: ColorFilter.mode(color ?? kIconColor, BlendMode.srcIn),
height: size,
width: size,
- color: color,
);
}
}
@@ -40,7 +37,7 @@ class SvgImage extends BaseComponent {
@override
Widget build(BuildContext context) {
return SvgPicture.asset(
- 'assets/icons/${value}.svg',
+ 'assets/icons/$value.svg',
height: height,
width: width,
fit: BoxFit.cover,
diff --git a/lib/src/presentation/core/tag.dart b/lib/src/presentation/core/tag.dart
index f541fbd..640beb6 100644
--- a/lib/src/presentation/core/tag.dart
+++ b/lib/src/presentation/core/tag.dart
@@ -1,4 +1,3 @@
-import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_package/src/presentation/core/base_widget.dart';
import 'package:flutter_package/src/utils/colors.dart';
diff --git a/lib/src/presentation/core/version_item.dart b/lib/src/presentation/core/version_item.dart
index ab0f21b..28a2d80 100644
--- a/lib/src/presentation/core/version_item.dart
+++ b/lib/src/presentation/core/version_item.dart
@@ -1,4 +1,3 @@
-import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_package/src/domain/packages/entities/version.dart';
import 'package:flutter_package/src/utils/colors.dart';
diff --git a/lib/src/presentation/packages/detail_package_screen.dart b/lib/src/presentation/packages/detail_package_screen.dart
index f391097..4ce7668 100644
--- a/lib/src/presentation/packages/detail_package_screen.dart
+++ b/lib/src/presentation/packages/detail_package_screen.dart
@@ -601,7 +601,7 @@ class DetailPackageScreenState extends State
dependencies: _model.dependencies),
_bodyDependencies(
title: 'dev_dependencies'.translate,
- dependencies: _model.dev_dependencies),
+ dependencies: _model.devDependencies),
_bodyEnvironment(),
_bodyVersions(),
verticalSpaceMedium()
@@ -636,7 +636,7 @@ class DetailPackageScreenState extends State
size: 20,
),
onPressed: () =>
- Util.openLink(url: _model.package.latest.archive_url)),
+ Util.openLink(url: _model.package.latest.archiveUrl)),
if (_model.hasData)
IconButton(
icon: CustomIcon(
diff --git a/lib/src/presentation/packages/item_package.dart b/lib/src/presentation/packages/item_package.dart
index 72e357a..a6ffb82 100644
--- a/lib/src/presentation/packages/item_package.dart
+++ b/lib/src/presentation/packages/item_package.dart
@@ -1,4 +1,3 @@
-import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_package/src/utils/colors.dart';
import 'package:flutter_package/src/utils/size.dart';
@@ -13,7 +12,7 @@ class ItemPackage extends StatelessWidget {
final Function() onShare;
final Function() onTap;
- Size size = Size(0.0, 0.0);
+ final Size size = Size(0.0, 0.0);
ItemPackage(
{required this.package,
@@ -109,8 +108,6 @@ class ItemPackage extends StatelessWidget {
@override
Widget build(BuildContext context) {
- // TODO: implement build
- size = MediaQuery.of(context).size;
return InkWell(
borderRadius: BorderRadius.all(Radius.circular(8.0)),
child: _build(),
diff --git a/lib/src/presentation/packages/packages_screen.dart b/lib/src/presentation/packages/packages_screen.dart
index dff09ee..728ef2d 100644
--- a/lib/src/presentation/packages/packages_screen.dart
+++ b/lib/src/presentation/packages/packages_screen.dart
@@ -154,7 +154,7 @@ class PackagesScreenState extends State
return ConfigBuilder(builder: (_, theme) {
return Scaffold(
appBar: AppBar(
- brightness: theme.brightness,
+ systemOverlayStyle: theme.appBarTheme.systemOverlayStyle,
centerTitle: false,
actions: [
IconButton(
diff --git a/lib/src/presentation/search/search_item.dart b/lib/src/presentation/search/search_item.dart
index 442d0c2..0a1dd57 100644
--- a/lib/src/presentation/search/search_item.dart
+++ b/lib/src/presentation/search/search_item.dart
@@ -1,4 +1,3 @@
-import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_package/src/presentation/core/base_widget.dart';
import 'package:flutter_package/src/utils/colors.dart';
@@ -7,7 +6,7 @@ import 'package:flutter_package/src/presentation/core/styles.dart';
/// [SearchItem]
class SearchItem extends BaseComponent {
- Function() onTap;
+ final Function() onTap;
SearchItem({required String name, required this.onTap}) : super(value: name);
diff --git a/lib/src/presentation/search/search_screen.dart b/lib/src/presentation/search/search_screen.dart
index 5351c74..7e93232 100644
--- a/lib/src/presentation/search/search_screen.dart
+++ b/lib/src/presentation/search/search_screen.dart
@@ -150,7 +150,7 @@ class _SearchScreenState extends State
preferredSize: Size.fromHeight(55),
child: AppBar(
backgroundColor: kBackgroundColor,
- brightness: theme.brightness,
+ systemOverlayStyle: theme.appBarTheme.systemOverlayStyle,
elevation: 0,
leading: BackButton(),
automaticallyImplyLeading: false,
diff --git a/lib/src/presentation/settings/config_builder.dart b/lib/src/presentation/settings/config_builder.dart
index fc872cb..bdaeb8a 100644
--- a/lib/src/presentation/settings/config_builder.dart
+++ b/lib/src/presentation/settings/config_builder.dart
@@ -1,7 +1,5 @@
-import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
-import 'package:flutter/rendering.dart';
import 'package:flutter_mobx/flutter_mobx.dart';
import 'package:flutter_package/src/application/settings/config_view_model.dart';
import 'package:flutter_package/src/injection/injection_config.dart';
diff --git a/lib/src/presentation/settings/settings_screen.dart b/lib/src/presentation/settings/settings_screen.dart
index 3522de5..34f35dd 100644
--- a/lib/src/presentation/settings/settings_screen.dart
+++ b/lib/src/presentation/settings/settings_screen.dart
@@ -1,6 +1,4 @@
-import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
-import 'package:flutter/rendering.dart';
import 'package:flutter_mobx/flutter_mobx.dart';
import 'package:flutter_package/src/application/settings/config_view_model.dart';
import 'package:flutter_package/src/injection/injection_config.dart';
@@ -14,7 +12,6 @@ import 'package:flutter_package/src/presentation/core/svg_icon.dart';
import 'package:flutter_package/src/utils/util.dart';
import 'package:flutter_package/src/l18n.dart';
import '../../utils/constants.dart';
-import '../../utils/size.dart';
class SettingScreen extends StatefulWidget {
static const route = '/settings_screen';
@@ -215,8 +212,8 @@ class _SettingState extends State
child: Scaffold(
appBar: AppBar(
elevation: 0.0,
- brightness: theme.brightness,
- backgroundColor: theme.backgroundColor,
+ systemOverlayStyle: theme.appBarTheme.systemOverlayStyle,
+ backgroundColor: theme.appBarTheme.backgroundColor,
title: Text(
'settings'.translate,
style: styleText(
diff --git a/lib/src/utils/util.dart b/lib/src/utils/util.dart
index ba4c4c6..3396906 100644
--- a/lib/src/utils/util.dart
+++ b/lib/src/utils/util.dart
@@ -31,7 +31,7 @@ class Util {
/// [shareProject] share the package address
static shareProject({required Package package}) {
- var url = package.latest.archive_url
+ var url = package.latest.archiveUrl
.replaceAll('/versions/${package.latest.version}.tar.gz', '');
Share.share(url);
}
diff --git a/pubspec.lock b/pubspec.lock
index 69ec2d1..54bea15 100644
--- a/pubspec.lock
+++ b/pubspec.lock
@@ -5,231 +5,256 @@ packages:
dependency: transitive
description:
name: _fe_analyzer_shared
- url: "https://pub.dartlang.org"
+ sha256: "569ddca58d535e601dd1584afa117710abc999d036c0cd2c51777fb257df78e8"
+ url: "https://pub.dev"
source: hosted
- version: "22.0.0"
+ version: "53.0.0"
analyzer:
dependency: transitive
description:
name: analyzer
- url: "https://pub.dartlang.org"
+ sha256: "10927c4b7c7c88b1adbca278c3d5531db92e2f4b4abf04e2919a800af965f3f5"
+ url: "https://pub.dev"
source: hosted
- version: "1.7.2"
+ version: "5.5.0"
archive:
dependency: transitive
description:
name: archive
- url: "https://pub.dartlang.org"
+ sha256: "80e5141fafcb3361653ce308776cfd7d45e6e9fbb429e14eec571382c0c5fecb"
+ url: "https://pub.dev"
source: hosted
- version: "3.1.6"
+ version: "3.3.2"
args:
dependency: transitive
description:
name: args
- url: "https://pub.dartlang.org"
+ sha256: "0bd9a99b6eb96f07af141f0eb53eace8983e8e5aa5de59777aca31684680ef22"
+ url: "https://pub.dev"
source: hosted
version: "2.3.0"
async:
dependency: transitive
description:
name: async
- url: "https://pub.dartlang.org"
+ sha256: bfe67ef28df125b7dddcea62755991f807aa39a2492a23e1550161692950bbe0
+ url: "https://pub.dev"
source: hosted
- version: "2.8.2"
+ version: "2.10.0"
boolean_selector:
dependency: transitive
description:
name: boolean_selector
- url: "https://pub.dartlang.org"
+ sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
+ url: "https://pub.dev"
source: hosted
- version: "2.1.0"
+ version: "2.1.1"
build:
dependency: transitive
description:
name: build
- url: "https://pub.dartlang.org"
+ sha256: "3fbda25365741f8251b39f3917fb3c8e286a96fd068a5a242e11c2012d495777"
+ url: "https://pub.dev"
source: hosted
- version: "2.2.1"
+ version: "2.3.1"
build_config:
dependency: transitive
description:
name: build_config
- url: "https://pub.dartlang.org"
+ sha256: bf80fcfb46a29945b423bd9aad884590fb1dc69b330a4d4700cac476af1708d1
+ url: "https://pub.dev"
source: hosted
- version: "1.0.0"
+ version: "1.1.1"
build_daemon:
dependency: transitive
description:
name: build_daemon
- url: "https://pub.dartlang.org"
+ sha256: "6bc5544ea6ce4428266e7ea680e945c68806c4aae2da0eb5e9ccf38df8d6acbf"
+ url: "https://pub.dev"
source: hosted
- version: "3.0.1"
+ version: "3.1.0"
build_resolvers:
dependency: "direct dev"
description:
name: build_resolvers
- url: "https://pub.dartlang.org"
+ sha256: "7c35a3a7868626257d8aee47b51c26b9dba11eaddf3431117ed2744951416aab"
+ url: "https://pub.dev"
source: hosted
- version: "2.0.4"
+ version: "2.1.0"
build_runner:
dependency: "direct dev"
description:
name: build_runner
- url: "https://pub.dartlang.org"
+ sha256: b0a8a7b8a76c493e85f1b84bffa0588859a06197863dba8c9036b15581fd9727
+ url: "https://pub.dev"
source: hosted
- version: "2.1.8"
+ version: "2.3.3"
build_runner_core:
dependency: transitive
description:
name: build_runner_core
- url: "https://pub.dartlang.org"
+ sha256: "0db1b64c84fa803603fa406f8721959036e898cc9575d6ce4a3067581b9276c0"
+ url: "https://pub.dev"
source: hosted
version: "7.2.2"
built_collection:
dependency: transitive
description:
name: built_collection
- url: "https://pub.dartlang.org"
+ sha256: "376e3dd27b51ea877c28d525560790aee2e6fbb5f20e2f85d5081027d94e2100"
+ url: "https://pub.dev"
source: hosted
version: "5.1.1"
built_value:
dependency: transitive
description:
name: built_value
- url: "https://pub.dartlang.org"
+ sha256: b6c9911b2d670376918d5b8779bc27e0e612a94ec3ff0343689e991d8d0a3b8a
+ url: "https://pub.dev"
source: hosted
version: "8.1.4"
characters:
dependency: transitive
description:
name: characters
- url: "https://pub.dartlang.org"
+ sha256: e6a326c8af69605aec75ed6c187d06b349707a27fbff8222ca9cc2cff167975c
+ url: "https://pub.dev"
source: hosted
- version: "1.2.0"
+ version: "1.2.1"
charcode:
dependency: transitive
description:
name: charcode
- url: "https://pub.dartlang.org"
+ sha256: fb98c0f6d12c920a02ee2d998da788bca066ca5f148492b7085ee23372b12306
+ url: "https://pub.dev"
source: hosted
version: "1.3.1"
checked_yaml:
dependency: transitive
description:
name: checked_yaml
- url: "https://pub.dartlang.org"
+ sha256: dd007e4fb8270916820a0d66e24f619266b60773cddd082c6439341645af2659
+ url: "https://pub.dev"
source: hosted
version: "2.0.1"
- cli_util:
- dependency: transitive
- description:
- name: cli_util
- url: "https://pub.dartlang.org"
- source: hosted
- version: "0.3.5"
clock:
dependency: transitive
description:
name: clock
- url: "https://pub.dartlang.org"
+ sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
+ url: "https://pub.dev"
source: hosted
- version: "1.1.0"
+ version: "1.1.1"
code_builder:
dependency: transitive
description:
name: code_builder
- url: "https://pub.dartlang.org"
+ sha256: "0d43dd1288fd145de1ecc9a3948ad4a6d5a82f0a14c4fdd0892260787d975cbe"
+ url: "https://pub.dev"
source: hosted
- version: "4.1.0"
+ version: "4.4.0"
collection:
dependency: transitive
description:
name: collection
- url: "https://pub.dartlang.org"
+ sha256: cfc915e6923fe5ce6e153b0723c753045de46de1b4d63771530504004a45fae0
+ url: "https://pub.dev"
source: hosted
- version: "1.15.0"
+ version: "1.17.0"
convert:
dependency: transitive
description:
name: convert
- url: "https://pub.dartlang.org"
+ sha256: f08428ad63615f96a27e34221c65e1a451439b5f26030f78d790f461c686d65d
+ url: "https://pub.dev"
source: hosted
version: "3.0.1"
crypto:
dependency: transitive
description:
name: crypto
- url: "https://pub.dartlang.org"
+ sha256: aa274aa7774f8964e4f4f38cc994db7b6158dd36e9187aaceaddc994b35c6c67
+ url: "https://pub.dev"
source: hosted
- version: "3.0.1"
+ version: "3.0.2"
csslib:
dependency: transitive
description:
name: csslib
- url: "https://pub.dartlang.org"
+ sha256: b36c7f7e24c0bdf1bf9a3da461c837d1de64b9f8beb190c9011d8c72a3dfd745
+ url: "https://pub.dev"
source: hosted
- version: "0.16.2"
+ version: "0.17.2"
cupertino_icons:
dependency: "direct main"
description:
name: cupertino_icons
- url: "https://pub.dartlang.org"
+ sha256: e35129dc44c9118cee2a5603506d823bab99c68393879edb440e0090d07586be
+ url: "https://pub.dev"
source: hosted
- version: "0.1.3"
+ version: "1.0.5"
dart_style:
dependency: transitive
description:
name: dart_style
- url: "https://pub.dartlang.org"
+ sha256: "7a03456c3490394c8e7665890333e91ae8a49be43542b616e414449ac358acd4"
+ url: "https://pub.dev"
source: hosted
- version: "2.1.1"
+ version: "2.2.4"
dartz:
dependency: "direct main"
description:
name: dartz
- url: "https://pub.dartlang.org"
+ sha256: e6acf34ad2e31b1eb00948692468c30ab48ac8250e0f0df661e29f12dd252168
+ url: "https://pub.dev"
source: hosted
version: "0.10.1"
dio:
dependency: "direct main"
description:
name: dio
- url: "https://pub.dartlang.org"
+ sha256: "9fdbf71baeb250fc9da847f6cb2052196f62c19906a3657adfc18631a667d316"
+ url: "https://pub.dev"
source: hosted
- version: "4.0.6"
+ version: "5.0.0"
equatable:
dependency: "direct main"
description:
name: equatable
- url: "https://pub.dartlang.org"
+ sha256: c2b87cb7756efdf69892005af546c56c0b5037f54d2a88269b4f347a505e3ca2
+ url: "https://pub.dev"
source: hosted
- version: "2.0.3"
+ version: "2.0.5"
fake_async:
dependency: transitive
description:
name: fake_async
- url: "https://pub.dartlang.org"
+ sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
+ url: "https://pub.dev"
source: hosted
- version: "1.2.0"
+ version: "1.3.1"
ffi:
dependency: transitive
description:
name: ffi
- url: "https://pub.dartlang.org"
+ sha256: "35d0f481d939de0d640b3db9a7aa36a52cd22054a798a73b4f50bdad5ce12678"
+ url: "https://pub.dev"
source: hosted
version: "1.1.2"
file:
dependency: transitive
description:
name: file
- url: "https://pub.dartlang.org"
+ sha256: "1b92bec4fc2a72f59a8e15af5f52cd441e4a7860b49499d69dfa817af20e925d"
+ url: "https://pub.dev"
source: hosted
- version: "6.1.2"
+ version: "6.1.4"
fixnum:
dependency: transitive
description:
name: fixnum
- url: "https://pub.dartlang.org"
+ sha256: "6a2ef17156f4dc49684f9d99aaf4a93aba8ac49f5eac861755f5730ddf6e2e4e"
+ url: "https://pub.dev"
source: hosted
version: "1.0.0"
flutter:
@@ -251,30 +276,34 @@ packages:
dependency: "direct main"
description:
name: flutter_markdown
- url: "https://pub.dartlang.org"
+ sha256: "7b25c10de1fea883f3c4f9b8389506b54053cd00807beab69fd65c8653a2711f"
+ url: "https://pub.dev"
source: hosted
- version: "0.6.9+1"
+ version: "0.6.14"
flutter_mobx:
dependency: "direct main"
description:
name: flutter_mobx
- url: "https://pub.dartlang.org"
+ sha256: "0da4add0016387a7bf309a0d0c41d36c6b3ae25ed7a176409267f166509e723e"
+ url: "https://pub.dev"
source: hosted
- version: "2.0.4"
+ version: "2.0.6+5"
flutter_staggered_grid_view:
dependency: "direct main"
description:
name: flutter_staggered_grid_view
- url: "https://pub.dartlang.org"
+ sha256: "1312314293acceb65b92754298754801b0e1f26a1845833b740b30415bbbcf07"
+ url: "https://pub.dev"
source: hosted
version: "0.6.2"
flutter_svg:
dependency: "direct main"
description:
name: flutter_svg
- url: "https://pub.dartlang.org"
+ sha256: b9be7260c1fdbe0090a11d9d356fc2c88e14cf33407fc0c1829d76ab13808035
+ url: "https://pub.dev"
source: hosted
- version: "0.22.0"
+ version: "2.0.1"
flutter_test:
dependency: "direct dev"
description: flutter
@@ -289,30 +318,34 @@ packages:
dependency: "direct main"
description:
name: fluttertoast
- url: "https://pub.dartlang.org"
+ sha256: ebe4f5b7630eb3c20cf9178937d572df519b204f3331e1f06e91d66a838c441d
+ url: "https://pub.dev"
source: hosted
version: "7.1.8"
freezed:
- dependency: "direct main"
+ dependency: "direct dev"
description:
name: freezed
- url: "https://pub.dartlang.org"
+ sha256: e819441678f1679b719008ff2ff0ef045d66eed9f9ec81166ca0d9b02a187454
+ url: "https://pub.dev"
source: hosted
- version: "0.14.2"
+ version: "2.3.2"
freezed_annotation:
dependency: "direct main"
description:
name: freezed_annotation
- url: "https://pub.dartlang.org"
+ sha256: aeac15850ef1b38ee368d4c53ba9a847e900bb2c53a4db3f6881cbb3cb684338
+ url: "https://pub.dev"
source: hosted
- version: "0.14.3"
+ version: "2.2.0"
frontend_server_client:
dependency: transitive
description:
name: frontend_server_client
- url: "https://pub.dartlang.org"
+ sha256: "408e3ca148b31c20282ad6f37ebfa6f4bdc8fede5b74bc2f08d9d92b55db3612"
+ url: "https://pub.dev"
source: hosted
- version: "2.1.2"
+ version: "3.2.0"
fuchsia_remote_debug_protocol:
dependency: transitive
description: flutter
@@ -322,42 +355,48 @@ packages:
dependency: "direct main"
description:
name: get_it
- url: "https://pub.dartlang.org"
+ sha256: "290fde3a86072e4b37dbb03c07bec6126f0ecc28dad403c12ffe2e5a2d751ab7"
+ url: "https://pub.dev"
source: hosted
version: "7.2.0"
glob:
dependency: transitive
description:
name: glob
- url: "https://pub.dartlang.org"
+ sha256: "8321dd2c0ab0683a91a51307fa844c6db4aa8e3981219b78961672aaab434658"
+ url: "https://pub.dev"
source: hosted
version: "2.0.2"
graphs:
dependency: transitive
description:
name: graphs
- url: "https://pub.dartlang.org"
+ sha256: ae0b3d956ff324c6f8671f08dcb2dbd71c99cdbf2aa3ca63a14190c47aa6679c
+ url: "https://pub.dev"
source: hosted
version: "2.1.0"
html:
dependency: "direct main"
description:
name: html
- url: "https://pub.dartlang.org"
+ sha256: d9793e10dbe0e6c364f4c59bf3e01fb33a9b2a674bc7a1081693dba0614b6269
+ url: "https://pub.dev"
source: hosted
- version: "0.14.0+4"
+ version: "0.15.1"
http_multi_server:
dependency: transitive
description:
name: http_multi_server
- url: "https://pub.dartlang.org"
+ sha256: ab298ef2b2acd283bd36837df7801dcf6e6b925f8da6e09efb81111230aa9037
+ url: "https://pub.dev"
source: hosted
version: "3.2.0"
http_parser:
dependency: transitive
description:
name: http_parser
- url: "https://pub.dartlang.org"
+ sha256: e362d639ba3bc07d5a71faebb98cde68c05bfbcfbbb444b60b6f60bb67719185
+ url: "https://pub.dev"
source: hosted
version: "4.0.0"
integration_test:
@@ -369,287 +408,304 @@ packages:
dependency: "direct main"
description:
name: intl
- url: "https://pub.dartlang.org"
+ sha256: "910f85bce16fb5c6f614e117efa303e85a1731bb0081edf3604a2ae6e9a3cc91"
+ url: "https://pub.dev"
source: hosted
version: "0.17.0"
io:
dependency: transitive
description:
name: io
- url: "https://pub.dartlang.org"
+ sha256: "0d4c73c3653ab85bf696d51a9657604c900a370549196a91f33e4c39af760852"
+ url: "https://pub.dev"
source: hosted
version: "1.0.3"
js:
dependency: transitive
description:
name: js
- url: "https://pub.dartlang.org"
+ sha256: "5528c2f391ededb7775ec1daa69e65a2d61276f7552de2b5f7b8d34ee9fd4ab7"
+ url: "https://pub.dev"
source: hosted
- version: "0.6.3"
+ version: "0.6.5"
json_annotation:
dependency: transitive
description:
name: json_annotation
- url: "https://pub.dartlang.org"
+ sha256: c33da08e136c3df0190bd5bbe51ae1df4a7d96e7954d1d7249fea2968a72d317
+ url: "https://pub.dev"
source: hosted
- version: "4.1.0"
+ version: "4.8.0"
json_serializable:
dependency: "direct dev"
description:
name: json_serializable
- url: "https://pub.dartlang.org"
+ sha256: dadc08bd61f72559f938dd08ec20dbfec6c709bba83515085ea943d2078d187a
+ url: "https://pub.dev"
source: hosted
- version: "4.1.4"
+ version: "6.6.1"
logging:
dependency: transitive
description:
name: logging
- url: "https://pub.dartlang.org"
+ sha256: "293ae2d49fd79d4c04944c3a26dfd313382d5f52e821ec57119230ae16031ad4"
+ url: "https://pub.dev"
source: hosted
version: "1.0.2"
markdown:
dependency: transitive
description:
name: markdown
- url: "https://pub.dartlang.org"
+ sha256: "4ed544d2ce84975b2ab5cbd4268f2d31f47858553ae2295c92fdf5d6e431a927"
+ url: "https://pub.dev"
source: hosted
- version: "4.0.1"
+ version: "7.0.0"
matcher:
dependency: transitive
description:
name: matcher
- url: "https://pub.dartlang.org"
+ sha256: "16db949ceee371e9b99d22f88fa3a73c4e59fd0afed0bd25fc336eb76c198b72"
+ url: "https://pub.dev"
source: hosted
- version: "0.12.11"
+ version: "0.12.13"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
- url: "https://pub.dartlang.org"
+ sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724
+ url: "https://pub.dev"
source: hosted
- version: "0.1.3"
+ version: "0.2.0"
meta:
dependency: transitive
description:
name: meta
- url: "https://pub.dartlang.org"
+ sha256: "6c268b42ed578a53088d834796959e4a1814b5e9e164f147f580a386e5decf42"
+ url: "https://pub.dev"
source: hosted
- version: "1.7.0"
+ version: "1.8.0"
mime:
dependency: transitive
description:
name: mime
- url: "https://pub.dartlang.org"
+ sha256: fd5f81041e6a9fc9b9d7fa2cb8a01123f9f5d5d49136e06cb9dc7d33689529f4
+ url: "https://pub.dev"
source: hosted
version: "1.0.1"
mobx:
dependency: "direct main"
description:
name: mobx
- url: "https://pub.dartlang.org"
+ sha256: f1862bd92c6a903fab67338f27e2f731117c3cb9ea37cee1a487f9e4e0de314a
+ url: "https://pub.dev"
source: hosted
- version: "2.0.6+1"
+ version: "2.1.3+1"
mobx_codegen:
dependency: "direct dev"
description:
name: mobx_codegen
- url: "https://pub.dartlang.org"
+ sha256: "86122e410d8ea24dda0c69adb5c2a6ccadd5ce02ad46e144764e0d0184a06181"
+ url: "https://pub.dev"
source: hosted
- version: "2.0.2"
+ version: "2.1.1"
mockito:
dependency: "direct main"
description:
name: mockito
- url: "https://pub.dartlang.org"
+ sha256: "2a8a17b82b1bde04d514e75d90d634a0ac23f6cb4991f6098009dd56836aeafe"
+ url: "https://pub.dev"
source: hosted
- version: "5.0.15"
+ version: "5.3.2"
package_config:
dependency: transitive
description:
name: package_config
- url: "https://pub.dartlang.org"
+ sha256: a4d5ede5ca9c3d88a2fef1147a078570c861714c806485c596b109819135bc12
+ url: "https://pub.dev"
source: hosted
version: "2.0.2"
path:
dependency: transitive
description:
name: path
- url: "https://pub.dartlang.org"
- source: hosted
- version: "1.8.0"
- path_drawing:
- dependency: transitive
- description:
- name: path_drawing
- url: "https://pub.dartlang.org"
+ sha256: db9d4f58c908a4ba5953fcee2ae317c94889433e5024c27ce74a37f94267945b
+ url: "https://pub.dev"
source: hosted
- version: "0.5.1+1"
+ version: "1.8.2"
path_parsing:
dependency: transitive
description:
name: path_parsing
- url: "https://pub.dartlang.org"
+ sha256: e3e67b1629e6f7e8100b367d3db6ba6af4b1f0bb80f64db18ef1fbabd2fa9ccf
+ url: "https://pub.dev"
source: hosted
- version: "0.2.1"
+ version: "1.0.1"
path_provider_linux:
dependency: transitive
description:
name: path_provider_linux
- url: "https://pub.dartlang.org"
+ sha256: "1e109f4df28bd95eab71e323008b53d19c4d633bc1ab05b577518773474e9621"
+ url: "https://pub.dev"
source: hosted
version: "2.1.5"
path_provider_platform_interface:
dependency: transitive
description:
name: path_provider_platform_interface
- url: "https://pub.dartlang.org"
+ sha256: "3dc0d51b07f85fec3746d9f4e8d31c73bb173cafa2e763f03f8df2e8d1878882"
+ url: "https://pub.dev"
source: hosted
version: "2.0.3"
path_provider_windows:
dependency: transitive
description:
name: path_provider_windows
- url: "https://pub.dartlang.org"
+ sha256: "366ad4e3541ea707f859e7148d4d5aba67d589d7936cee04a05c464a277eeb27"
+ url: "https://pub.dev"
source: hosted
version: "2.0.5"
- pedantic:
- dependency: transitive
- description:
- name: pedantic
- url: "https://pub.dartlang.org"
- source: hosted
- version: "1.11.1"
petitparser:
dependency: transitive
description:
name: petitparser
- url: "https://pub.dartlang.org"
+ sha256: "49392a45ced973e8d94a85fdb21293fbb40ba805fc49f2965101ae748a3683b4"
+ url: "https://pub.dev"
source: hosted
- version: "4.4.0"
+ version: "5.1.0"
platform:
dependency: transitive
description:
name: platform
- url: "https://pub.dartlang.org"
+ sha256: "4a451831508d7d6ca779f7ac6e212b4023dd5a7d08a27a63da33756410e32b76"
+ url: "https://pub.dev"
source: hosted
version: "3.1.0"
plugin_platform_interface:
dependency: transitive
description:
name: plugin_platform_interface
- url: "https://pub.dartlang.org"
+ sha256: "075f927ebbab4262ace8d0b283929ac5410c0ac4e7fc123c76429564facfb757"
+ url: "https://pub.dev"
source: hosted
version: "2.1.2"
pool:
dependency: transitive
description:
name: pool
- url: "https://pub.dartlang.org"
+ sha256: "05955e3de2683e1746222efd14b775df7131139e07695dc8e24650f6b4204504"
+ url: "https://pub.dev"
source: hosted
version: "1.5.0"
process:
dependency: transitive
description:
name: process
- url: "https://pub.dartlang.org"
+ sha256: "53fd8db9cec1d37b0574e12f07520d582019cb6c44abf5479a01505099a34a09"
+ url: "https://pub.dev"
source: hosted
version: "4.2.4"
pub_semver:
dependency: transitive
description:
name: pub_semver
- url: "https://pub.dartlang.org"
+ sha256: "816c1a640e952d213ddd223b3e7aafae08cd9f8e1f6864eed304cc13b0272b07"
+ url: "https://pub.dev"
source: hosted
version: "2.1.1"
pubspec_parse:
dependency: transitive
description:
name: pubspec_parse
- url: "https://pub.dartlang.org"
+ sha256: "0e01f805457ef610ccaf8d18067596afc34107a27149778b06b2083edbc140c1"
+ url: "https://pub.dev"
source: hosted
version: "1.1.0"
pull_to_refresh:
dependency: "direct main"
description:
name: pull_to_refresh
- url: "https://pub.dartlang.org"
+ sha256: bbadd5a931837b57739cf08736bea63167e284e71fb23b218c8c9a6e042aad12
+ url: "https://pub.dev"
source: hosted
version: "2.0.0"
share:
dependency: "direct main"
description:
name: share
- url: "https://pub.dartlang.org"
+ sha256: "97e6403f564ed1051a01534c2fc919cb6e40ea55e60a18ec23cee6e0ce19f4be"
+ url: "https://pub.dev"
source: hosted
version: "2.0.4"
shared_preferences:
dependency: "direct main"
description:
name: shared_preferences
- url: "https://pub.dartlang.org"
+ sha256: "5949029e70abe87f75cfe59d17bf5c397619c4b74a099b10116baeb34786fad9"
+ url: "https://pub.dev"
source: hosted
- version: "2.0.13"
+ version: "2.0.17"
shared_preferences_android:
dependency: transitive
description:
name: shared_preferences_android
- url: "https://pub.dartlang.org"
+ sha256: bc236594233d10b7668dd90414fe0e09d906115aaa1dfe269e478e5f2af532a6
+ url: "https://pub.dev"
source: hosted
version: "2.0.11"
- shared_preferences_ios:
+ shared_preferences_foundation:
dependency: transitive
description:
- name: shared_preferences_ios
- url: "https://pub.dartlang.org"
+ name: shared_preferences_foundation
+ sha256: "2b55c18636a4edc529fa5cd44c03d3f3100c00513f518c5127c951978efcccd0"
+ url: "https://pub.dev"
source: hosted
- version: "2.1.0"
+ version: "2.1.3"
shared_preferences_linux:
dependency: transitive
description:
name: shared_preferences_linux
- url: "https://pub.dartlang.org"
+ sha256: ac361c65c4cf342dfc0a8b9e45eab66b9b3ad6eaff9785850d4ec0cf6b474422
+ url: "https://pub.dev"
source: hosted
version: "2.1.0"
- shared_preferences_macos:
- dependency: transitive
- description:
- name: shared_preferences_macos
- url: "https://pub.dartlang.org"
- source: hosted
- version: "2.0.3"
shared_preferences_platform_interface:
dependency: transitive
description:
name: shared_preferences_platform_interface
- url: "https://pub.dartlang.org"
+ sha256: "992f0fdc46d0a3c0ac2e5859f2de0e577bbe51f78a77ee8f357cbe626a2ad32d"
+ url: "https://pub.dev"
source: hosted
version: "2.0.0"
shared_preferences_web:
dependency: transitive
description:
name: shared_preferences_web
- url: "https://pub.dartlang.org"
+ sha256: "09da0185028a227d51721cade7a3cbd5cc5f163a19593266f2acba87f729bf9c"
+ url: "https://pub.dev"
source: hosted
version: "2.0.3"
shared_preferences_windows:
dependency: transitive
description:
name: shared_preferences_windows
- url: "https://pub.dartlang.org"
+ sha256: ae68cf0df0910e38c95522dbd8a6082ce9715053c369750c5709d17de81d032e
+ url: "https://pub.dev"
source: hosted
version: "2.1.0"
shelf:
dependency: transitive
description:
name: shelf
- url: "https://pub.dartlang.org"
+ sha256: "4592f6cb6c417632ebdfb63e4db42a7e3ad49d1bd52d9f93b6eb883035ddc0c3"
+ url: "https://pub.dev"
source: hosted
version: "1.3.0"
shelf_web_socket:
dependency: transitive
description:
name: shelf_web_socket
- url: "https://pub.dartlang.org"
+ sha256: fd84910bf7d58db109082edf7326b75322b8f186162028482f53dc892f00332d
+ url: "https://pub.dev"
source: hosted
version: "1.0.1"
sky_engine:
@@ -661,198 +717,258 @@ packages:
dependency: transitive
description:
name: source_gen
- url: "https://pub.dartlang.org"
+ sha256: c2bea18c95cfa0276a366270afaa2850b09b4a76db95d546f3d003dcc7011298
+ url: "https://pub.dev"
source: hosted
- version: "1.0.3"
+ version: "1.2.7"
+ source_helper:
+ dependency: transitive
+ description:
+ name: source_helper
+ sha256: "3b67aade1d52416149c633ba1bb36df44d97c6b51830c2198e934e3fca87ca1f"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.3.3"
source_span:
dependency: transitive
description:
name: source_span
- url: "https://pub.dartlang.org"
+ sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250
+ url: "https://pub.dev"
source: hosted
- version: "1.8.1"
+ version: "1.9.1"
stack_trace:
dependency: transitive
description:
name: stack_trace
- url: "https://pub.dartlang.org"
+ sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
+ url: "https://pub.dev"
source: hosted
- version: "1.10.0"
+ version: "1.11.0"
stream_channel:
dependency: transitive
description:
name: stream_channel
- url: "https://pub.dartlang.org"
+ sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
+ url: "https://pub.dev"
source: hosted
- version: "2.1.0"
+ version: "2.1.1"
stream_transform:
dependency: transitive
description:
name: stream_transform
- url: "https://pub.dartlang.org"
+ sha256: ed464977cb26a1f41537e177e190c67223dbd9f4f683489b6ab2e5d211ec564e
+ url: "https://pub.dev"
source: hosted
version: "2.0.0"
string_scanner:
dependency: transitive
description:
name: string_scanner
- url: "https://pub.dartlang.org"
+ sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
+ url: "https://pub.dev"
source: hosted
- version: "1.1.0"
+ version: "1.2.0"
sync_http:
dependency: transitive
description:
name: sync_http
- url: "https://pub.dartlang.org"
+ sha256: "7f0cd72eca000d2e026bcd6f990b81d0ca06022ef4e32fb257b30d3d1014a961"
+ url: "https://pub.dev"
source: hosted
- version: "0.3.0"
+ version: "0.3.1"
term_glyph:
dependency: transitive
description:
name: term_glyph
- url: "https://pub.dartlang.org"
+ sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
+ url: "https://pub.dev"
source: hosted
- version: "1.2.0"
+ version: "1.2.1"
test_api:
dependency: transitive
description:
name: test_api
- url: "https://pub.dartlang.org"
+ sha256: ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206
+ url: "https://pub.dev"
source: hosted
- version: "0.4.8"
+ version: "0.4.16"
timing:
dependency: transitive
description:
name: timing
- url: "https://pub.dartlang.org"
+ sha256: c386d07d7f5efc613479a7c4d9d64b03710b03cfaa7e8ad5f2bfb295a1f0dfad
+ url: "https://pub.dev"
source: hosted
version: "1.0.0"
typed_data:
dependency: transitive
description:
name: typed_data
- url: "https://pub.dartlang.org"
+ sha256: "26f87ade979c47a150c9eaab93ccd2bebe70a27dc0b4b29517f2904f04eb11a5"
+ url: "https://pub.dev"
source: hosted
- version: "1.3.0"
+ version: "1.3.1"
url_launcher:
dependency: "direct main"
description:
name: url_launcher
- url: "https://pub.dartlang.org"
+ sha256: "76d8206356ed276e1df3eda6523486148776cf1e5381d630b5726c92bb774d7e"
+ url: "https://pub.dev"
source: hosted
version: "6.0.20"
url_launcher_android:
dependency: transitive
description:
name: url_launcher_android
- url: "https://pub.dartlang.org"
+ sha256: b693e6698f7e6985710d67a050e3acbdda3b9cfc4b43b9f1c40cdbe42c705b92
+ url: "https://pub.dev"
source: hosted
version: "6.0.15"
url_launcher_ios:
dependency: transitive
description:
name: url_launcher_ios
- url: "https://pub.dartlang.org"
+ sha256: e51a93f0da65733beb69fdbc43cea524d86ed8e524479e9faefc9304cec34a57
+ url: "https://pub.dev"
source: hosted
version: "6.0.15"
url_launcher_linux:
dependency: transitive
description:
name: url_launcher_linux
- url: "https://pub.dartlang.org"
+ sha256: c3ec89d52305ec647cf037eafe2be8d2f1149b5723d1f2ec716fc3d58469de5d
+ url: "https://pub.dev"
source: hosted
version: "3.0.0"
url_launcher_macos:
dependency: transitive
description:
name: url_launcher_macos
- url: "https://pub.dartlang.org"
+ sha256: c028c7f80fdb99cf48b94c471c0f8b9b855a188f4865df76e2a7663ae640e9d2
+ url: "https://pub.dev"
source: hosted
version: "3.0.0"
url_launcher_platform_interface:
dependency: transitive
description:
name: url_launcher_platform_interface
- url: "https://pub.dartlang.org"
+ sha256: "1b9c4dab07794498b83b5f938e26b20f68c3b460a3015b0307f9541cb34ef93d"
+ url: "https://pub.dev"
source: hosted
version: "2.0.5"
url_launcher_web:
dependency: transitive
description:
name: url_launcher_web
- url: "https://pub.dartlang.org"
+ sha256: "2b5494722d4eb0fe1a12ceb15a4b132ba7dfc92793089c243bf109bed828d97f"
+ url: "https://pub.dev"
source: hosted
version: "2.0.9"
url_launcher_windows:
dependency: transitive
description:
name: url_launcher_windows
- url: "https://pub.dartlang.org"
+ sha256: aa14bdb9265fa22416fc387b33e44eb37fd38768bf465fafcec73d283f3457b1
+ url: "https://pub.dev"
source: hosted
version: "3.0.0"
+ vector_graphics:
+ dependency: transitive
+ description:
+ name: vector_graphics
+ sha256: "09562ef5f47aa84f6567495adb6b9cb2a3192b82c352623b8bd00b300d62603b"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.0.1"
+ vector_graphics_codec:
+ dependency: transitive
+ description:
+ name: vector_graphics_codec
+ sha256: "886e57742644ebed024dc3ade29712e37eea1b03d294fb314c0a3386243fe5a6"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.0.1"
+ vector_graphics_compiler:
+ dependency: transitive
+ description:
+ name: vector_graphics_compiler
+ sha256: "5d9010c4a292766c55395b2288532579a85673f8148460d1e233d98ffe10d24e"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.0.1"
vector_math:
dependency: transitive
description:
name: vector_math
- url: "https://pub.dartlang.org"
+ sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
+ url: "https://pub.dev"
source: hosted
- version: "2.1.1"
+ version: "2.1.4"
vm_service:
dependency: transitive
description:
name: vm_service
- url: "https://pub.dartlang.org"
+ sha256: e7fb6c2282f7631712b69c19d1bff82f3767eea33a2321c14fa59ad67ea391c7
+ url: "https://pub.dev"
source: hosted
- version: "7.5.0"
+ version: "9.4.0"
watcher:
dependency: transitive
description:
name: watcher
- url: "https://pub.dartlang.org"
+ sha256: e42dfcc48f67618344da967b10f62de57e04bae01d9d3af4c2596f3712a88c99
+ url: "https://pub.dev"
source: hosted
version: "1.0.1"
web_socket_channel:
dependency: transitive
description:
name: web_socket_channel
- url: "https://pub.dartlang.org"
+ sha256: "0c2ada1b1aeb2ad031ca81872add6be049b8cb479262c6ad3c4b0f9c24eaab2f"
+ url: "https://pub.dev"
source: hosted
version: "2.1.0"
webdriver:
dependency: transitive
description:
name: webdriver
- url: "https://pub.dartlang.org"
+ sha256: ef67178f0cc7e32c1494645b11639dd1335f1d18814aa8435113a92e9ef9d841
+ url: "https://pub.dev"
source: hosted
- version: "3.0.0"
+ version: "3.0.1"
win32:
dependency: transitive
description:
name: win32
- url: "https://pub.dartlang.org"
+ sha256: "1709e736470cadbeefb717fb7936d014132d8a818de40f4be2f549a92ba50e82"
+ url: "https://pub.dev"
source: hosted
version: "2.5.1"
xdg_directories:
dependency: transitive
description:
name: xdg_directories
- url: "https://pub.dartlang.org"
+ sha256: "060b6e1c891d956f72b5ac9463466c37cce3fa962a921532fc001e86fe93438e"
+ url: "https://pub.dev"
source: hosted
version: "0.2.0+1"
xml:
dependency: transitive
description:
name: xml
- url: "https://pub.dartlang.org"
+ sha256: "979ee37d622dec6365e2efa4d906c37470995871fe9ae080d967e192d88286b5"
+ url: "https://pub.dev"
source: hosted
- version: "5.3.1"
+ version: "6.2.2"
yaml:
dependency: transitive
description:
name: yaml
- url: "https://pub.dartlang.org"
+ sha256: "3cee79b1715110341012d27756d9bae38e650588acd38d3f3c610822e1337ace"
+ url: "https://pub.dev"
source: hosted
version: "3.1.0"
sdks:
- dart: ">=2.16.0 <3.0.0"
- flutter: ">=2.10.0"
+ dart: ">=2.19.0 <3.0.0"
+ flutter: ">=3.7.0"
diff --git a/pubspec.yaml b/pubspec.yaml
index a895bab..92d1eb6 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,12 +1,12 @@
name: flutter_package
description: This is an example using the pub.dev where the purpose is to list the packages
-author: Edvaldo Martins
homepage: https://github.com/EdvaldoMartins/flutter_package_pub_dev
version: 1.0.0+1
environment:
- sdk: ">=2.12.0 <3.0.0"
+ sdk: '>=2.19.0 <3.0.0'
+ flutter: ">=3.7.0"
dependencies:
flutter:
@@ -15,31 +15,30 @@ dependencies:
sdk: flutter
#ui
- cupertino_icons: ^0.1.3
- flutter_markdown: ^0.6.2
- flutter_svg: ^0.22.0
- html: ^0.14.0+2
+ cupertino_icons: ^1.0.5
+ flutter_markdown: ^0.6.14
+ flutter_svg: ^2.0.1
+ html: ^0.15.1
pull_to_refresh: ^2.0.0
flutter_staggered_grid_view: ^0.6.2
#state
- mobx: ^2.0.1
- flutter_mobx: ^2.0.0
+ mobx: ^2.1.3+1
+ flutter_mobx: ^2.0.6+5
#data class
- freezed_annotation: ^0.14.1
- freezed: ^0.14.1+3
- equatable: ^2.0.2
+ freezed_annotation: ^2.2.0
+ equatable: ^2.0.5
#network
- dio: ^4.0.0
- url_launcher: ^6.0.0-nullsafety
+ dio: ^5.0.0
+ url_launcher: ^6.0.0-nullsafety
# Dependency Injection
- get_it: ^7.1.2
+ get_it: ^7.2.0
# Caching
- shared_preferences: ^2.0.6
+ shared_preferences: ^2.0.17
#utils
fluttertoast: ^7.1.5
@@ -48,20 +47,18 @@ dependencies:
intl: ^0.17.0
# Testing
- mockito: ^5.0.10
-
-
+ mockito: ^5.3.2
dev_dependencies:
flutter_test:
sdk: flutter
integration_test:
sdk: flutter
- mobx_codegen: ^2.0.1+3
- build_runner: ^2.0.1
- json_serializable: ^4.1.1
- build_resolvers: ^2.0.1
-
+ freezed: ^2.3.2
+ mobx_codegen: ^2.1.1
+ build_runner:
+ json_serializable: ^6.6.1
+ build_resolvers: ^2.1.0
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
@@ -84,5 +81,4 @@ flutter:
assets:
- assets/locale/
- assets/icons/
- - assets/images/
-
+ - assets/images/
\ No newline at end of file
diff --git a/test/src/infrastructure/mocks.mocks.dart b/test/src/infrastructure/mocks.mocks.dart
index ccc193b..b2dd752 100644
--- a/test/src/infrastructure/mocks.mocks.dart
+++ b/test/src/infrastructure/mocks.mocks.dart
@@ -1,7 +1,8 @@
-// Mocks generated by Mockito 5.0.15 from annotations
+// Mocks generated by Mockito 5.3.2 from annotations
// in flutter_package/test/src/infrastructure/mocks.dart.
// Do not manually edit this file.
+// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'dart:async' as _i5;
import 'package:dartz/dartz.dart' as _i3;
@@ -19,6 +20,7 @@ import 'package:flutter_package/src/domain/search/i_search_repository.dart'
as _i9;
import 'package:mockito/mockito.dart' as _i1;
+// ignore_for_file: type=lint
// ignore_for_file: avoid_redundant_argument_values
// ignore_for_file: avoid_setters_without_getters
// ignore_for_file: comment_references
@@ -26,21 +28,79 @@ import 'package:mockito/mockito.dart' as _i1;
// ignore_for_file: invalid_use_of_visible_for_testing_member
// ignore_for_file: prefer_const_constructors
// ignore_for_file: unnecessary_parenthesis
+// ignore_for_file: camel_case_types
+// ignore_for_file: subtype_of_sealed_class
-class _FakeDio_0 extends _i1.Fake implements _i2.Dio {}
+class _FakeDio_0 extends _i1.SmartFake implements _i2.Dio {
+ _FakeDio_0(
+ Object parent,
+ Invocation parentInvocation,
+ ) : super(
+ parent,
+ parentInvocation,
+ );
+}
-class _FakeEither_1 extends _i1.Fake implements _i3.Either {}
+class _FakeEither_1 extends _i1.SmartFake implements _i3.Either {
+ _FakeEither_1(
+ Object parent,
+ Invocation parentInvocation,
+ ) : super(
+ parent,
+ parentInvocation,
+ );
+}
-class _FakeBaseOptions_2 extends _i1.Fake implements _i2.BaseOptions {}
+class _FakeBaseOptions_2 extends _i1.SmartFake implements _i2.BaseOptions {
+ _FakeBaseOptions_2(
+ Object parent,
+ Invocation parentInvocation,
+ ) : super(
+ parent,
+ parentInvocation,
+ );
+}
-class _FakeHttpClientAdapter_3 extends _i1.Fake
- implements _i2.HttpClientAdapter {}
+class _FakeHttpClientAdapter_3 extends _i1.SmartFake
+ implements _i2.HttpClientAdapter {
+ _FakeHttpClientAdapter_3(
+ Object parent,
+ Invocation parentInvocation,
+ ) : super(
+ parent,
+ parentInvocation,
+ );
+}
-class _FakeTransformer_4 extends _i1.Fake implements _i2.Transformer {}
+class _FakeTransformer_4 extends _i1.SmartFake implements _i2.Transformer {
+ _FakeTransformer_4(
+ Object parent,
+ Invocation parentInvocation,
+ ) : super(
+ parent,
+ parentInvocation,
+ );
+}
-class _FakeInterceptors_5 extends _i1.Fake implements _i2.Interceptors {}
+class _FakeInterceptors_5 extends _i1.SmartFake implements _i2.Interceptors {
+ _FakeInterceptors_5(
+ Object parent,
+ Invocation parentInvocation,
+ ) : super(
+ parent,
+ parentInvocation,
+ );
+}
-class _FakeResponse_6 extends _i1.Fake implements _i2.Response {}
+class _FakeResponse_6 extends _i1.SmartFake implements _i2.Response {
+ _FakeResponse_6(
+ Object parent,
+ Invocation parentInvocation,
+ ) : super(
+ parent,
+ parentInvocation,
+ );
+}
/// A class which mocks [IPackageRepository].
///
@@ -52,47 +112,97 @@ class MockIPackageRepository extends _i1.Mock
}
@override
- String get path =>
- (super.noSuchMethod(Invocation.getter(#path), returnValue: '') as String);
+ String get path => (super.noSuchMethod(
+ Invocation.getter(#path),
+ returnValue: '',
+ ) as String);
@override
- _i2.Dio get dio =>
- (super.noSuchMethod(Invocation.getter(#dio), returnValue: _FakeDio_0())
- as _i2.Dio);
+ _i2.Dio get dio => (super.noSuchMethod(
+ Invocation.getter(#dio),
+ returnValue: _FakeDio_0(
+ this,
+ Invocation.getter(#dio),
+ ),
+ ) as _i2.Dio);
@override
_i5.Future<_i3.Either<_i6.RequestFailure, List<_i7.Package>>> getPackages(
- {int? page}) =>
- (super.noSuchMethod(Invocation.method(#getPackages, [], {#page: page}),
- returnValue: Future<
- _i3.Either<_i6.RequestFailure, List<_i7.Package>>>.value(
- _FakeEither_1<_i6.RequestFailure, List<_i7.Package>>()))
- as _i5.Future<_i3.Either<_i6.RequestFailure, List<_i7.Package>>>);
+ {required int? page}) =>
+ (super.noSuchMethod(
+ Invocation.method(
+ #getPackages,
+ [],
+ {#page: page},
+ ),
+ returnValue:
+ _i5.Future<_i3.Either<_i6.RequestFailure, List<_i7.Package>>>.value(
+ _FakeEither_1<_i6.RequestFailure, List<_i7.Package>>(
+ this,
+ Invocation.method(
+ #getPackages,
+ [],
+ {#page: page},
+ ),
+ )),
+ ) as _i5.Future<_i3.Either<_i6.RequestFailure, List<_i7.Package>>>);
@override
_i5.Future<_i3.Either<_i6.RequestFailure, String>> getPublisher(
- {String? packageName}) =>
+ {required String? packageName}) =>
(super.noSuchMethod(
- Invocation.method(#getPublisher, [], {#packageName: packageName}),
- returnValue: Future<_i3.Either<_i6.RequestFailure, String>>.value(
- _FakeEither_1<_i6.RequestFailure, String>()))
- as _i5.Future<_i3.Either<_i6.RequestFailure, String>>);
+ Invocation.method(
+ #getPublisher,
+ [],
+ {#packageName: packageName},
+ ),
+ returnValue: _i5.Future<_i3.Either<_i6.RequestFailure, String>>.value(
+ _FakeEither_1<_i6.RequestFailure, String>(
+ this,
+ Invocation.method(
+ #getPublisher,
+ [],
+ {#packageName: packageName},
+ ),
+ )),
+ ) as _i5.Future<_i3.Either<_i6.RequestFailure, String>>);
@override
_i5.Future<_i3.Either<_i6.RequestFailure, _i7.Package>> getPackageName(
- {String? packageName}) =>
+ {required String? packageName}) =>
(super.noSuchMethod(
- Invocation.method(#getPackageName, [], {#packageName: packageName}),
- returnValue:
- Future<_i3.Either<_i6.RequestFailure, _i7.Package>>.value(
- _FakeEither_1<_i6.RequestFailure, _i7.Package>())) as _i5
- .Future<_i3.Either<_i6.RequestFailure, _i7.Package>>);
+ Invocation.method(
+ #getPackageName,
+ [],
+ {#packageName: packageName},
+ ),
+ returnValue:
+ _i5.Future<_i3.Either<_i6.RequestFailure, _i7.Package>>.value(
+ _FakeEither_1<_i6.RequestFailure, _i7.Package>(
+ this,
+ Invocation.method(
+ #getPackageName,
+ [],
+ {#packageName: packageName},
+ ),
+ )),
+ ) as _i5.Future<_i3.Either<_i6.RequestFailure, _i7.Package>>);
@override
_i5.Future<_i3.Either<_i6.RequestFailure, _i8.Metric>> getMetricPackage(
- {String? package}) =>
+ {required String? package}) =>
(super.noSuchMethod(
- Invocation.method(#getMetricPackage, [], {#package: package}),
- returnValue: Future<_i3.Either<_i6.RequestFailure, _i8.Metric>>.value(
- _FakeEither_1<_i6.RequestFailure, _i8.Metric>())) as _i5
- .Future<_i3.Either<_i6.RequestFailure, _i8.Metric>>);
- @override
- String toString() => super.toString();
+ Invocation.method(
+ #getMetricPackage,
+ [],
+ {#package: package},
+ ),
+ returnValue:
+ _i5.Future<_i3.Either<_i6.RequestFailure, _i8.Metric>>.value(
+ _FakeEither_1<_i6.RequestFailure, _i8.Metric>(
+ this,
+ Invocation.method(
+ #getMetricPackage,
+ [],
+ {#package: package},
+ ),
+ )),
+ ) as _i5.Future<_i3.Either<_i6.RequestFailure, _i8.Metric>>);
}
/// A class which mocks [ISearchRepository].
@@ -104,23 +214,46 @@ class MockISearchRepository extends _i1.Mock implements _i9.ISearchRepository {
}
@override
- String get path =>
- (super.noSuchMethod(Invocation.getter(#path), returnValue: '') as String);
- @override
- _i2.Dio get dio =>
- (super.noSuchMethod(Invocation.getter(#dio), returnValue: _FakeDio_0())
- as _i2.Dio);
- @override
- _i5.Future<_i3.Either<_i6.RequestFailure, List>> searchPackage(
- {int? page, String? query}) =>
+ String get path => (super.noSuchMethod(
+ Invocation.getter(#path),
+ returnValue: '',
+ ) as String);
+ @override
+ _i2.Dio get dio => (super.noSuchMethod(
+ Invocation.getter(#dio),
+ returnValue: _FakeDio_0(
+ this,
+ Invocation.getter(#dio),
+ ),
+ ) as _i2.Dio);
+ @override
+ _i5.Future<_i3.Either<_i6.RequestFailure, List>> searchPackage({
+ required int? page,
+ required String? query,
+ }) =>
(super.noSuchMethod(
- Invocation.method(#searchPackage, [], {#page: page, #query: query}),
- returnValue:
- Future<_i3.Either<_i6.RequestFailure, List>>.value(
- _FakeEither_1<_i6.RequestFailure, List>())) as _i5
- .Future<_i3.Either<_i6.RequestFailure, List>>);
- @override
- String toString() => super.toString();
+ Invocation.method(
+ #searchPackage,
+ [],
+ {
+ #page: page,
+ #query: query,
+ },
+ ),
+ returnValue:
+ _i5.Future<_i3.Either<_i6.RequestFailure, List>>.value(
+ _FakeEither_1<_i6.RequestFailure, List>(
+ this,
+ Invocation.method(
+ #searchPackage,
+ [],
+ {
+ #page: page,
+ #query: query,
+ },
+ ),
+ )),
+ ) as _i5.Future<_i3.Either<_i6.RequestFailure, List>>);
}
/// A class which mocks [IAdvancedService].
@@ -132,16 +265,32 @@ class MockIAdvancedService extends _i1.Mock implements _i10.IAdvancedService {
}
@override
- _i5.Future<_i3.Either<_i6.RequestFailure, String>> readFile(
- {String? gitPath, String? fileName}) =>
+ _i5.Future<_i3.Either<_i6.RequestFailure, String>> readFile({
+ required String? gitPath,
+ required String? fileName,
+ }) =>
(super.noSuchMethod(
- Invocation.method(
- #readFile, [], {#gitPath: gitPath, #fileName: fileName}),
- returnValue: Future<_i3.Either<_i6.RequestFailure, String>>.value(
- _FakeEither_1<_i6.RequestFailure, String>()))
- as _i5.Future<_i3.Either<_i6.RequestFailure, String>>);
- @override
- String toString() => super.toString();
+ Invocation.method(
+ #readFile,
+ [],
+ {
+ #gitPath: gitPath,
+ #fileName: fileName,
+ },
+ ),
+ returnValue: _i5.Future<_i3.Either<_i6.RequestFailure, String>>.value(
+ _FakeEither_1<_i6.RequestFailure, String>(
+ this,
+ Invocation.method(
+ #readFile,
+ [],
+ {
+ #gitPath: gitPath,
+ #fileName: fileName,
+ },
+ ),
+ )),
+ ) as _i5.Future<_i3.Either<_i6.RequestFailure, String>>);
}
/// A class which mocks [Dio].
@@ -153,341 +302,676 @@ class MockApi extends _i1.Mock implements _i2.Dio {
}
@override
- _i2.BaseOptions get options =>
- (super.noSuchMethod(Invocation.getter(#options),
- returnValue: _FakeBaseOptions_2()) as _i2.BaseOptions);
- @override
- set options(_i2.BaseOptions? _options) =>
- super.noSuchMethod(Invocation.setter(#options, _options),
- returnValueForMissingStub: null);
- @override
- _i2.HttpClientAdapter get httpClientAdapter =>
- (super.noSuchMethod(Invocation.getter(#httpClientAdapter),
- returnValue: _FakeHttpClientAdapter_3()) as _i2.HttpClientAdapter);
- @override
- set httpClientAdapter(_i2.HttpClientAdapter? _httpClientAdapter) => super
- .noSuchMethod(Invocation.setter(#httpClientAdapter, _httpClientAdapter),
- returnValueForMissingStub: null);
- @override
- _i2.Transformer get transformer =>
- (super.noSuchMethod(Invocation.getter(#transformer),
- returnValue: _FakeTransformer_4()) as _i2.Transformer);
- @override
- set transformer(_i2.Transformer? _transformer) =>
- super.noSuchMethod(Invocation.setter(#transformer, _transformer),
- returnValueForMissingStub: null);
- @override
- _i2.Interceptors get interceptors =>
- (super.noSuchMethod(Invocation.getter(#interceptors),
- returnValue: _FakeInterceptors_5()) as _i2.Interceptors);
- @override
- void close({bool? force = false}) =>
- super.noSuchMethod(Invocation.method(#close, [], {#force: force}),
- returnValueForMissingStub: null);
- @override
- _i5.Future<_i2.Response> get(String? path,
- {Map? queryParameters,
- _i2.Options? options,
- _i2.CancelToken? cancelToken,
- _i2.ProgressCallback? onReceiveProgress}) =>
+ _i2.BaseOptions get options => (super.noSuchMethod(
+ Invocation.getter(#options),
+ returnValue: _FakeBaseOptions_2(
+ this,
+ Invocation.getter(#options),
+ ),
+ ) as _i2.BaseOptions);
+ @override
+ set options(_i2.BaseOptions? _options) => super.noSuchMethod(
+ Invocation.setter(
+ #options,
+ _options,
+ ),
+ returnValueForMissingStub: null,
+ );
+ @override
+ _i2.HttpClientAdapter get httpClientAdapter => (super.noSuchMethod(
+ Invocation.getter(#httpClientAdapter),
+ returnValue: _FakeHttpClientAdapter_3(
+ this,
+ Invocation.getter(#httpClientAdapter),
+ ),
+ ) as _i2.HttpClientAdapter);
+ @override
+ set httpClientAdapter(_i2.HttpClientAdapter? _httpClientAdapter) =>
+ super.noSuchMethod(
+ Invocation.setter(
+ #httpClientAdapter,
+ _httpClientAdapter,
+ ),
+ returnValueForMissingStub: null,
+ );
+ @override
+ _i2.Transformer get transformer => (super.noSuchMethod(
+ Invocation.getter(#transformer),
+ returnValue: _FakeTransformer_4(
+ this,
+ Invocation.getter(#transformer),
+ ),
+ ) as _i2.Transformer);
+ @override
+ set transformer(_i2.Transformer? _transformer) => super.noSuchMethod(
+ Invocation.setter(
+ #transformer,
+ _transformer,
+ ),
+ returnValueForMissingStub: null,
+ );
+ @override
+ _i2.Interceptors get interceptors => (super.noSuchMethod(
+ Invocation.getter(#interceptors),
+ returnValue: _FakeInterceptors_5(
+ this,
+ Invocation.getter(#interceptors),
+ ),
+ ) as _i2.Interceptors);
+ @override
+ void close({bool? force = false}) => super.noSuchMethod(
+ Invocation.method(
+ #close,
+ [],
+ {#force: force},
+ ),
+ returnValueForMissingStub: null,
+ );
+ @override
+ _i5.Future<_i2.Response> get(
+ String? path, {
+ Object? data,
+ Map? queryParameters,
+ _i2.Options? options,
+ _i2.CancelToken? cancelToken,
+ _i2.ProgressCallback? onReceiveProgress,
+ }) =>
(super.noSuchMethod(
- Invocation.method(#get, [
- path
- ], {
- #queryParameters: queryParameters,
- #options: options,
- #cancelToken: cancelToken,
- #onReceiveProgress: onReceiveProgress
- }),
- returnValue: Future<_i2.Response>.value(_FakeResponse_6()))
- as _i5.Future<_i2.Response>);
- @override
- _i5.Future<_i2.Response> getUri(Uri? uri,
- {_i2.Options? options,
- _i2.CancelToken? cancelToken,
- _i2.ProgressCallback? onReceiveProgress}) =>
+ Invocation.method(
+ #get,
+ [path],
+ {
+ #data: data,
+ #queryParameters: queryParameters,
+ #options: options,
+ #cancelToken: cancelToken,
+ #onReceiveProgress: onReceiveProgress,
+ },
+ ),
+ returnValue: _i5.Future<_i2.Response>.value(_FakeResponse_6(
+ this,
+ Invocation.method(
+ #get,
+ [path],
+ {
+ #data: data,
+ #queryParameters: queryParameters,
+ #options: options,
+ #cancelToken: cancelToken,
+ #onReceiveProgress: onReceiveProgress,
+ },
+ ),
+ )),
+ ) as _i5.Future<_i2.Response>);
+ @override
+ _i5.Future<_i2.Response> getUri(
+ Uri? uri, {
+ Object? data,
+ _i2.Options? options,
+ _i2.CancelToken? cancelToken,
+ _i2.ProgressCallback? onReceiveProgress,
+ }) =>
(super.noSuchMethod(
- Invocation.method(#getUri, [
- uri
- ], {
- #options: options,
- #cancelToken: cancelToken,
- #onReceiveProgress: onReceiveProgress
- }),
- returnValue: Future<_i2.Response>.value(_FakeResponse_6()))
- as _i5.Future<_i2.Response>);
- @override
- _i5.Future<_i2.Response> post(String? path,
- {dynamic data,
- Map? queryParameters,
- _i2.Options? options,
- _i2.CancelToken? cancelToken,
- _i2.ProgressCallback? onSendProgress,
- _i2.ProgressCallback? onReceiveProgress}) =>
+ Invocation.method(
+ #getUri,
+ [uri],
+ {
+ #data: data,
+ #options: options,
+ #cancelToken: cancelToken,
+ #onReceiveProgress: onReceiveProgress,
+ },
+ ),
+ returnValue: _i5.Future<_i2.Response>.value(_FakeResponse_6(
+ this,
+ Invocation.method(
+ #getUri,
+ [uri],
+ {
+ #data: data,
+ #options: options,
+ #cancelToken: cancelToken,
+ #onReceiveProgress: onReceiveProgress,
+ },
+ ),
+ )),
+ ) as _i5.Future<_i2.Response>);
+ @override
+ _i5.Future<_i2.Response> post(
+ String? path, {
+ Object? data,
+ Map? queryParameters,
+ _i2.Options? options,
+ _i2.CancelToken? cancelToken,
+ _i2.ProgressCallback? onSendProgress,
+ _i2.ProgressCallback? onReceiveProgress,
+ }) =>
(super.noSuchMethod(
- Invocation.method(#post, [
- path
- ], {
- #data: data,
- #queryParameters: queryParameters,
- #options: options,
- #cancelToken: cancelToken,
- #onSendProgress: onSendProgress,
- #onReceiveProgress: onReceiveProgress
- }),
- returnValue: Future<_i2.Response>.value(_FakeResponse_6()))
- as _i5.Future<_i2.Response>);
- @override
- _i5.Future<_i2.Response> postUri(Uri? uri,
- {dynamic data,
- _i2.Options? options,
- _i2.CancelToken? cancelToken,
- _i2.ProgressCallback? onSendProgress,
- _i2.ProgressCallback? onReceiveProgress}) =>
+ Invocation.method(
+ #post,
+ [path],
+ {
+ #data: data,
+ #queryParameters: queryParameters,
+ #options: options,
+ #cancelToken: cancelToken,
+ #onSendProgress: onSendProgress,
+ #onReceiveProgress: onReceiveProgress,
+ },
+ ),
+ returnValue: _i5.Future<_i2.Response>.value(_FakeResponse_6(
+ this,
+ Invocation.method(
+ #post,
+ [path],
+ {
+ #data: data,
+ #queryParameters: queryParameters,
+ #options: options,
+ #cancelToken: cancelToken,
+ #onSendProgress: onSendProgress,
+ #onReceiveProgress: onReceiveProgress,
+ },
+ ),
+ )),
+ ) as _i5.Future<_i2.Response>);
+ @override
+ _i5.Future<_i2.Response> postUri(
+ Uri? uri, {
+ Object? data,
+ _i2.Options? options,
+ _i2.CancelToken? cancelToken,
+ _i2.ProgressCallback? onSendProgress,
+ _i2.ProgressCallback? onReceiveProgress,
+ }) =>
(super.noSuchMethod(
- Invocation.method(#postUri, [
- uri
- ], {
- #data: data,
- #options: options,
- #cancelToken: cancelToken,
- #onSendProgress: onSendProgress,
- #onReceiveProgress: onReceiveProgress
- }),
- returnValue: Future<_i2.Response>.value(_FakeResponse_6()))
- as _i5.Future<_i2.Response>);
- @override
- _i5.Future<_i2.Response> put(String? path,
- {dynamic data,
- Map? queryParameters,
- _i2.Options? options,
- _i2.CancelToken? cancelToken,
- _i2.ProgressCallback? onSendProgress,
- _i2.ProgressCallback? onReceiveProgress}) =>
+ Invocation.method(
+ #postUri,
+ [uri],
+ {
+ #data: data,
+ #options: options,
+ #cancelToken: cancelToken,
+ #onSendProgress: onSendProgress,
+ #onReceiveProgress: onReceiveProgress,
+ },
+ ),
+ returnValue: _i5.Future<_i2.Response>.value(_FakeResponse_6(
+ this,
+ Invocation.method(
+ #postUri,
+ [uri],
+ {
+ #data: data,
+ #options: options,
+ #cancelToken: cancelToken,
+ #onSendProgress: onSendProgress,
+ #onReceiveProgress: onReceiveProgress,
+ },
+ ),
+ )),
+ ) as _i5.Future<_i2.Response>);
+ @override
+ _i5.Future<_i2.Response> put(
+ String? path, {
+ Object? data,
+ Map? queryParameters,
+ _i2.Options? options,
+ _i2.CancelToken? cancelToken,
+ _i2.ProgressCallback? onSendProgress,
+ _i2.ProgressCallback? onReceiveProgress,
+ }) =>
(super.noSuchMethod(
- Invocation.method(#put, [
- path
- ], {
- #data: data,
- #queryParameters: queryParameters,
- #options: options,
- #cancelToken: cancelToken,
- #onSendProgress: onSendProgress,
- #onReceiveProgress: onReceiveProgress
- }),
- returnValue: Future<_i2.Response>.value(_FakeResponse_6()))
- as _i5.Future<_i2.Response>);
- @override
- _i5.Future<_i2.Response> putUri(Uri? uri,
- {dynamic data,
- _i2.Options? options,
- _i2.CancelToken? cancelToken,
- _i2.ProgressCallback? onSendProgress,
- _i2.ProgressCallback? onReceiveProgress}) =>
+ Invocation.method(
+ #put,
+ [path],
+ {
+ #data: data,
+ #queryParameters: queryParameters,
+ #options: options,
+ #cancelToken: cancelToken,
+ #onSendProgress: onSendProgress,
+ #onReceiveProgress: onReceiveProgress,
+ },
+ ),
+ returnValue: _i5.Future<_i2.Response>.value(_FakeResponse_6(
+ this,
+ Invocation.method(
+ #put,
+ [path],
+ {
+ #data: data,
+ #queryParameters: queryParameters,
+ #options: options,
+ #cancelToken: cancelToken,
+ #onSendProgress: onSendProgress,
+ #onReceiveProgress: onReceiveProgress,
+ },
+ ),
+ )),
+ ) as _i5.Future<_i2.Response>);
+ @override
+ _i5.Future<_i2.Response> putUri(
+ Uri? uri, {
+ Object? data,
+ _i2.Options? options,
+ _i2.CancelToken? cancelToken,
+ _i2.ProgressCallback? onSendProgress,
+ _i2.ProgressCallback? onReceiveProgress,
+ }) =>
(super.noSuchMethod(
- Invocation.method(#putUri, [
- uri
- ], {
- #data: data,
- #options: options,
- #cancelToken: cancelToken,
- #onSendProgress: onSendProgress,
- #onReceiveProgress: onReceiveProgress
- }),
- returnValue: Future<_i2.Response>.value(_FakeResponse_6()))
- as _i5.Future<_i2.Response>);
- @override
- _i5.Future<_i2.Response> head(String? path,
- {dynamic data,
- Map? queryParameters,
- _i2.Options? options,
- _i2.CancelToken? cancelToken}) =>
+ Invocation.method(
+ #putUri,
+ [uri],
+ {
+ #data: data,
+ #options: options,
+ #cancelToken: cancelToken,
+ #onSendProgress: onSendProgress,
+ #onReceiveProgress: onReceiveProgress,
+ },
+ ),
+ returnValue: _i5.Future<_i2.Response>.value(_FakeResponse_6(
+ this,
+ Invocation.method(
+ #putUri,
+ [uri],
+ {
+ #data: data,
+ #options: options,
+ #cancelToken: cancelToken,
+ #onSendProgress: onSendProgress,
+ #onReceiveProgress: onReceiveProgress,
+ },
+ ),
+ )),
+ ) as _i5.Future<_i2.Response>);
+ @override
+ _i5.Future<_i2.Response> head(
+ String? path, {
+ Object? data,
+ Map? queryParameters,
+ _i2.Options? options,
+ _i2.CancelToken? cancelToken,
+ }) =>
(super.noSuchMethod(
- Invocation.method(#head, [
- path
- ], {
- #data: data,
- #queryParameters: queryParameters,
- #options: options,
- #cancelToken: cancelToken
- }),
- returnValue: Future<_i2.Response>.value(_FakeResponse_6()))
- as _i5.Future<_i2.Response>);
- @override
- _i5.Future<_i2.Response> headUri(Uri? uri,
- {dynamic data, _i2.Options? options, _i2.CancelToken? cancelToken}) =>
+ Invocation.method(
+ #head,
+ [path],
+ {
+ #data: data,
+ #queryParameters: queryParameters,
+ #options: options,
+ #cancelToken: cancelToken,
+ },
+ ),
+ returnValue: _i5.Future<_i2.Response>.value(_FakeResponse_6(
+ this,
+ Invocation.method(
+ #head,
+ [path],
+ {
+ #data: data,
+ #queryParameters: queryParameters,
+ #options: options,
+ #cancelToken: cancelToken,
+ },
+ ),
+ )),
+ ) as _i5.Future<_i2.Response>);
+ @override
+ _i5.Future<_i2.Response> headUri(
+ Uri? uri, {
+ Object? data,
+ _i2.Options? options,
+ _i2.CancelToken? cancelToken,
+ }) =>
(super.noSuchMethod(
- Invocation.method(#headUri, [uri],
- {#data: data, #options: options, #cancelToken: cancelToken}),
- returnValue: Future<_i2.Response>.value(_FakeResponse_6()))
- as _i5.Future<_i2.Response>);
- @override
- _i5.Future<_i2.Response> delete(String? path,
- {dynamic data,
- Map? queryParameters,
- _i2.Options? options,
- _i2.CancelToken? cancelToken}) =>
+ Invocation.method(
+ #headUri,
+ [uri],
+ {
+ #data: data,
+ #options: options,
+ #cancelToken: cancelToken,
+ },
+ ),
+ returnValue: _i5.Future<_i2.Response>.value(_FakeResponse_6(
+ this,
+ Invocation.method(
+ #headUri,
+ [uri],
+ {
+ #data: data,
+ #options: options,
+ #cancelToken: cancelToken,
+ },
+ ),
+ )),
+ ) as _i5.Future<_i2.Response>);
+ @override
+ _i5.Future<_i2.Response> delete(
+ String? path, {
+ Object? data,
+ Map? queryParameters,
+ _i2.Options? options,
+ _i2.CancelToken? cancelToken,
+ }) =>
(super.noSuchMethod(
- Invocation.method(#delete, [
- path
- ], {
- #data: data,
- #queryParameters: queryParameters,
- #options: options,
- #cancelToken: cancelToken
- }),
- returnValue: Future<_i2.Response>.value(_FakeResponse_6()))
- as _i5.Future<_i2.Response>);
- @override
- _i5.Future<_i2.Response> deleteUri(Uri? uri,
- {dynamic data, _i2.Options? options, _i2.CancelToken? cancelToken}) =>
+ Invocation.method(
+ #delete,
+ [path],
+ {
+ #data: data,
+ #queryParameters: queryParameters,
+ #options: options,
+ #cancelToken: cancelToken,
+ },
+ ),
+ returnValue: _i5.Future<_i2.Response>.value(_FakeResponse_6(
+ this,
+ Invocation.method(
+ #delete,
+ [path],
+ {
+ #data: data,
+ #queryParameters: queryParameters,
+ #options: options,
+ #cancelToken: cancelToken,
+ },
+ ),
+ )),
+ ) as _i5.Future<_i2.Response>);
+ @override
+ _i5.Future<_i2.Response> deleteUri(
+ Uri? uri, {
+ Object? data,
+ _i2.Options? options,
+ _i2.CancelToken? cancelToken,
+ }) =>
(super.noSuchMethod(
- Invocation.method(#deleteUri, [uri],
- {#data: data, #options: options, #cancelToken: cancelToken}),
- returnValue: Future<_i2.Response>.value(_FakeResponse_6()))
- as _i5.Future<_i2.Response>);
- @override
- _i5.Future<_i2.Response> patch(String? path,
- {dynamic data,
- Map? queryParameters,
- _i2.Options? options,
- _i2.CancelToken? cancelToken,
- _i2.ProgressCallback? onSendProgress,
- _i2.ProgressCallback? onReceiveProgress}) =>
+ Invocation.method(
+ #deleteUri,
+ [uri],
+ {
+ #data: data,
+ #options: options,
+ #cancelToken: cancelToken,
+ },
+ ),
+ returnValue: _i5.Future<_i2.Response>.value(_FakeResponse_6(
+ this,
+ Invocation.method(
+ #deleteUri,
+ [uri],
+ {
+ #data: data,
+ #options: options,
+ #cancelToken: cancelToken,
+ },
+ ),
+ )),
+ ) as _i5.Future<_i2.Response>);
+ @override
+ _i5.Future<_i2.Response> patch(
+ String? path, {
+ Object? data,
+ Map? queryParameters,
+ _i2.Options? options,
+ _i2.CancelToken? cancelToken,
+ _i2.ProgressCallback? onSendProgress,
+ _i2.ProgressCallback? onReceiveProgress,
+ }) =>
(super.noSuchMethod(
- Invocation.method(#patch, [
- path
- ], {
- #data: data,
- #queryParameters: queryParameters,
- #options: options,
- #cancelToken: cancelToken,
- #onSendProgress: onSendProgress,
- #onReceiveProgress: onReceiveProgress
- }),
- returnValue: Future<_i2.Response>.value(_FakeResponse_6()))
- as _i5.Future<_i2.Response>);
- @override
- _i5.Future<_i2.Response> patchUri(Uri? uri,
- {dynamic data,
- _i2.Options? options,
- _i2.CancelToken? cancelToken,
- _i2.ProgressCallback? onSendProgress,
- _i2.ProgressCallback? onReceiveProgress}) =>
+ Invocation.method(
+ #patch,
+ [path],
+ {
+ #data: data,
+ #queryParameters: queryParameters,
+ #options: options,
+ #cancelToken: cancelToken,
+ #onSendProgress: onSendProgress,
+ #onReceiveProgress: onReceiveProgress,
+ },
+ ),
+ returnValue: _i5.Future<_i2.Response>.value(_FakeResponse_6(
+ this,
+ Invocation.method(
+ #patch,
+ [path],
+ {
+ #data: data,
+ #queryParameters: queryParameters,
+ #options: options,
+ #cancelToken: cancelToken,
+ #onSendProgress: onSendProgress,
+ #onReceiveProgress: onReceiveProgress,
+ },
+ ),
+ )),
+ ) as _i5.Future<_i2.Response>);
+ @override
+ _i5.Future<_i2.Response> patchUri(
+ Uri? uri, {
+ Object? data,
+ _i2.Options? options,
+ _i2.CancelToken? cancelToken,
+ _i2.ProgressCallback? onSendProgress,
+ _i2.ProgressCallback? onReceiveProgress,
+ }) =>
(super.noSuchMethod(
- Invocation.method(#patchUri, [
- uri
- ], {
- #data: data,
- #options: options,
- #cancelToken: cancelToken,
- #onSendProgress: onSendProgress,
- #onReceiveProgress: onReceiveProgress
- }),
- returnValue: Future<_i2.Response>.value(_FakeResponse_6()))
- as _i5.Future<_i2.Response>);
- @override
- void lock() => super.noSuchMethod(Invocation.method(#lock, []),
- returnValueForMissingStub: null);
- @override
- void unlock() => super.noSuchMethod(Invocation.method(#unlock, []),
- returnValueForMissingStub: null);
- @override
- void clear() => super.noSuchMethod(Invocation.method(#clear, []),
- returnValueForMissingStub: null);
- @override
- _i5.Future<_i2.Response> download(String? urlPath, dynamic savePath,
- {_i2.ProgressCallback? onReceiveProgress,
- Map? queryParameters,
- _i2.CancelToken? cancelToken,
- bool? deleteOnError = true,
- String? lengthHeader = r'content-length',
- dynamic data,
- _i2.Options? options}) =>
+ Invocation.method(
+ #patchUri,
+ [uri],
+ {
+ #data: data,
+ #options: options,
+ #cancelToken: cancelToken,
+ #onSendProgress: onSendProgress,
+ #onReceiveProgress: onReceiveProgress,
+ },
+ ),
+ returnValue: _i5.Future<_i2.Response>.value(_FakeResponse_6(
+ this,
+ Invocation.method(
+ #patchUri,
+ [uri],
+ {
+ #data: data,
+ #options: options,
+ #cancelToken: cancelToken,
+ #onSendProgress: onSendProgress,
+ #onReceiveProgress: onReceiveProgress,
+ },
+ ),
+ )),
+ ) as _i5.Future<_i2.Response>);
+ @override
+ _i5.Future<_i2.Response> download(
+ String? urlPath,
+ dynamic savePath, {
+ _i2.ProgressCallback? onReceiveProgress,
+ Map? queryParameters,
+ _i2.CancelToken? cancelToken,
+ bool? deleteOnError = true,
+ String? lengthHeader = r'content-length',
+ Object? data,
+ _i2.Options? options,
+ }) =>
(super.noSuchMethod(
- Invocation.method(#download, [
- urlPath,
- savePath
- ], {
- #onReceiveProgress: onReceiveProgress,
- #queryParameters: queryParameters,
- #cancelToken: cancelToken,
- #deleteOnError: deleteOnError,
- #lengthHeader: lengthHeader,
- #data: data,
- #options: options
- }),
- returnValue: Future<_i2.Response>.value(
- _FakeResponse_6()))
- as _i5.Future<_i2.Response>);
- @override
- _i5.Future<_i2.Response> downloadUri(Uri? uri, dynamic savePath,
- {_i2.ProgressCallback? onReceiveProgress,
- _i2.CancelToken? cancelToken,
- bool? deleteOnError = true,
- String? lengthHeader = r'content-length',
- dynamic data,
- _i2.Options? options}) =>
+ Invocation.method(
+ #download,
+ [
+ urlPath,
+ savePath,
+ ],
+ {
+ #onReceiveProgress: onReceiveProgress,
+ #queryParameters: queryParameters,
+ #cancelToken: cancelToken,
+ #deleteOnError: deleteOnError,
+ #lengthHeader: lengthHeader,
+ #data: data,
+ #options: options,
+ },
+ ),
+ returnValue:
+ _i5.Future<_i2.Response>.value(_FakeResponse_6(
+ this,
+ Invocation.method(
+ #download,
+ [
+ urlPath,
+ savePath,
+ ],
+ {
+ #onReceiveProgress: onReceiveProgress,
+ #queryParameters: queryParameters,
+ #cancelToken: cancelToken,
+ #deleteOnError: deleteOnError,
+ #lengthHeader: lengthHeader,
+ #data: data,
+ #options: options,
+ },
+ ),
+ )),
+ ) as _i5.Future<_i2.Response>);
+ @override
+ _i5.Future<_i2.Response> downloadUri(
+ Uri? uri,
+ dynamic savePath, {
+ _i2.ProgressCallback? onReceiveProgress,
+ _i2.CancelToken? cancelToken,
+ bool? deleteOnError = true,
+ String? lengthHeader = r'content-length',
+ Object? data,
+ _i2.Options? options,
+ }) =>
(super.noSuchMethod(
- Invocation.method(#downloadUri, [
- uri,
- savePath
- ], {
- #onReceiveProgress: onReceiveProgress,
- #cancelToken: cancelToken,
- #deleteOnError: deleteOnError,
- #lengthHeader: lengthHeader,
- #data: data,
- #options: options
- }),
- returnValue: Future<_i2.Response>.value(
- _FakeResponse_6()))
- as _i5.Future<_i2.Response>);
- @override
- _i5.Future<_i2.Response> request(String? path,
- {dynamic data,
- Map? queryParameters,
- _i2.CancelToken? cancelToken,
- _i2.Options? options,
- _i2.ProgressCallback? onSendProgress,
- _i2.ProgressCallback? onReceiveProgress}) =>
+ Invocation.method(
+ #downloadUri,
+ [
+ uri,
+ savePath,
+ ],
+ {
+ #onReceiveProgress: onReceiveProgress,
+ #cancelToken: cancelToken,
+ #deleteOnError: deleteOnError,
+ #lengthHeader: lengthHeader,
+ #data: data,
+ #options: options,
+ },
+ ),
+ returnValue:
+ _i5.Future<_i2.Response>.value(_FakeResponse_6(
+ this,
+ Invocation.method(
+ #downloadUri,
+ [
+ uri,
+ savePath,
+ ],
+ {
+ #onReceiveProgress: onReceiveProgress,
+ #cancelToken: cancelToken,
+ #deleteOnError: deleteOnError,
+ #lengthHeader: lengthHeader,
+ #data: data,
+ #options: options,
+ },
+ ),
+ )),
+ ) as _i5.Future<_i2.Response>);
+ @override
+ _i5.Future<_i2.Response> request(
+ String? path, {
+ Object? data,
+ Map? queryParameters,
+ _i2.CancelToken? cancelToken,
+ _i2.Options? options,
+ _i2.ProgressCallback? onSendProgress,
+ _i2.ProgressCallback? onReceiveProgress,
+ }) =>
(super.noSuchMethod(
- Invocation.method(#request, [
- path
- ], {
- #data: data,
- #queryParameters: queryParameters,
- #cancelToken: cancelToken,
- #options: options,
- #onSendProgress: onSendProgress,
- #onReceiveProgress: onReceiveProgress
- }),
- returnValue: Future<_i2.Response>.value(_FakeResponse_6()))
- as _i5.Future<_i2.Response>);
- @override
- _i5.Future<_i2.Response> requestUri(Uri? uri,
- {dynamic data,
- _i2.CancelToken? cancelToken,
- _i2.Options? options,
- _i2.ProgressCallback? onSendProgress,
- _i2.ProgressCallback? onReceiveProgress}) =>
+ Invocation.method(
+ #request,
+ [path],
+ {
+ #data: data,
+ #queryParameters: queryParameters,
+ #cancelToken: cancelToken,
+ #options: options,
+ #onSendProgress: onSendProgress,
+ #onReceiveProgress: onReceiveProgress,
+ },
+ ),
+ returnValue: _i5.Future<_i2.Response>.value(_FakeResponse_6(
+ this,
+ Invocation.method(
+ #request,
+ [path],
+ {
+ #data: data,
+ #queryParameters: queryParameters,
+ #cancelToken: cancelToken,
+ #options: options,
+ #onSendProgress: onSendProgress,
+ #onReceiveProgress: onReceiveProgress,
+ },
+ ),
+ )),
+ ) as _i5.Future<_i2.Response>);
+ @override
+ _i5.Future<_i2.Response> requestUri(
+ Uri? uri, {
+ Object? data,
+ _i2.CancelToken? cancelToken,
+ _i2.Options? options,
+ _i2.ProgressCallback? onSendProgress,
+ _i2.ProgressCallback? onReceiveProgress,
+ }) =>
(super.noSuchMethod(
- Invocation.method(#requestUri, [
- uri
- ], {
- #data: data,
- #cancelToken: cancelToken,
- #options: options,
- #onSendProgress: onSendProgress,
- #onReceiveProgress: onReceiveProgress
- }),
- returnValue: Future<_i2.Response