From 8563abf1179a1a08dcba90b8449964cb6b7e86d9 Mon Sep 17 00:00:00 2001 From: Kingkor Roy Tirtho Date: Thu, 7 Jul 2022 10:30:28 +0600 Subject: [PATCH] finalized for 1st release --- README.md | 4 ++ .../fl_query/.flutter-plugins-dependencies | 2 +- packages/fl_query/lib/src/query_bowl.dart | 4 +- packages/fl_query/pubspec.yaml | 47 +++---------------- 4 files changed, 14 insertions(+), 43 deletions(-) diff --git a/README.md b/README.md index 97ff9ad..83020d2 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,10 @@ For elite flutter_hooks user: $ flutter pub add flutter_hooks ``` +# Docs + +You can find the documentation (WIP) of fl-query at https://fl-query.vercel.app/ + # Basic Usage First wrap your `MaterialApp` with with `QueryBowlScope` widget diff --git a/packages/fl_query/.flutter-plugins-dependencies b/packages/fl_query/.flutter-plugins-dependencies index 61f7254..9c9f0eb 100644 --- a/packages/fl_query/.flutter-plugins-dependencies +++ b/packages/fl_query/.flutter-plugins-dependencies @@ -1 +1 @@ -{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"connectivity_plus","path":"/home/krtirtho/.pub-cache/hosted/pub.dartlang.org/connectivity_plus-2.3.5/","native_build":true,"dependencies":[]}],"android":[{"name":"connectivity_plus","path":"/home/krtirtho/.pub-cache/hosted/pub.dartlang.org/connectivity_plus-2.3.5/","native_build":true,"dependencies":[]}],"macos":[{"name":"connectivity_plus_macos","path":"/home/krtirtho/.pub-cache/hosted/pub.dartlang.org/connectivity_plus_macos-1.2.4/","native_build":true,"dependencies":[]}],"linux":[{"name":"connectivity_plus_linux","path":"/home/krtirtho/.pub-cache/hosted/pub.dartlang.org/connectivity_plus_linux-1.3.1/","native_build":false,"dependencies":[]}],"windows":[{"name":"connectivity_plus_windows","path":"/home/krtirtho/.pub-cache/hosted/pub.dartlang.org/connectivity_plus_windows-1.2.2/","native_build":true,"dependencies":[]}],"web":[{"name":"connectivity_plus_web","path":"/home/krtirtho/.pub-cache/hosted/pub.dartlang.org/connectivity_plus_web-1.2.2/","dependencies":[]}]},"dependencyGraph":[{"name":"connectivity_plus","dependencies":["connectivity_plus_linux","connectivity_plus_macos","connectivity_plus_web","connectivity_plus_windows"]},{"name":"connectivity_plus_linux","dependencies":[]},{"name":"connectivity_plus_macos","dependencies":[]},{"name":"connectivity_plus_web","dependencies":[]},{"name":"connectivity_plus_windows","dependencies":[]}],"date_created":"2022-06-26 23:45:47.442373","version":"3.0.1"} \ No newline at end of file +{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"connectivity_plus","path":"/home/krtirtho/.pub-cache/hosted/pub.dartlang.org/connectivity_plus-2.3.5/","native_build":true,"dependencies":[]}],"android":[{"name":"connectivity_plus","path":"/home/krtirtho/.pub-cache/hosted/pub.dartlang.org/connectivity_plus-2.3.5/","native_build":true,"dependencies":[]}],"macos":[{"name":"connectivity_plus_macos","path":"/home/krtirtho/.pub-cache/hosted/pub.dartlang.org/connectivity_plus_macos-1.2.4/","native_build":true,"dependencies":[]}],"linux":[{"name":"connectivity_plus_linux","path":"/home/krtirtho/.pub-cache/hosted/pub.dartlang.org/connectivity_plus_linux-1.3.1/","native_build":false,"dependencies":[]}],"windows":[{"name":"connectivity_plus_windows","path":"/home/krtirtho/.pub-cache/hosted/pub.dartlang.org/connectivity_plus_windows-1.2.2/","native_build":true,"dependencies":[]}],"web":[{"name":"connectivity_plus_web","path":"/home/krtirtho/.pub-cache/hosted/pub.dartlang.org/connectivity_plus_web-1.2.2/","dependencies":[]}]},"dependencyGraph":[{"name":"connectivity_plus","dependencies":["connectivity_plus_linux","connectivity_plus_macos","connectivity_plus_web","connectivity_plus_windows"]},{"name":"connectivity_plus_linux","dependencies":[]},{"name":"connectivity_plus_macos","dependencies":[]},{"name":"connectivity_plus_web","dependencies":[]},{"name":"connectivity_plus_windows","dependencies":[]}],"date_created":"2022-07-07 10:27:09.479183","version":"3.0.1"} \ No newline at end of file diff --git a/packages/fl_query/lib/src/query_bowl.dart b/packages/fl_query/lib/src/query_bowl.dart index fbe6d29..c60e953 100644 --- a/packages/fl_query/lib/src/query_bowl.dart +++ b/packages/fl_query/lib/src/query_bowl.dart @@ -41,10 +41,10 @@ class QueryBowlScope extends StatefulWidget { /// refetch query when new query instance mounts final bool refetchOnMount; - /// for desktop & web only + /// for desktop & web only (DUMMY & isn't implemented yet) final bool refetchOnWindowFocus; - /// for mobile only + /// for mobile only (DUMMY & isn't implemented yet) final bool refetchOnApplicationResume; /// refetch when user's device reconnects to the internet after no being diff --git a/packages/fl_query/pubspec.yaml b/packages/fl_query/pubspec.yaml index 4fe3f27..8dedfd0 100644 --- a/packages/fl_query/pubspec.yaml +++ b/packages/fl_query/pubspec.yaml @@ -1,14 +1,18 @@ name: fl_query description: A new Flutter package project. version: 0.1.0 -homepage: https://github.com/KRTirtho/fl-query +homepage: https://fl-query.vercel.app + +issue_tracker: https://github.com/KRTirtho/fl-query/issues + +repository: https://github.com/KRTirtho/fl-query + environment: sdk: ">=2.17.1 <3.0.0" flutter: ">=1.17.0" dependencies: - async: ^2.8.2 collection: ^1.16.0 connectivity_plus: ^2.3.5 flutter: @@ -20,41 +24,4 @@ dev_dependencies: sdk: flutter flutter_lints: ^2.0.0 mocktail: ^0.3.0 - flutter_hooks: ^0.18.5 - -# 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: - - # To add assets to your package, add an assets section, like this: - # assets: - # - images/a_dot_burr.jpeg - # - images/a_dot_ham.jpeg - # - # For details regarding assets in packages, see - # https://flutter.dev/assets-and-images/#from-packages - # - # An image asset can refer to one or more resolution-specific "variants", see - # https://flutter.dev/assets-and-images/#resolution-aware - - # To add custom fonts to your package, 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 in packages, see - # https://flutter.dev/custom-fonts/#from-packages + flutter_hooks: ^0.18.5 \ No newline at end of file