flutterproject

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2023 License: MIT Imports: 9 Imported by: 3

Documentation

Index

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 (p *Project) AndroidProjectPth() string

func (*Project) FlutterAndDartSDKVersions

func (p *Project) FlutterAndDartSDKVersions() (FlutterAndDartSDKVersions, error)

func (*Project) FlutterSDKVersionToUse

func (p *Project) FlutterSDKVersionToUse() (string, string, error)

func (*Project) IOSProjectPth

func (p *Project) IOSProjectPth() string

func (*Project) Pubspec

func (p *Project) Pubspec() Pubspec

func (*Project) RootDir

func (p *Project) RootDir() string

func (*Project) TestDirPth

func (p *Project) TestDirPth() string

type Pubspec

type Pubspec struct {
	Name string `yaml:"name"`
}

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)
}

Directories

Path Synopsis
internal
sdk

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL