CliCode class abstract
Abstract class for defining base code.
ベースコードを定義するための抽象クラス。
- Implementers
- AnalysisOptionsCliCode
- AndroidAssetLinksCliCode
- AppleAppSiteAssociationCliCode
- AppLocalizeYamlCliCode
- AppModuleMainCliCode
- BootstrapJsCliCode
- BuildCliCode
- CliCodeCommand
- CodeCollectionApiCliCommand
- CodeCollectionExtensionCliCommand
- CodeDocumentApiCliCommand
- CodeDocumentExtensionCliCommand
- CodeServerCallFunctionsActionCliCode
- CodeSnippetsCliCode
- CodeValueExtensionCliCommand
- ColorValueCliCode
- CounterModelCliCode
- DartDefinesCliCode
- DartDefinesEnvPropertiesCliCode
- DartDefinesXcconfigCliCode
- ExportOptionsCliCode
- FirebaseDataConnectDummyConnectorCliCode
- FirebaseDataConnectModelAdapterCliCode
- FirebaseFunctionsIndexCliCode
- FirebaseHostingIndexCliCode
- FirebaseStorageCorsCliCode
- FirebaseStorageRulesCliCode
- FirestoreRulesCliCode
- FlutterTestConfigCliCode
- FunctionsEslintrcCliCode
- GitAgentsMarkdownCliCode
- GitAttributesCliCode
- GithubActionsAndroidCliCode
- GithubActionsIOSCliCode
- GithubActionsWebCliCode
- GitReviewCliCode
- GitStatusCheckActionCliCode
- GitStatusCheckCliCode
- HomePageCliCode
- IcLauncherCliCode
- KatanaCliCode
- KatanaSecretsCliCode
- LaunchCliCode
- LefthookCliCode
- LicenseCliCode
- LoaderCssCliCode
- LocalizeYamlCliCode
- MainAdapterCliCode
- MainCliCode
- MainConfigCliCode
- MainLocalizeCliCode
- MainModuleCliCode
- MainRouterCliCode
- MainThemeCliCode
- MelosCliCode
- ModuleCliCode
- ModuleMainCliCode
- ModuleReadMeCliCode
- ModuleWidgetTestCliCode
- PackageMainCliCode
- PackageReadMeCliCode
- PubignoreCliCode
- PubspecOverridesCliCode
- RunnerEntitlementsCliCode
- SettingsCliCode
- StoreYamlCliCode
- TasksCliCode
- TestDockerfileCliCode
- WidgetTestCliCode
Constructors
- CliCode()
-
Abstract class for defining base code.
const
Properties
- description → String
-
Defines the outline of the code.
no setter
- directory → String
-
Specify the folder where the code will be generated.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Defines the name of the code.
no setter
- prefix → String
-
Defines the code prefix.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
body(
String path, String baseName, String className) → String -
Defines the actual body code.
pathis passed relative tolib,baseNameis the filename, andclassNameis the filename converted to Pascal case. -
generateDartCode(
String path, String className, {String ext = "dart", String filter(String value)?}) → Future< void> -
Generate Dart code in
path. -
generateFile(
String fileName, {String filter(String value)?}) → Future< void> -
Create a specific file in directory/
fileName. -
header(
String path, String baseName, String className) → String -
Defines the actual header code.
pathis passed relative tolib,baseNameis the filename, andclassNameis the filename converted to Pascal case. -
import(
String path, String baseName, String className) → String -
Define the actual import code.
pathis passed relative tolib,baseNameis the filename, andclassNameis the filename converted to Pascal case. -
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