demoflu 2.0.0
demoflu: ^2.0.0 copied to clipboard
Simplify package demonstration with a versatile web application for showcasing widget usage. Easily create interactive examples with explanatory sections, source code, and functional widgets.
example/lib/main.dart
import 'package:demoflu/demoflu.dart';
void main() {
DemoFluApp(title: 'Example', rootMenus: [_getStarted]).run();
}
DemoMenuItem get _getStarted =>
DemoMenuItem('Get started', page: () => GetStartedPage());
class GetStartedPage extends DemoFluPage {
GetStartedPage() {
text(text: 'Hello');
}
}