dart-material-design-lite icon indicating copy to clipboard operation
dart-material-design-lite copied to clipboard

Add syntactic sugar for initializing mdl library

Open andresaraujo opened this issue 9 years ago • 0 comments

It would be great if there was a simpler way of initializing the mdl library with defaults.

Instead of doing:

mdl.registerMdl();
await mdl.componentFactory().run();

How about something like:

await mdl.initMdl();

andresaraujo avatar Jul 07 '15 16:07 andresaraujo