jb_option_input 4.0.1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 49

jb_option_input

An AngularDart 1 Component for being re-used in other AngularDart projects

Usage

  1. Add the component to your pubspec.yaml (see 'Install' tab)
  1. Show your component to angular dependency injection -> see App Class in app_initialize.dart

     import 'package:jb_option_input/jb_option_input.dart';
    
     class App extends Angular.Module {
    
       App() {
         bind(JbOptionInput);
       }
     }
    

Changelog

4.0.1

  • some cleaning for publishing

4.0.0

  • updates to Angular 4

2.0.0

  • updated to Angular 2

1.1.2

  • hide label for select mode if empty

1.1.1

  • changed p tag for radio group label to span

1.1.0

  • Added label attribute
  • Shortened current-value attribute to value
  • Added display-style attribute
  • Added mode to display this component as dom.SelectElement
  • added random double number as name seed to option buttons name attributes to separate the options from one jb-option-input from another on the same page

1.0.0

  • Initial version

Use this package as a library

1. Depend on it

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


dependencies:
  jb_option_input: "^4.0.1"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

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

3. Import it

Now in your Dart code, you can use:


      import 'package:jb_option_input/jb_option_input.dart';
  
Version Uploaded Documentation Archive
4.0.1 Jan 18, 2018 Go to the documentation of jb_option_input 4.0.1 Download jb_option_input 4.0.1 archive

Analysis

We analyzed this package on Jun 19, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.63.0
  • pana: 0.11.3

Scores

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

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:jb_option_input/jb_option_input.dart.

Suggestions

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use jb_option_input.dart.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 1 hint.

    Run dartfmt to format lib/src/component.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.24.0 <2.0.0
angular ^4.0.0 4.0.0+2 5.0.0-alpha+15
angular_forms ^1.0.0 1.0.0 2.0.0-alpha+7
browser ^0.10.0+2 0.10.0+3
dart_to_js_script_rewriter ^1.0.3 1.0.3
logging ^0.11.3+1 0.11.3+1
logging_handlers ^0.8.0 0.8.0
quiver ^0.24.0 0.24.0 0.29.0+1
web_components ^0.12.5 0.12.5
Transitive dependencies
analyzer 0.29.11 0.32.1
angular_compiler 0.3.0+1 0.4.0-alpha+15
args 0.13.7 1.4.3
async 2.0.7
barback 0.15.2+16
build 0.11.2 0.12.6
build_barback 0.4.0+2 0.5.0+4
charcode 1.1.1
cli_util 0.0.1+2 0.1.3
code_builder 1.0.4 3.1.0
code_transformers 0.5.1+3 0.5.1+5
collection 1.14.10
convert 2.0.1
crypto 2.0.5
csslib 0.14.4
dart_style 0.2.16 1.1.0
func 1.0.0
glob 1.1.5
html 0.13.3+1
initialize 0.6.2+7
intl 0.15.6
isolate 1.1.0 2.0.1
matcher 0.12.3
meta 1.1.5
package_config 1.0.3
path 1.6.1
plugin 0.2.0+2
pool 1.3.5
quiver_hashcode 1.0.0
source_gen 0.7.5+1 0.8.2
source_maps 0.10.5
source_span 1.4.0
stack_trace 1.9.2
string_scanner 1.0.2
tuple 1.0.1
typed_data 1.1.5
utf 0.9.0+4
watcher 0.9.7+8
when 0.2.0
which 0.1.3
yaml 2.1.14
Dev dependencies
js 0.6.1 0.6.1
test >=0.12.0 <0.13.0