demoflu 0.8.1 copy "demoflu: ^0.8.1" to clipboard
demoflu: ^0.8.1 copied to clipboard

outdated

Flutter widget demo builder. Web application to display widget usage.

example/lib/main.dart

import 'package:demoflu/demoflu.dart';
import 'package:demoflu_example/example1.dart';
import 'package:demoflu_example/example2.dart';
import 'package:demoflu_example/example3.dart';
import 'package:demoflu_example/example4.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(DemoFluApp(
      initialHeightWeight: .5,
      title: 'Example Demo',
      appMenuBuilder: (exampleMenuNotifier) {
        return [
          MenuItem(name: 'Section', italic: true),
          MenuItem(
              name: 'Example 1',
              example: Example1(),
              codeFile: 'lib/example1.dart',
              indentation: 2),
          MenuItem(
              name: 'Example 2',
              example: Example2(),
              codeFile: 'lib/example2.dart',
              consoleEnabled: true,
              resizable: true,
              indentation: 2),
          MenuItem(name: 'Example 3', example: Example3(), indentation: 2),
          MenuItem(
              name: 'Example 4',
              example: Example4(exampleMenuNotifier),
              indentation: 2)
        ];
      }));
}
8
likes
0
pub points
34%
popularity

Publisher

verified publishercaduandrade.net

Flutter widget demo builder. Web application to display widget usage.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flex_color_picker, flutter, flutter_highlight, multi_split_view, url_launcher

More

Packages that depend on demoflu