SidekickTemplateProperties class
Constructors
- SidekickTemplateProperties({required String name, required File entrypointLocation, required Directory packageLocation, @Deprecated('Not used anymore') Version? sidekickCliVersion, String? mainProjectPath, bool? shouldSetFlutterSdkPath, @Deprecated('Not used anymore') bool? isMainProjectRoot, @Deprecated('Not used anymore') bool? hasNestedPackagesPath})
-
const
Properties
- entrypointLocation → File
-
Where the entrypoint will be created
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasNestedPackagesPath → bool?
-
true when a /packages directory exists
final
- isMainProjectRoot → bool?
-
When the dart package is located in root of the repo
final
- mainProjectPath → String?
-
Path to main project, relative from repo root
final
- name → String
-
Name of the CLI.
final
- packageLocation → Directory
-
Where the sidekick package will be created.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shouldSetFlutterSdkPath → bool?
-
When there's a flutter package that requires a flutter sdk
final
- sidekickCliVersion → Version?
-
The current version of sidekick_core which includes the project templates
final
Methods
-
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