Unverified Commit bae9543e by Nayan Committed by GitHub

Merge pull request #3 from nayanAubie/development

Release V1.0.2
parents c6d8efa1 43e27ae7
## 1.0.2
- Updated `Flutter linter` & `Dart analysis`.
## 1.0.1 ## 1.0.1
- Added videos in `Preview` - Added videos in `Preview`
......
# This file configures the analyzer, which statically analyzes Dart code to
# check for errors, warnings, and lints.
#
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
# invoked from the command line by running `flutter analyze`.
# The following line activates a set of recommended lints for Flutter apps,
# packages, and plugins designed to encourage good coding practices.
include: package:flutter_lints/flutter.yaml include: package:flutter_lints/flutter.yaml
linter: linter:
# The lint rules applied to this project can be customized in the
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
# included above or to enable additional rules. A list of all available lints
# and their documentation is published at
# https://dart-lang.github.io/linter/lints/index.html.
#
# Instead of disabling a lint rule for the entire project in the
# section below, it can also be suppressed for a single line of code
# or a specific dart file by using the `// ignore: name_of_lint` and
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
# producing the lint.
rules: rules:
# avoid_print: false # Uncomment to disable the `avoid_print` rule use_enums: true
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule close_sinks: true
use_colored_box: true
# Additional information about this file can be found at use_raw_strings: true
# https://dart.dev/guides/language/analysis-options unnecessary_late: true
avoid_void_async: true
throw_in_finally: true
use_decorated_box: true
use_named_constants: true
prefer_final_locals: true
cascade_invocations: true
directives_ordering: true
flutter_style_todos: true
unnecessary_lambdas: true
secure_pubspec_urls: true
use_super_parameters: true
cancel_subscriptions: true
prefer_single_quotes: true
sort_pub_dependencies: true
parameter_assignments: true
do_not_use_environment: true
avoid_final_parameters: true
unnecessary_statements: true
sized_box_shrink_expand: true
unnecessary_parenthesis: true
prefer_relative_imports: true
unnecessary_raw_strings: true
require_trailing_commas: true
prefer_if_null_operators: true
prefer_final_in_for_each: true
use_test_throws_matchers: true
type_annotate_public_apis: true
omit_local_variable_types: true
use_to_and_as_if_applicable: true
prefer_asserts_with_message: true
avoid_escaping_inner_quotes: true
join_return_with_assignment: true
no_adjacent_strings_in_list: true
unnecessary_await_in_return: true
avoid_double_and_int_checks: true
depend_on_referenced_packages: false
conditional_uri_does_not_exist: true
use_is_even_rather_than_modulo: true
prefer_null_aware_method_calls: true
avoid_redundant_argument_values: true
literal_only_boolean_expressions: true
use_setters_to_change_properties: true
avoid_types_on_closure_parameters: true
prefer_asserts_in_initializer_lists: true
avoid_positional_boolean_parameters: true
avoid_unused_constructor_parameters: true
use_if_null_to_convert_nulls_to_bools: true
prefer_constructors_over_static_methods: true
use_late_for_private_fields_and_variables: true
avoid_field_initializers_in_const_classes: true
no_leading_underscores_for_library_prefixes: true
prefer_function_declarations_over_variables: true
no_leading_underscores_for_local_identifiers: true
avoid_equals_and_hash_code_on_mutable_classes: true
prefer_if_elements_to_conditional_expressions: true
avoid_bool_literals_in_conditional_expressions: true
...@@ -41,14 +41,6 @@ packages: ...@@ -41,14 +41,6 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.18.0" version: "1.18.0"
cupertino_icons:
dependency: "direct main"
description:
name: cupertino_icons
sha256: e35129dc44c9118cee2a5603506d823bab99c68393879edb440e0090d07586be
url: "https://pub.dev"
source: hosted
version: "1.0.5"
fake_async: fake_async:
dependency: transitive dependency: transitive
description: description:
...@@ -66,10 +58,10 @@ packages: ...@@ -66,10 +58,10 @@ packages:
dependency: "direct dev" dependency: "direct dev"
description: description:
name: flutter_lints name: flutter_lints
sha256: aeb0b80a8b3709709c9cc496cdc027c5b3216796bc0af0ce1007eaf24464fd4c sha256: "3f41d009ba7172d5ff9be5f6e6e6abb4300e263aab8866d2a0842ed2a70f8f0c"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.0.1" version: "4.0.0"
flutter_test: flutter_test:
dependency: "direct dev" dependency: "direct dev"
description: flutter description: flutter
...@@ -79,34 +71,34 @@ packages: ...@@ -79,34 +71,34 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: leak_tracker name: leak_tracker
sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa" sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "10.0.0" version: "10.0.4"
leak_tracker_flutter_testing: leak_tracker_flutter_testing:
dependency: transitive dependency: transitive
description: description:
name: leak_tracker_flutter_testing name: leak_tracker_flutter_testing
sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0 sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.0.1" version: "3.0.3"
leak_tracker_testing: leak_tracker_testing:
dependency: transitive dependency: transitive
description: description:
name: leak_tracker_testing name: leak_tracker_testing
sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47 sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.0.1" version: "3.0.1"
lints: lints:
dependency: transitive dependency: transitive
description: description:
name: lints name: lints
sha256: "5e4a9cd06d447758280a8ac2405101e0e2094d2a1dbdd3756aec3fe7775ba593" sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.0.1" version: "4.0.0"
matcher: matcher:
dependency: transitive dependency: transitive
description: description:
...@@ -127,17 +119,17 @@ packages: ...@@ -127,17 +119,17 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: meta name: meta
sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04 sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.11.0" version: "1.12.0"
open_file_manager: open_file_manager:
dependency: "direct main" dependency: "direct main"
description: description:
path: ".." path: ".."
relative: true relative: true
source: path source: path
version: "1.0.1" version: "1.0.2"
path: path:
dependency: transitive dependency: transitive
description: description:
...@@ -203,10 +195,10 @@ packages: ...@@ -203,10 +195,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: test_api name: test_api
sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.6.1" version: "0.7.0"
vector_math: vector_math:
dependency: transitive dependency: transitive
description: description:
...@@ -219,10 +211,10 @@ packages: ...@@ -219,10 +211,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: vm_service name: vm_service
sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957 sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "13.0.0" version: "14.2.1"
sdks: sdks:
dart: ">=3.3.0 <4.0.0" dart: ">=3.3.0 <4.0.0"
flutter: ">=3.0.0" flutter: ">=3.18.0-18.0.pre.54"
name: open_file_manager_example name: open_file_manager_example
description: Demonstrates how to use the open_file_manager plugin. description: Demonstrates how to use the open_file_manager plugin.
publish_to: 'none'
# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
environment: environment:
sdk: '>=3.1.0 <4.0.0' sdk: '>=3.1.0 <4.0.0'
# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
# consider running `flutter pub upgrade --major-versions`. Alternatively,
# dependencies can be manually updated by changing the version numbers below to
# the latest version available on pub.dev. To see which dependencies have newer
# versions available, run `flutter pub outdated`.
dependencies: dependencies:
flutter: flutter:
sdk: flutter sdk: flutter
open_file_manager: open_file_manager:
# When depending on this package from a real application you should use:
# open_file_manager: ^x.y.z
# See https://dart.dev/tools/pub/dependencies#version-constraints
# The example app is bundled with the plugin so we use a path dependency on
# the parent directory to use the current plugin's version.
path: ../ path: ../
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.2
dev_dependencies: dev_dependencies:
flutter_lints: ^4.0.0
flutter_test: flutter_test:
sdk: flutter sdk: flutter
# The "flutter_lints" package below contains a set of recommended lints to
# encourage good coding practices. The lint set provided by the package is
# activated in the `analysis_options.yaml` file located at the root of your
# package. See that file for information about deactivating specific lint
# rules and activating additional ones.
flutter_lints: ^2.0.0
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter packages.
flutter: flutter:
# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
uses-material-design: true uses-material-design: true
\ No newline at end of file
# To add assets to your application, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware
# For details regarding adding assets from package dependencies, see
# https://flutter.dev/assets-and-images/#from-packages
# To add custom fonts to your application, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts from package dependencies,
# see https://flutter.dev/custom-fonts/#from-packages
...@@ -7,19 +7,17 @@ ...@@ -7,19 +7,17 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart'; import 'package:flutter_test/flutter_test.dart';
import 'package:open_file_manager_example/main.dart'; import 'package:open_file_manager_example/main.dart';
void main() { void main() {
testWidgets('Verify Platform version', (WidgetTester tester) async { testWidgets('Verify Platform version', (tester) async {
// Build our app and trigger a frame. // Build our app and trigger a frame.
await tester.pumpWidget(const MyApp()); await tester.pumpWidget(const MyApp());
// Verify that platform version is retrieved. // Verify that platform version is retrieved.
expect( expect(
find.byWidgetPredicate( find.byWidgetPredicate(
(Widget widget) => widget is Text && (widget) => widget is Text && widget.data!.startsWith('Running on:'),
widget.data!.startsWith('Running on:'),
), ),
findsOneWidget, findsOneWidget,
); );
......
name: open_file_manager name: open_file_manager
description: A flutter plugin to open default file manager app. on an Android, it opens Download/Recent folder on file manager app. on iOS, it opens app's document folder in Files app. description: A flutter plugin to open default file manager app. on an Android, it opens Download/Recent folder on file manager app. on iOS, it opens app's document folder in Files app.
version: 1.0.1 version: 1.0.2
homepage: https://auberginesolutions.com homepage: https://auberginesolutions.com
repository: https://github.com/nayanAubie/open_file_manager repository: https://github.com/nayanAubie/open_file_manager
issue_tracker: https://github.com/nayanAubie/open_file_manager/issues
environment: environment:
sdk: '>=3.3.0 <4.0.0' sdk: '>=3.3.0 <4.0.0'
...@@ -14,7 +15,7 @@ dependencies: ...@@ -14,7 +15,7 @@ dependencies:
plugin_platform_interface: ^2.1.8 plugin_platform_interface: ^2.1.8
dev_dependencies: dev_dependencies:
flutter_lints: ^3.0.2 flutter_lints: ^4.0.0
flutter_test: flutter_test:
sdk: flutter sdk: flutter
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment