precise_pattle 1.0.5

  • Readme
  • Changelog
  • Example
  • Installing
  • new51

Precise Pattle #

pub package license: MIT style: precise_pattle

A set of practices (linter rules) used in Pattle projects, such as Pattle itself, and the matrix_sdk.

This package uses rules of and is inspired by effective_dart, pedantic, and Flutter.

Usage #

To use these analysis rules in your own project, add it as a dev dependency in your pubspec.yaml:

dev_dependencies:
  precise_pattle: ^1.0.5

Then include it in your analysis_options.yaml:

include: package:precise_pattle/analysis_options.yaml

Further info #

More info on how to use the Dart analyzer can be found here.

1.0.5 #

  • Remove pedantic dependency

1.0.4 #

  • Format code

1.0.3 #

  • Make pub.dev happy
  • Fix README

1.0.2 #

  • Fix pubspec links

1.0.1 #

  • Fix effective_dart and pedantic being dev_dependencies instead of normal dependencies

1.0.0 #

  • Initial version

example/main.dart

/// Dummy example

Use this package as a library

1. Depend on it

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


dependencies:
  precise_pattle: ^1.0.5

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:precise_pattle/precise_pattle.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
2
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
51
Learn more about scoring.

We analyzed this package on Jul 6, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.4
  • pana: 0.13.13

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.8.1 <3.0.0
effective_dart ^1.2.1 1.2.3