community_material_icon 5.3.45

  • Readme
  • Changelog
  • Installing
  • 88

community_material_icon #

A community material design icon as set of Flutter Icons

Installation #

In the dependencies: section of your pubspec.yaml, add the following line:

  community_material_icon: ^5.3.45

Usage #

import 'package:community_material_icon/community_material_icon.dart';

class MyWidget extends StatelessWidget {
  Widget build(BuildContext context) {
    return IconButton(
      icon: Icon(CommunityMaterialIcons.alarm),
      onPressed: () {
        print('Pressed');
      }
    );
  }
}

[0.1.0] - 28 jan 2018. #

Use this package as a library

1. Depend on it

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


dependencies:
  community_material_icon: ^5.3.45

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support 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:community_material_icon/community_material_icon.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
91
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
60
Overall:
Weighted score of the above. [more]
88
Learn more about scoring.

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

  • Dart: 2.8.4
  • pana: 0.13.13
  • Flutter: 1.17.5

Analysis suggestions

Package not compatible with SDK dart

because of import path [community_material_icon] that is in a package requiring null.

Health suggestions

Format lib/community_material_icon.dart.

Run flutter format to format lib/community_material_icon.dart.

Maintenance issues and suggestions

Make sure dartdoc successfully runs on your package's source files. (-10 points)

exitCode: -15 stdout: Exceeded timeout of 0:10:00.000000 Documenting community_material_icon... Initialized dartdoc with 357 libraries in 92.0 seconds Generating docs for library community_material_icon from package:community_material_icon/community_material_icon.dart... Validating docs... stderr: Exceeded timeout of 0:10:00.000000 warning: community_material_icon has no library level documentation comments, from community_material_icon: (file:///tmp/pub-dartlang-dartdocHWYTTW/pkg/lib/community_material_icon.dart:1:9)

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 community_material_icon.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.19.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.12 1.14.13
meta 1.1.8
sky_engine 0.0.99
typed_data 1.1.6 1.2.0
vector_math 2.0.8