ng_bootstrap 1.1.0

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 81

ng_bootstrap #

Join the chat

Usage & Demo

Getting Started #

1. Create a new angular2-dart app: https://angular.io/docs/dart/latest/quickstart.html

2. Add ng_bootstrap to pubspect.yaml:

dependencies:
    ...
    ng_bootstrap: any
    ...

3. Add css stylesheet link to index.html:

<head>
    ...
    <link rel="stylesheet" href="packages/ng_bootstrap/all.css">
    ...
</head>

4. Add needed ng_bootstrap directives to your components:

import 'package:ng_bootstrap/ng_bootstrap.dart';

@Component(
    // ...
    directives: const [bsDirectives])

Customize Styles - Create Custom Themes #

To customize default styles to create custom themes based on ng_bootstrap theme, the best option is to create an scss file that imports the package:ng_bootstrap/all.scss file, for example:

// variables should be set before importing default theme
$brand-primary: red !important;

// you could also import a custom variables theme if you prefer
// but it should be done before importing default theme
@import 'path/to/_my-variables';

@import 'package:ng_bootstrap/all';

Then in your index.html file change the link tag to point to the new theme.

<head>
    ...
    <link rel="stylesheet" href="path/to/my-theme.css">
    ...
</head>

Components #

Others #

  • [x] BsTemplateOutlet - to transclude templates (Most likely will be removed in future versions)
  • [x] positional service

Contribution #

Create new issues

Fork me

TODO #

  • [ ] support animation (in progress...)

