DemoMenuItem constructor

DemoMenuItem({
  1. required String name,
  2. ExampleBuilder? builder,
  3. bool? resizable,
  4. String? codeFile,
  5. Size? maxSize,
  6. bool? consoleEnabled,
  7. bool italic = false,
  8. int indentation = 1,
})

Builds a DemoMenuItem.

Implementation

DemoMenuItem(
    {required this.name,
    this.builder,
    this.resizable,
    this.codeFile,
    this.maxSize,
    this.consoleEnabled,
    this.italic = false,
    this.indentation = 1});