MdlComponentModel top-level constant

const MdlComponentModel = const MdlAnnotation()

Helps dryice to know which vars are available to render

Sample: @Component class Model { int sliderValue = 20; } mustache.template = """

Slider value: {{sliderValue}}
"""; mustache.render(model);

For 'class Application...' use @inject

@inject
class Application extends MaterialApplication {
    ...
}

Implementation

const MdlAnnotation MdlComponentModel = const MdlAnnotation()