jaspr_class_scope 0.1.0 copy "jaspr_class_scope: ^0.1.0" to clipboard
jaspr_class_scope: ^0.1.0 copied to clipboard

Locally scoped CSS class names for Jaspr components: a name written in one component cannot style another component's markup.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add jaspr_class_scope

With Flutter:

 $ flutter pub add jaspr_class_scope

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  jaspr_class_scope: ^0.1.0

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

Import it

Now in your Dart code, you can use:

import 'package:jaspr_class_scope/jaspr_class_scope.dart';
1
likes
160
points
--
downloads

Documentation

API reference

Publisher

verified publisherleancode.co

Weekly Downloads

Locally scoped CSS class names for Jaspr components: a name written in one component cannot style another component's markup.

Homepage
Repository (GitHub)
View/report issues

Topics

#css #jaspr #scoped-styles #styling #web

License

Apache-2.0 (license)

More

Packages that depend on jaspr_class_scope