dali 0.0.1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 54

dali #

Dali image loading library

Getting Started #

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

[0.0.1] - TODO: Add release date.

  • TODO: Describe initial release.

Use this package as a library

1. Depend on it

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


dependencies:
  dali: ^0.0.1

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:


import 'package:dali/dali.dart';
  
Version Uploaded Documentation Archive
0.0.12 Apr 25, 2019 Go to the documentation of dali 0.0.12 Download dali 0.0.12 archive
0.0.11 Apr 16, 2019 Go to the documentation of dali 0.0.11 Download dali 0.0.11 archive
0.0.10 Jan 12, 2019 Go to the documentation of dali 0.0.10 Download dali 0.0.10 archive
0.0.9 Jan 12, 2019 Go to the documentation of dali 0.0.9 Download dali 0.0.9 archive
0.0.8 Jan 4, 2019 Go to the documentation of dali 0.0.8 Download dali 0.0.8 archive
0.0.7 Jan 1, 2019 Go to the documentation of dali 0.0.7 Download dali 0.0.7 archive
0.0.6 Dec 24, 2018 Go to the documentation of dali 0.0.6 Download dali 0.0.6 archive
0.0.5 Dec 24, 2018 Go to the documentation of dali 0.0.5 Download dali 0.0.5 archive
0.0.4 Dec 23, 2018 Go to the documentation of dali 0.0.4 Download dali 0.0.4 archive
0.0.3 Dec 23, 2018 Go to the documentation of dali 0.0.3 Download dali 0.0.3 archive

All 12 versions...

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

We analyzed this package on May 8, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.3.0
  • pana: 0.12.15
  • Flutter: 1.5.8

Platforms

Detected platforms:

Error(s) prevent platform classification:

Error(s) in lib/image_cache_impl.dart: 'ImageCacheImpl.putIfAbsent' ('(Object, () → ImageStreamCompleter) → ImageStreamCompleter') isn't a valid override of 'ImageCache.putIfAbsent' ('(Object, () → ImageStreamCompleter, {onError: (dynamic, StackTrace) → void}) → ImageStreamCompleter').

Health issues and suggestions

Fix lib/image_cache_impl.dart. (-25 points)

Analysis of lib/image_cache_impl.dart failed with 1 error:

line 34 col 3: 'ImageCacheImpl.putIfAbsent' ('(Object, () → ImageStreamCompleter) → ImageStreamCompleter') isn't a valid override of 'ImageCache.putIfAbsent' ('(Object, () → ImageStreamCompleter, {onError: (dynamic, StackTrace) → void}) → ImageStreamCompleter').

Format lib/cached_image.dart.

Run flutter format to format lib/cached_image.dart.

Format lib/cached_image_provider.dart.

Run flutter format to format lib/cached_image_provider.dart.

Fix additional 3 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/dali_cache_manager.dart (Run flutter format to format lib/dali_cache_manager.dart.)
  • lib/dali_image_cache.dart (Run flutter format to format lib/dali_image_cache.dart.)
  • lib/site.dart (Run flutter format to format lib/site.dart.)

Maintenance issues and suggestions

Fix platform conflicts. (-20 points)

Error(s) prevent platform classification:

Error(s) in lib/image_cache_impl.dart: 'ImageCacheImpl.putIfAbsent' ('(Object, () → ImageStreamCompleter) → ImageStreamCompleter') isn't a valid override of 'ImageCache.putIfAbsent' ('(Object, () → ImageStreamCompleter, {onError: (dynamic, StackTrace) → void}) → ImageStreamCompleter').

The package description is too short. (-20 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and dali.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Package is pre-v0.1 release. (-10 points)

While nothing is inherently wrong with versions of 0.0.*, it might mean that the author is still experimenting with the general direction of the API.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.68.0 <3.0.0
flutter 0.0.0
image ^2.0.4 2.0.7
path_provider ^0.4.1 0.4.1 1.0.0
Transitive dependencies
archive 2.0.8
args 1.5.1
charcode 1.1.2
collection 1.14.11
convert 2.1.1
crypto 2.0.6
meta 1.1.6 1.1.7
path 1.6.2
petitparser 2.2.1
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
xml 3.4.1
Dev dependencies
flutter_test