fortune_1000_companies 0.1.1

  • Readme
  • Changelog
  • Installing
  • 56

Fortune 1000 Companies #

Pub Build Status

Just a list of fortune_1000_companies to be used for the greater good.

Usage #

import 'package:fortune_1000_companies/fortune_1000_companies.dart';

main() {
  fortune_1000_companies.forEach(print); // A bunch of names...

  getRandomCompanyName(); // Safeway
  getRandomCompanyName(); // Walmart

Development #

fortune_1000_companies leverages the dart_dev package for most of its tooling needs, including static analysis, code formatting, running tests, collecting coverage, and serving examples. Check out the dart_dev readme for more information.

Testing - pub run dart_dev test

Formatting - pub run dart_dev format

Changelog #

0.1.0 #

  • Somehow another company snuck into the company list, @georgelesica-wf escorted him out.
  • Bumping to 0.1.0 to support ranges.

0.0.1 #

  • Initial version, created by Stagehand
  • List populated and ready to use.

Use this package as a library

1. Depend on it

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

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

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

  • Dart: 2.7.1
  • pana: 0.13.6

Health suggestions

Fix lib/src/companies.dart. (-0.50 points)

Analysis of lib/src/companies.dart reported 1 hint:

line 5 col 24: Unnecessary new keyword.

Maintenance suggestions

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.

Package is getting outdated. (-8.49 points)

The package was last published 56 weeks ago.

Homepage URL is insecure. (-5 points)

Update the homepage field and use a secure (https) URL.

Maintain an example.

None of the files in the package's example/ directory matches known example patterns.

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

For more information see the pub package layout conventions.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.24.3 <3.0.0
Dev dependencies
build_runner >=0.6.0 <2.0.0
build_test >=0.9.0 <2.0.0
dart_dev ^2.0.0
dart_style ^1.0.9
test >=0.12.30 <2.0.0