jaspr_class_scope 0.1.0
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.
example/jaspr_class_scope_example.dart
// The example prints what the component would render.
// ignore_for_file: avoid_print
import 'hero.dart';
void main() {
print(Hero.styles); // .grid-7en7oj > .title-7en7oj
print(Hero.gridClasses); // grid-7en7oj
print(copyButton.name); // js-copy
}