1.1.0 #

  • add editable attribute to bs_table
  • add searchable attribute and search fields row to bs_table (fix #85)
  • add hideSelectColumn attribute to bs_table (fix #92)

1.0.3 #

  • upgrade dart-sdk version to >=2.1.0-dev <3.0.0

1.0.2 #

  • fix sorting by number or date (fix #117)
  • fix pagination greater than 10 (fix #116)
  • add examples to remote data with bs-table
  • fix remote sorting for bs-table
  • fix column width for select column

1.0.1 #

  • upgrade bootstrap_sass to version ^4.1.3
  • fix demo links
  • fix accordion style

1.0.0 #

  • Add ngClass to bs-column
  • rename constants to camelcase
  • fix bsTable
  • add vertical tabs support to bs-tabsx
  • bs-progress is resizeable
  • fix bug on active tab not set correctly (fix #19)

1.0.0-beta+1 #

  • Add ability to edit table inline
  • upgrade dependencies to support dart-sdk 2.0.0
  • move css from file_upload_demo.html to file_upload_demo.scss

1.0.0-beta+0 #

  • remove validators since angular ones accomplish the same
  • upgrade to angular: 5.0.0-beta+3

1.0.0-alpha+4 #

  • upgrade angular to 5.0.0-alpha+15
  • upgrade angular_forms to 2.0.0-alpha+7
  • enhance bs-inputs

1.0.0-alpha+3 #

  • upgrade angular to 5.0.0-alpha+13
  • upgrade angular_forms to 2.0.0-alpha+5

1.0.0-alpha+2 #

  • upgrade angular to ^5.0.0-alpha+2
  • upgrade stream_transform to ^0.0.11
  • change bootstrapStatic by runApp
  • fixes #103
  • fixes #104
  • fixes #105

1.0.0-alpha+1 #

  • upgrade angular to version 5.0.0-alpha+9
  • upgrade bootstrap_sass to version 4.0.0
  • add class modal-open to body when modal is open
  • add $dropdown-link-hover-bg: #e9ecef !default; to make background color of dropdown links darker

1.0.0-alpha #

  • upgrade angular to version 5.0.0-alpha+7
  • upgrade build_runner to version ^0.7.0
  • fix bug in bs-rating component
  • fix bug in progress caused by adding bootstrap@^4.0.0-beta
  • add ability to create components inside modal

0.9.2 #

  • add bsPattern to bsInput
  • add ability to override error messages to bsInput

0.9.1 #

  • add example of pagination custom text
  • add card header
  • fix card for bootstrap
  • update tooltip_demo.html

0.9.0 #

  • add popover component (fixes: #82)
  • fix tooltip styles

0.8.6 #

  • upgrade to bootstrap@^4.0.0-beta

0.8.5 #

  • correct tooltip placement inside table element (fixes: #76)
  • correct tooltip placement after fast hide and show
  • correct accordion expand/collapse timing

0.8.4 #

  • Upgrade to angular_forms@^1.0.0 (fixes: #80)

0.8.3 #

  • Upgrade to angular@4.0.0

0.8.2 #

  • support DDC (fixes: #71)
  • change stream_transformers library by stream_transform
  • add input listener to components that extends DefaultValueAccessor

0.8.1 #

  • Upgrade to angular@4.0.0-beta (fixes: #78)

0.8.0 #

  • Upgrade to angular@4.0.0-alpha+3
  • Change bs-modal logic to pass buttons instead actions
  • Add BsPromptService to create a modal from a function

0.7.1 #

  • Upgrade to angular@4.0.0-alpha+2
  • add bsPrompt

0.7.0 #

  • Upgrade to angular@4.0.0-alpha+1

0.6.7 #

  • add BsInput to BS_DIRECTIVES list

0.6.6 #

  • enhance BsInput component
  • add BsMinLength Directive
  • add BsMaxLength Directive

0.6.5 #

  • remove date_picker_inner files and activeDate attribute from date-picker
  • remove initDate from date-picker (fixes: #68)
  • enhance layout and styling of date-picker

0.6.4 #

  • upgrade sass_builder to ^0.1.1

0.6.3 #

  • replace EventEmitter by Stream and StreamController

0.6.2 #

  • upgrade markdown to version 0.11.3

0.6.1 #

  • upgrade to angular 3.0.0-beta+2

0.5.3 #

  • use sass_builder 0.0.2
  • use angular2 3.0.0-alpha+1
  • bs-table allows row selection and cell templates

0.5.2 #

  • upgrade to sass 1.0.0-alpha.9
  • upgrade to intl 0.14.0

0.5.1 #

  • correct date-picker-popup not updating values correctly

0.5.0 #

  • upgrade to bootstrap_sass v4.0.0-alpha.5
  • remove unneded code in date_picker_popup

0.4.6 #

  • add format and locale to datepicker-popup (fixes #51 and #45)

0.4.5 #

  • correct path to font-awesome (fixes #59)

0.4.4 #

  • make accordion panel grow to fit the content (fixes #55)

0.4.3 #

  • Use grinder and dart-sass instead sass_transformer and ruby-sass.
  • Upgrade angular to 2.2.0 and remove Renderer from files. (fixes #56)

0.4.2 #

  • Typeahead:
    • increase the options limit to 200
    • process matches always user clicks dropdown button, or whenever user change search value
    • add clear text button
    • add _typeahead.scss which contains the styles for clear-button

0.4.1 #

  • increase version of angular2 to 2.0.0-beta.22
  • change path of fontawesome in all.scss to use packages directory
  • remove web folder. The content is going to be in gh-pages branch and it is going to work as separate project.
  • remove print from BsModalComponent constructor

0.4.0 #

  • rename NG_BOOTSTRAP_TABLE_DIRECTIVES to BS_TABLE_DIRECTIVES
  • rename NG_BOOTSTRAP_TABSX_DIRECTIVES to BS_TABSX_DIRECTIVES
  • rename NG_BOOTSTRAP_DIRECTIVES to BS_DIRECTIVES
  • add file-upload directives

0.3.4 #

  • correct wrong totalChange value change in pagination
  • correct modal demo button class
  • use totalPages value from pagination instead calculating it in table-demo
  • correct back removeTab as proposed on PR #23

0.3.3 #

  • correct bug of accordion-panel not opening by default

0.3.2 #

  • add ability to use complex objects as data input for table component

0.3.1 #

  • upgrade bootstrap_sass to v4.0.0-alpha.3+4
  • upgrade sass_transformer to v0.1.1
  • change sass to sass_transformer in README

0.3.0+1 #

  • use sass_transformer 0.1.0 instead dart-sass 0.5.0
  • remove packages path from all.scss

0.3.0 #

  • Rename components to use pattern Bs<name>Component
  • Rename directives to use pattern Bs<name>Directive
  • Make BsTimePickerComponent.writeValue method async
  • Make BsDatePickerComponent.writeValue method async
  • Add styling for bs-pager
  • Add min-width to bs-pagination components in bs-pagination-demo
  • Upgrade to angular 2.0.0-alpha.20

0.2.3 #

  • add BsTableComponent and BsColumnComponent:
    • no column template supported
    • no complex objects as row input supported
    • no selection
    • no actions (delete, edit, view, ...)
  • correct pagination directive totalItems change
  • Collapse directive:   - correct collapsing animation   - remove isCollapse and isCollapsed attributes   - add bsCollapseChange and collapsingChange event-emitters
  • upgrade bootstrap_sass to 4.0.0-alpha.3+1
  • use $ling-height-base instead $line-height in _panel.scss
  • rename css-class scrollable-menu to scrollable-navbar-menu to avoid crashes with class in _dropdown.scss
  • fix collapse_demo.html: collapse not being hidden
  • correct panel-title font too big

0.2.2 #

  • make TypeAhead.dropdownMenu scrollable. Fixes #7.
  • add noResults and loading messages to TypeAhead.dropdownMenu
  • correct TypeAhead case sensitivity results
  • remove TypeAhead._queryStream.distinct processing, this avoids values not gotten when same value has been typed before after passing debounce time

0.2.1 #

  • rename n2sCollapse to bsCollapse
  • fix bug in accordion caused when closeOthers attribute is null
  • remove unneeded code on DatePickerPopup (solves #26)
  • correct error caused by entering wrong date onto DatePickerPopup-TextBox

0.2.0 #

  • upgrade to angular 2.0.0-beta.19
  • Fix Removing tabs sometimes didn't work #23
  • Added support for typeaheads to specify a optionField in complex Objects
  • Rename NG_BOOTSTRAP_TABS_DIRECTIVES to NG_BOOTSTRAP_TABSX_DIRECTIVES
  • Add NG_BOOTSTRAP_TABS_DIRECTIVES constant
  • Remove components.dart and put the code into ng_bootstrap.dart directly
  • Rename NGBS_CAROUSEL_DIRECTIVES to NG_BOOTSTRAP_CAROUSEL_DIRECTIVES

0.1.1 #

  • correct bug sass not founding files doubt to usage of relative path instead of packages path
  • change caret icon of typeahead to font-awesome icon
  • Remove Getting Started and Migration links from demo header
  • correct visual errors in dropdown demo
  • add style display inline-block to bs-dropdown

Use this package as a library

1. Depend on it

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


dependencies:
  ng_bootstrap: ^1.1.0

2. Install it

You can install packages from the command line:

with pub:


$ pub get

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

3. Import it

Now in your Dart code, you can use:


import 'package:ng_bootstrap/ng_bootstrap.dart';
  
Version Uploaded Documentation Archive
1.1.1 Nov 24, 2018 Go to the documentation of ng_bootstrap 1.1.1 Download ng_bootstrap 1.1.1 archive
1.1.0 Nov 24, 2018 Go to the documentation of ng_bootstrap 1.1.0 Download ng_bootstrap 1.1.0 archive
1.0.3 Nov 4, 2018 Go to the documentation of ng_bootstrap 1.0.3 Download ng_bootstrap 1.0.3 archive
1.0.2 Nov 4, 2018 Go to the documentation of ng_bootstrap 1.0.2 Download ng_bootstrap 1.0.2 archive
1.0.1 Oct 4, 2018 Go to the documentation of ng_bootstrap 1.0.1 Download ng_bootstrap 1.0.1 archive
1.0.0 Sep 2, 2018 Go to the documentation of ng_bootstrap 1.0.0 Download ng_bootstrap 1.0.0 archive
0.9.2 Jan 20, 2018 Go to the documentation of ng_bootstrap 0.9.2 Download ng_bootstrap 0.9.2 archive
0.9.1 Jan 19, 2018 Go to the documentation of ng_bootstrap 0.9.1 Download ng_bootstrap 0.9.1 archive
0.9.0 Nov 16, 2017 Go to the documentation of ng_bootstrap 0.9.0 Download ng_bootstrap 0.9.0 archive
0.8.6 Sep 29, 2017 Go to the documentation of ng_bootstrap 0.8.6 Download ng_bootstrap 0.8.6 archive

All 60 versions...

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

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

  • Dart: 2.3.1
  • pana: 0.12.16

Platforms

Detected platforms: web

Primary library: package:ng_bootstrap/ng_bootstrap.dart with components: html, js.

Health suggestions

Fix lib/components/table/table_component.dart. (-1.99 points)

Analysis of lib/components/table/table_component.dart reported 4 hints:

line 143 col 7: DO use curly braces for all flow control structures.

line 145 col 7: DO use curly braces for all flow control structures.

line 153 col 7: DO use curly braces for all flow control structures.

line 155 col 7: DO use curly braces for all flow control structures.

Fix lib/components/typeahead/typeahead.dart. (-1.99 points)

Analysis of lib/components/typeahead/typeahead.dart reported 4 hints:

line 150 col 69: Use isNotEmpty for Iterables and Maps.

line 151 col 9: DO use curly braces for all flow control structures.

line 181 col 23: Don't explicitly initialize variables to null.

line 204 col 29: Use isNotEmpty for Iterables and Maps.

Fix lib/components/collapse/collapse.dart. (-0.50 points)

Analysis of lib/components/collapse/collapse.dart reported 1 hint:

line 52 col 3: Avoid return types on setters.

Fix additional 35 files with analysis or formatting issues. (-3.50 points)

Additional issues in the following files:

  • lib/components/datepicker/date_picker.dart (1 hint)
  • lib/components/input/input.dart (1 hint)
  • lib/components/modal/modal.dart (1 hint)
  • lib/components/progress/progress.dart (1 hint)
  • lib/components/rating/rating.dart (1 hint)
  • lib/components/timepicker/timepicker.dart (1 hint)
  • lib/core/position.dart (1 hint)
  • lib/components/accordion/accordion.dart (Run dartfmt to format lib/components/accordion/accordion.dart.)
  • lib/components/alert/alert.dart (Run dartfmt to format lib/components/alert/alert.dart.)
  • lib/components/button/toggle.dart (Run dartfmt to format lib/components/button/toggle.dart.)
  • lib/components/carousel/carousel.dart (Run dartfmt to format lib/components/carousel/carousel.dart.)
  • lib/components/datepicker/date_picker_popup.dart (Run dartfmt to format lib/components/datepicker/date_picker_popup.dart.)
  • lib/components/datepicker/day_picker.dart (Run dartfmt to format lib/components/datepicker/day_picker.dart.)
  • lib/components/datepicker/index.dart (Run dartfmt to format lib/components/datepicker/index.dart.)
  • lib/components/datepicker/month_picker.dart (Run dartfmt to format lib/components/datepicker/month_picker.dart.)
  • lib/components/datepicker/year_picker.dart (Run dartfmt to format lib/components/datepicker/year_picker.dart.)
  • lib/components/dropdown/dropdown.dart (Run dartfmt to format lib/components/dropdown/dropdown.dart.)
  • lib/components/dropdown/index.dart (Run dartfmt to format lib/components/dropdown/index.dart.)
  • lib/components/dropdown/menu.dart (Run dartfmt to format lib/components/dropdown/menu.dart.)
  • lib/components/dropdown/toggle.dart (Run dartfmt to format lib/components/dropdown/toggle.dart.)
  • lib/components/file_upload/file_drop_directive.dart (Run dartfmt to format lib/components/file_upload/file_drop_directive.dart.)
  • lib/components/file_upload/file_select_directive.dart (Run dartfmt to format lib/components/file_upload/file_select_directive.dart.)
  • lib/components/file_upload/file_upload.dart (Run dartfmt to format lib/components/file_upload/file_upload.dart.)
  • lib/components/pagination/pager.dart (Run dartfmt to format lib/components/pagination/pager.dart.)
  • lib/components/pagination/pagination.dart (Run dartfmt to format lib/components/pagination/pagination.dart.)
  • lib/components/popover/popover.dart (Run dartfmt to format lib/components/popover/popover.dart.)
  • lib/components/prompt/prompt_service.dart (Run dartfmt to format lib/components/prompt/prompt_service.dart.)
  • lib/components/table/column_directive.dart (Run dartfmt to format lib/components/table/column_directive.dart.)
  • lib/components/table/column_editor_directive.dart (Run dartfmt to format lib/components/table/column_editor_directive.dart.)
  • lib/components/table/column_filterer_directive.dart (Run dartfmt to format lib/components/table/column_filterer_directive.dart.)
  • lib/components/table/table_directives.dart (Run dartfmt to format lib/components/table/table_directives.dart.)
  • lib/components/tabs/tabs.dart (Run dartfmt to format lib/components/tabs/tabs.dart.)
  • lib/components/tabsx/tabsx.dart (Run dartfmt to format lib/components/tabsx/tabsx.dart.)
  • lib/components/tooltip/tooltip.dart (Run dartfmt to format lib/components/tooltip/tooltip.dart.)
  • lib/ng_bootstrap.dart (Run dartfmt to format lib/ng_bootstrap.dart.)

Maintenance issues and suggestions

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

exitCode: 255 stdout: parsing /tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/core/position.dart... parsing /tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/modal/modal.dart... parsing /tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/tabsx/tabsx.dart... parsing /tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/accordion/accordion.dart... parsing /tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/datepicker/index.dart... parsing /tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/collapse/collapse.dart... parsing /tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/file_upload/file_type_class.dart... parsing /tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/file_upload/file_upload.dart... parsing /tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/button/toggle.dart... parsing /tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/button/radio.dart... parsing /tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/table/table_directives.dart... parsing /tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/progress/progress.dart... parsing /tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/typeahead/typeahead.dart... parsing /tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/alert/alert.dart... parsing /tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/dropdown/index.dart... parsing /tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/carousel/carousel.dart... parsing /tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/prompt/prompt_service.dart... parsing /tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/prompt/prompt.dart... parsing /tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/tabs/tabs.dart... parsing /tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/rating/rating.dart... [...] documenting ng_bootstrap Generating docs for library accordion from package:ng_bootstrap/components/accordion/accordion.dart... Generating docs for library alert from package:ng_bootstrap/components/alert/alert.dart... Generating docs for library bs_date_picker from package:ng_bootstrap/components/datepicker/index.dart... Generating docs for library bs_dropdown from package:ng_bootstrap/components/dropdown/index.dart... Generating docs for library bs_file_upload from package:ng_bootstrap/components/file_upload/file_upload.dart... Generating docs for library bs_table_directives from package:ng_bootstrap/components/table/table_directives.dart... Generating docs for library carousel from package:ng_bootstrap/components/carousel/carousel.dart... Generating docs for library collapse from package:ng_bootstrap/components/collapse/collapse.dart... Generating docs for library file_type_class from package:ng_bootstrap/components/file_upload/file_type_class.dart... Generating docs for library input from package:ng_bootstrap/components/input/input.dart... Generating docs for library modal from package:ng_bootstrap/components/modal/modal.dart... Generating docs for library ng_bootstrap from package:ng_bootstrap/ng_bootstrap.dart... Generating docs for library pager from package:ng_bootstrap/components/pagination/pager.dart... Generating docs for library pagination from package:ng_bootstrap/components/pagination/pagination.dart... Generating docs for library popover from package:ng_bootstrap/components/popover/popover.dart... Generating docs for library position from package:ng_bootstrap/core/position.dart... Generating docs for library progress from package:ng_bootstrap/components/progress/progress.dart... Generating docs for library prompt from package:ng_bootstrap/components/prompt/prompt.dart... Generating docs for library prompt.template from package:ng_bootstrap/components/prompt/prompt.template.dart... stderr: Documenting ng_bootstrap... warning: unresolved doc reference [x], from package-ng_bootstrap: file:///tmp/pub-dartlang-dartdocKUTBPI/pkg warning: unresolved doc reference [NgBsCollapse], from accordion.BsAccordionComponent: (file:///tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/accordion/accordion.dart:25:7) warning: no canonical library found for accordion.BsAccordionComponent.hashCode, not linking, from accordion.BsAccordionComponent.hashCode: (file:///dart-sdk/lib/core/object.dart) warning: no canonical library found for accordion.BsAccordionComponent.runtimeType, not linking, from accordion.BsAccordionComponent.runtimeType: (file:///dart-sdk/lib/core/object.dart) warning: no canonical library found for accordion.BsAccordionComponent.noSuchMethod, not linking, from accordion.BsAccordionComponent.noSuchMethod: (file:///dart-sdk/lib/core/object.dart:109:20) warning: no canonical library found for accordion.BsAccordionComponent.toString, not linking, from accordion.BsAccordionComponent.toString: (file:///dart-sdk/lib/core/object.dart:97:19) warning: no canonical library found for accordion.BsAccordionComponent.==, not linking, from accordion.BsAccordionComponent.==: (file:///dart-sdk/lib/core/object.dart:60:26) warning: bs_date_picker has no library level documentation comments, from bs_date_picker: (file:///tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/datepicker/index.dart:1:8) warning: unresolved doc reference [NgBsDatePickerPopup], from bs_date_picker.BsDatePickerPopupComponent: (file:///tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/datepicker/date_picker_popup.dart:19:7) warning: unresolved doc reference [NgBsDatePicker], from bs_date_picker.BsDayPickerComponent: (file:///tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/datepicker/day_picker.dart:6:7) warning: unresolved doc reference [NgBsDatePicker], from bs_date_picker.BsMonthPickerComponent: (file:///tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/datepicker/month_picker.dart:9:7) warning: unresolved doc reference [NgBsDatePicker], from bs_date_picker.BsYearPickerComponent: (file:///tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/datepicker/year_picker.dart:9:7) warning: no canonical library found for bs_date_picker.BsDatePickerBase.onChange, not linking, from bs_date_picker.BsDatePickerBase.onChange: (file:///tmp/pub-cache-dirISDFZK/hosted/pub.dartlang.org/angular_forms-2.1.2/lib/src/directives/control_value_accessor.dart:63:21) warning: no canonical library found for bs_date_picker.BsDatePickerBase.onTouched, not linking, from bs_date_picker.BsDatePickerBase.onTouched: (file:///tmp/pub-cache-dirISDFZK/hosted/pub.dartlang.org/angular_forms-2.1.2/lib/src/directives/control_value_accessor.dart:45:17) warning: no canonical library found for bs_date_picker.BsDatePickerBase.registerOnTouched, not linking, from bs_date_picker.BsDatePickerBase.registerOnTouched: (file:///tmp/pub-cache-dirISDFZK/hosted/pub.dartlang.org/angular_forms-2.1.2/lib/src/directives/control_value_accessor.dart:53:8) warning: no canonical library found for bs_date_picker.BsDatePickerBase.touchHandler, not linking, from bs_date_picker.BsDatePickerBase.touchHandler: (file:///tmp/pub-cache-dirISDFZK/hosted/pub.dartlang.org/angular_forms-2.1.2/lib/src/directives/control_value_accessor.dart:48:8) warning: unresolved doc reference [NgBsDatePicker], from bs_date_picker.BsDatePickerComponent.BsDatePickerComponent: (file:///tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/datepicker/date_picker.dart:30:3) warning: unresolved doc reference [Renderer], from bs_date_picker.BsDatePickerComponent.BsDatePickerComponent: (file:///tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/datepicker/date_picker.dart:30:3) warning: unresolved doc reference [BsDatePickerInnerComponent] from bs_date_picker.BsMonthPickerComponent.datePicker: (file:///tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/datepicker/month_picker.dart:11:25) in documentation inherited from bs_date_picker.BsMonthPickerComponent.datePicker: (file:///tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/datepicker/month_picker.dart:11:25) warning: bs_dropdown has no library level documentation comments, from bs_dropdown: (file:///tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/dropdown/index.dart:1:8) warning: bs_file_upload has no library level documentation comments, from bs_file_upload: (file:///tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/file_upload/file_upload.dart:1:8) warning: bs_table_directives has no library level documentation comments, from bs_table_directives: (file:///tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/table/table_directives.dart:1:8) warning: unresolved doc reference [maxLength] from input.BsInput.maxLengthMessage: (file:///tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/input/input.dart:40:19) in documentation inherited from input.BsInput.maxLengthMessage: (file:///tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/input/input.dart:40:19) warning: no canonical library found for input.BsInput.registerOnChange, not linking, from input.BsInput.registerOnChange: (file:///tmp/pub-cache-dirISDFZK/hosted/pub.dartlang.org/angular_forms-2.1.2/lib/src/directives/control_value_accessor.dart:66:8) warning: unresolved doc reference [totalPage], from pagination.BsPaginationComponent.getPages: (file:///tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/pagination/pagination.dart:62:3) warning: unresolved doc reference [BspopoverComponent], from popover.BsPopoverComponent.BsPopoverComponent: (file:///tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/popover/popover.dart:35:3) warning: unresolved doc reference [options], from popover.BsPopoverComponent.BsPopoverComponent: (file:///tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/popover/popover.dart:35:3) Unhandled exception: FileSystemException: Cannot open file, path = '/tmp/pub-dartlang-dartdocKUTBPI/pkg/lib/components/prompt/prompt.template.dart' (OS Error: No such file or directory, errno = 2) #0 _File.throwIfError (dart:io/file_impl.dart:643:7) #1 _File.openSync (dart:io/file_impl.dart:487:5) #2 _File.readAsBytesSync (dart:io/file_impl.dart:547:18) #3 _File.readAsStringSync (dart:io/file_impl.dart:592:18) #4 LineNumberCache._fileContents.<anonymous closure> (package:dartdoc/src/line_number_cache.dart:56:61) #5 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.putIfAbsent (dart:collection-patch/compact_hash.dart:281:23) #6 LineNumberCache._fileContents (package:dartdoc/src/line_number_cache.dart:56:22) #7 LineNumberCache.lineAndColumn.<anonymous closure> (package:dartdoc/src/line_number_cache.dart:47:43) #8 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.putIfAbsent (dart:collection-patch/compact_hash.dart:281:23) #9 LineNumberCache.lineAndColumn (package:dartdoc/src/line_number_cache.dart:46:32) #10 ModelElement.lineAndColumn (package:dartdoc/src/model.dart:3504:40) #11 new SourceLinker.fromElement (package:dartdoc/src/source_linker.dart:88:27) #12 ModelElement.sourceHref (package:dartdoc/src/model.dart:3225:25) #13 ModelElement.hasSourceHref (package:dartdoc/src/model.dart:3222:29) #14 _LocalInstanceMirror._invokeGetter (dart:mirrors-patch/mirrors_impl.dart:329:76) #15 _LocalInstanceMirror.getField (dart:mirrors-patch/mirrors_impl.dart:296:20) #16 Renderer._getNamedProperty (package:mustache/src/renderer.dart:245:29) #17 Renderer.resolveValue (package:mustache/src/renderer.dart:212:16) #18 Renderer._renderSection (package:mustache/src/renderer.dart:120:17) #19 Renderer.visitSection (package:mustache/src/renderer.dart:115:7) #20 SectionNode.accept (package:mustache/src/node.dart:63:43) #21 Renderer.render.<anonymous closure> (package:mustache/src/renderer.dart:58:30) #22 List.forEach (dart:core-patch/growable_array.dart:278:8) #23 Renderer.render (package:mustache/src/renderer.dart:58:13) #24 Renderer.visitPartial (package:mustache/src/renderer.dart:195:16) #25 PartialNode.accept (package:mustache/src/node.dart:81:43) #26 SectionNode.visitChildren.<anonymous closure> (package:mustache/src/node.dart:66:37) #27 List.forEach (dart:core-patch/growable_array.dart:278:8) #28 SectionNode.visitChildren (package:mustache/src/node.dart:66:14) #29 Renderer._renderWithValue (package:mustache/src/renderer.dart:184:10) #30 Renderer._renderSection (package:mustache/src/renderer.dart:144:7) #31 Renderer.visitSection (package:mustache/src/renderer.dart:115:7) #32 SectionNode.accept (package:mustache/src/node.dart:63:43) #33 Renderer.render.<anonymous closure> (package:mustache/src/renderer.dart:58:30) #34 List.forEach (dart:core-patch/growable_array.dart:278:8) #35 Renderer.render (package:mustache/src/renderer.dart:58:13) #36 Template.render (package:mustache/src/template.dart:40:14) #37 Template.renderString (package:mustache/src/template.dart:33:5) #38 HtmlGeneratorInstance._build (package:dartdoc/src/html/html_generator_instance.dart:381:31) #39 HtmlGeneratorInstance.generateLibrary (package:dartdoc/src/html/html_generator_instance.dart:269:5) #40 HtmlGeneratorInstance._generateDocs (package:dartdoc/src/html/html_generator_instance.dart:131:9) #41 HtmlGeneratorInstance.generate (package:dartdoc/src/html/html_generator_instance.dart:36:7) <asynchronous suspension> #42 HtmlGenerator.generate (package:dartdoc/src/html/html_generator.dart:108:23) <asynchronous suspension> #43 Dartdoc.generateDocsBase (package:dartdoc/dartdoc.dart:107:25) <asynchronous suspension> #44 Dartdoc.generateDocs (package:dartdoc/dartdoc.dart:134:43) <asynchronous suspension> #45 main (file:///project/pkg/pub_dartdoc/bin/pub_dartdoc.dart:27:17) <asynchronous suspension> #46 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:298:32) #47 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:171:12)

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 ng_bootstrap.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 >=2.1.0-dev <3.0.0
angular ^5.1.0 5.3.0 6.0.0-alpha
angular_forms ^2.0.0 2.1.2 2.1.3
bootstrap_sass ^4.1.3 4.2.1
font_awesome ^4.7.0 4.7.0+1
intl ^0.15.0 0.15.8
js_shims ^1.0.0 1.0.0
stream_transform ^0.0.11 0.0.19
Transitive dependencies
analyzer 0.35.4 0.36.3
angular_ast 0.5.9 0.5.10
angular_compiler 0.4.3 0.4.4
args 1.5.1
async 2.2.0
build 1.1.4
build_config 0.3.2 0.4.0
built_collection 4.2.2
built_value 6.5.0
charcode 1.1.2
code_builder 3.2.0
collection 1.14.11
convert 2.1.1
crypto 2.0.6
csslib 0.14.6 0.16.0
dart_style 1.2.4 1.2.7
fixnum 0.10.9
front_end 0.1.14 0.1.18
glob 1.1.7
js 0.6.1+1
json_annotation 2.4.0
kernel 0.3.14 0.3.18
logging 0.11.3+2
matcher 0.12.5
meta 1.1.7
package_config 1.0.5
path 1.6.2
pedantic 1.7.0
pub_semver 1.4.2
pubspec_parse 0.1.4
quiver 2.0.3
source_gen 0.9.4+2
source_span 1.5.5
stack_trace 1.9.3
string_scanner 1.0.4
term_glyph 1.1.0
typed_data 1.1.6
watcher 0.9.7+10
yaml 2.1.15
Dev dependencies
build_runner any
sass_builder ^2.1.1