UniversalUiUsageCliAiCode class abstract
Contents of universal_ui_usage.mdc.
universal_ui_usage.mdcの中身。
- Inheritance
- Implementers
- UniversalAppBarMdcCliAiCode
- UniversalColumnMdcCliAiCode
- UniversalContainerMdcCliAiCode
- UniversalEdgeInsetsMdcCliAiCode
- UniversalGridViewMdcCliAiCode
- UniversalHeaderTileMdcCliAiCode
- UniversalListViewMdcCliAiCode
- UniversalPaddingMdcCliAiCode
- UniversalScaffoldMdcCliAiCode
- UniversalSearchBarMdcCliAiCode
- UniversalSideBarMdcCliAiCode
Constructors
- UniversalUiUsageCliAiCode.new()
-
Contents of universal_ui_usage.mdc.
const
Properties
- description → String
-
Define the description of the code.
no setterinherited
- directory → String
-
Specify the folder where the code will be generated.
no setterinherited
- excerpt → String
-
Excerpt of the universal ui.
no setter
- globs → String
-
Define the file extension.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Define the name of the code.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
body(
String baseName, String className) → String -
Defines the actual body code.
path
is passed relative tolib
,baseName
is the filename, andclassName
is the filename converted to Pascal case.inherited -
generateAiCode(
String path, {String ext = "mdc", String filter(String value)?}) → Future< void> -
Generate mdc code in
path
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited