SnippetTemplateEnum enum

Inheritance
Available extensions
Annotations
  • @MappableEnum()

Values

empty → const SnippetTemplateEnum
drive_iframe → const SnippetTemplateEnum
markdown → const SnippetTemplateEnum
scaffold_with_tabs → const SnippetTemplateEnum
scaffold_with_menubar → const SnippetTemplateEnum
splitview_with_2_placeholders → const SnippetTemplateEnum
rich_text → const SnippetTemplateEnum
callout_content → const SnippetTemplateEnum

Properties

allItems List<Widget>
no setter
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clone() SnippetRootNode
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
templateSnippet() SnippetRootNode
toMenuItem() Widget
toString() String
A string representation of this object.
inherited
toValue() String

Available on SnippetTemplateEnum, provided by the SnippetTemplateEnumMapperExtension extension

toWidget(BuildContext context, SNode? parentNode, {double? appBarHeight}) Widget
in the case of scaffold with tabs, can pass in the

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

propertyNodeContents({int? enumValueIndex, required SNode snode, required String label, ValueChanged<int?>? onChangedF, required ScrollControllerName? scName}) Widget

Constants

values → const List<SnippetTemplateEnum>
A constant List of the values in this enum, in order of their declaration.