I got Polymer iron-flex-layout for working in my AngularDart component using classes. Since it generates an obsolescence warning, I thought I would try an alternative alternative: mixin's. They do not work.
I currently have this import in my artist_component.dart file:
import 'package:polymer_elements/iron_flex_layout.dart';
I also tried adding this to my index.html
<link rel="import" href="packages/polymer_elements/iron_flex_layout.html">
This is different from the example in the documentation that uses the gazebo. In my artist_component.html, I have:
<style is="custom-style">
.container {
@apply(--layout-horizontal);
}
.flexchild {
@apply(--layout-flex-3);
}
.flexchild-2 {
@apply(--layout-flex-9);
}
</style>
<section class="container">
<section class="flexchild gutter">
...
I tried putting import in index.html and in my main css file along with no affect style. Given that classes work, you think mixim will be there too.