flutter
This module provides a set of functions to build and test Flutter applications
Installation
dagger install github.com/fluent-ci-templates/flutter-pipeline@89149d7de84687ec61146ea802885f3a4ba9c555
Entrypoint
Return Type
Flutter
Example
dagger -m github.com/fluent-ci-templates/flutter-pipeline@89149d7de84687ec61146ea802885f3a4ba9c555 call \
func (m *myModule) example() *Flutter {
return dag.
Flutter()
}
@function
def example() -> dag.Flutter:
return (
dag.flutter()
)
@func()
example(): Flutter {
return dag
.flutter()
}
Types
Flutter 🔗
codeQuality() 🔗
Run code quality checks
Return Type
File !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
flutterVersion | String | "3.13.1" | No description provided |
Example
dagger -m github.com/fluent-ci-templates/flutter-pipeline@89149d7de84687ec61146ea802885f3a4ba9c555 call \
code-quality
func (m *myModule) example() *File {
return dag.
Flutter().
CodeQuality()
}
@function
def example() -> dagger.File:
return (
dag.flutter()
.code_quality()
)
@func()
example(): File {
return dag
.flutter()
.codeQuality()
}
test() 🔗
Run tests
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
flutterVersion | String | "3.13.1" | No description provided |
Example
dagger -m github.com/fluent-ci-templates/flutter-pipeline@89149d7de84687ec61146ea802885f3a4ba9c555 call \
test
func (m *myModule) example() *Directory {
return dag.
Flutter().
Test()
}
@function
def example() -> dagger.Directory:
return (
dag.flutter()
.test()
)
@func()
example(): Directory {
return dag
.flutter()
.test()
}
build() 🔗
Build the application
Return Type
File !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
buildType | String | - | No description provided |
release | Boolean | true | No description provided |
flutterVersion | String | "3.13.1" | No description provided |
Example
dagger -m github.com/fluent-ci-templates/flutter-pipeline@89149d7de84687ec61146ea802885f3a4ba9c555 call \
build
func (m *myModule) example() *File {
return dag.
Flutter().
Build()
}
@function
def example() -> dagger.File:
return (
dag.flutter()
.build()
)
@func()
example(): File {
return dag
.flutter()
.build()
}
dev() 🔗
Return a Container with Flutter installed
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
flutterVersion | String | "3.13.1" | No description provided |
Example
dagger -m github.com/fluent-ci-templates/flutter-pipeline@89149d7de84687ec61146ea802885f3a4ba9c555 call \
dev
func (m *myModule) example() *Container {
return dag.
Flutter().
Dev()
}
@function
def example() -> dagger.Container:
return (
dag.flutter()
.dev()
)
@func()
example(): Container {
return dag
.flutter()
.dev()
}