Documentation ¶
Index ¶
- type FlutterAndDartSDKVersions
- type Project
- func (p *Project) AndroidProjectPth() string
- func (p *Project) FlutterAndDartSDKVersions() (FlutterAndDartSDKVersions, error)
- func (p *Project) FlutterSDKVersionToUse() (string, string, error)
- func (p *Project) IOSProjectPth() string
- func (p *Project) Pubspec() Pubspec
- func (p *Project) RootDir() string
- func (p *Project) TestDirPth() string
- type Pubspec
- type SDKVersionFinder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlutterAndDartSDKVersions ¶
type FlutterAndDartSDKVersions struct { FVMFlutterVersion *semver.Version FVMFlutterChannel string ASDFFlutterVersion *semver.Version ASDFFlutterChannel string PubspecFlutterVersion *sdk.VersionConstraint PubspecDartVersion *sdk.VersionConstraint PubspecLockFlutterVersion *sdk.VersionConstraint PubspecLockDartVersion *sdk.VersionConstraint }
type Project ¶
type Project struct {
// contains filtered or unexported fields
}
func New ¶
func New(rootDir string, fileManager fileutil.FileManager, pathChecker pathutil.PathChecker, sdkVersionFinder SDKVersionFinder) (*Project, error)
func (*Project) AndroidProjectPth ¶
func (*Project) FlutterAndDartSDKVersions ¶
func (p *Project) FlutterAndDartSDKVersions() (FlutterAndDartSDKVersions, error)
func (*Project) FlutterSDKVersionToUse ¶
func (*Project) IOSProjectPth ¶
func (*Project) TestDirPth ¶
type SDKVersionFinder ¶ added in v0.1.1
type SDKVersionFinder interface {
FindLatestReleaseFor(platform fluttersdk.Platform, architecture fluttersdk.Architecture, channel fluttersdk.Channel, query fluttersdk.SDKQuery) (*fluttersdk.Release, error)
}
Click to show internal directories.
Click to hide internal directories.