adhara 0.0.37

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 85

adhara

Base framework for Flutter Apps with intense networking and data interactivity

Getting Started

For help getting started with Flutter, view our online documentation.

For help on editing package code, view the documentation.

[0.0.37] - 19th August, 2018.

  • Router's getRoute function now accepts 3rd argument -> customArguments

[0.0.36] - 17th August, 2018.

  • Storage provider create table error handled for IOS

[0.0.35] - 12th August, 2018.

  • Sentry ignore strings introduced. List<String> get sentryIgnoreStrings in Config

[0.0.34] - 11th August, 2018.

  • Adding sentry. use Config.sentryDSN to configure sentry data source name

[0.0.32] - 7th August, 2018.

  • NetworkProvider enhanced. Interceptors introduced.

[0.0.30] - 4th August, 2018.

  • single instance database referred from resources. It is expected to be auto closed on app closing...

[0.0.28] - 1st August, 2018.

  • loadLanguage introduced. Can call this to load new languages whenever required

[0.0.28] - 29th July, 2018.

  • clearResources introduced. This can be called on logout from the application.
  • clearResources by default clear's AppState and calls DataInterface's clearDataStores method.
  • dataStores getter introduced in DataInterface. This must return all data stores whose creation and truncation will be handled with easy utils.

[0.0.27] - 19th July, 2018.

  • Mode utilities added

[0.0.25] - 19th July, 2018.

  • Introducing tag for AdharaState to manage state related unique variables

[0.0.22] - 19th July, 2018.

  • Dart 2 support

[0.0.22] - 19th July, 2018.

  • All calling functions enhanced with same signature

[0.0.21] - 19th July, 2018.

  • StorageProvider methods relating to get list now accepts all arguments supported by sqflite

[0.0.20] - 19th July, 2018.

  • StorageProvider delete operation Signature changes

[0.0.18] - 19th July, 2018.

  • Introducing Batch Udpate.

[0.0.16] - 18th July, 2018.

  • Created time and Updated time for all beans and storage's.

[0.0.13] - 18th July, 2018.

  • Introducing AdharaStatelessWidget. Use buildWithResources(BuildContext context, Resources r) to access resources.

[0.0.12] - 15th July, 2018.

  • Network provider failure responses now throw error

[0.0.10] - 15th July, 2018.

  • App state scope get and set method names changed to getValue setValue.
  • default value made optional for getValue

[0.0.6] - 15th July, 2018.

  • providing r as a getter in adhara stateful widget

[0.0.5] - 15th July, 2018.

  • Introducing remove in KeyValueStorageProvider

[0.0.4] - 15th July, 2018.

  • Adding option for custom data interface in config.dart

[0.0.2] - 15th July, 2018.

  • Adding URL launcher as a single function call which abstracts checks for canLaunch

[0.0.1] - 15th July, 2018.

  • AdharaStatefulWidget and AdharaSState to manage lifecycle events for data
  • Resource Handling for languages
  • Router to handle URL's by path
  • SQFLite integrated for database interactions
  • Bean (~ POJO classes from Java) based storage handlers
  • KeyValue stores in database
  • http storage for URL based storage

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  adhara: ^0.0.37

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter packages get

Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:adhara/adhara.dart';
  
Version Uploaded Documentation Archive
0.0.37 Aug 19, 2018 Go to the documentation of adhara 0.0.37 Download adhara 0.0.37 archive
0.0.36 Aug 17, 2018 Go to the documentation of adhara 0.0.36 Download adhara 0.0.36 archive
0.0.35 Aug 11, 2018 Go to the documentation of adhara 0.0.35 Download adhara 0.0.35 archive
0.0.34 Aug 11, 2018 Go to the documentation of adhara 0.0.34 Download adhara 0.0.34 archive
0.0.33 Aug 11, 2018 Go to the documentation of adhara 0.0.33 Download adhara 0.0.33 archive
0.0.32 Aug 7, 2018 Go to the documentation of adhara 0.0.32 Download adhara 0.0.32 archive
0.0.31 Aug 7, 2018 Go to the documentation of adhara 0.0.31 Download adhara 0.0.31 archive
0.0.30 Aug 4, 2018 Go to the documentation of adhara 0.0.30 Download adhara 0.0.30 archive
0.0.29 Jul 31, 2018 Go to the documentation of adhara 0.0.29 Download adhara 0.0.29 archive
0.0.28 Jul 27, 2018 Go to the documentation of adhara 0.0.28 Download adhara 0.0.28 archive

All 36 versions...

Popularity:
Describes how popular the package is relative to other packages. [more]
74
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
95
Overall:
Weighted score of the above. [more]
85
Learn more about scoring.

We analyzed this package on Aug 19, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0
  • pana: 0.11.8
  • Flutter: 0.5.7

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Issues and suggestions

Use constrained dependencies.

The pubspec.yaml contains 1 dependency without version constraints. Specify version ranges for the following dependencies: sentry.

Package is pre-v1 release.

While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction of the API.

Maintain an example.

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use adhara.dart.

Fix lib/app.dart.

Analysis of lib/app.dart reported 1 hint:

line 8 col 8: Duplicate import.

Format lib/config.dart.

Run flutter format to format lib/config.dart.

Fix additional 8 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/datainterface/bean.dart (1 hint)
  • lib/datainterface/data_interface.dart (Run flutter format to format lib/datainterface/data_interface.dart.)
  • lib/datainterface/network/network_provider.dart (Run flutter format to format lib/datainterface/network/network_provider.dart.)
  • lib/datainterface/storage/storage_provider.dart (1 hint)
  • lib/resources/r.dart (Run flutter format to format lib/resources/r.dart.)
  • lib/router.dart (Run flutter format to format lib/router.dart.)
  • lib/utils.dart (Run flutter format to format lib/utils.dart.)
  • lib/widgets/stateful_widget.dart (Run flutter format to format lib/widgets/stateful_widget.dart.)

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.0.0 <3.0.0
flutter 0.0.0
http ^0.11.3+16 0.11.3+17
path ^1.5.1 1.6.2
path_provider ^0.4.1 0.4.1
sentry any 2.1.0
sqflite ^0.10.0 0.10.0 0.11.1
url_launcher ^3.0.2 3.0.3
Transitive dependencies
async 2.0.8
charcode 1.1.2
collection 1.14.6 1.14.11
http_parser 3.1.3
meta 1.1.5 1.1.6
sky_engine 0.0.99
source_span 1.4.1
stack_trace 1.9.3
string_scanner 1.0.4
synchronized 1.5.1+1
typed_data 1.1.5 1.1.6
usage 3.4.1
vector_math 2.0.6 2.0.8
Dev dependencies
flutter_test