Versions in this module Expand all Collapse all v0 v0.1042.0 Aug 10, 2020 Changes in this version + const PopBehaviorClose + const PopBehaviorHide + const PopBehaviorIconify + const PopBehaviorNone + const WindowModeBorderless + const WindowModeBorderlessFullscreen + const WindowModeBorderlessMaximize + const WindowModeDefault + const WindowModeMaximize + var PlatformVersion = "unknown" + var ProjectName = "unknown" + var ProjectOrganizationName = "unknown" + var ProjectVersion = "unknown" + func Run(opt ...Option) (err error) + type Application struct + func NewApplication(opt ...Option) *Application + func (a *Application) Run() error + type EventLoop struct + func (t *EventLoop) PostTask(task embedder.FlutterTask, targetTimeNanos uint64) + func (t *EventLoop) RunOnCurrentThread() bool + func (t *EventLoop) WaitForEvents(rendererWaitEvents func(float64)) + type ExternalTextureHanlderFunc func(width int, height int) (bool, *PixelBuffer) + type Option func(*config) + func AddPlugin(p Plugin) Option + func ApplicationELFSnapshotPath(p string) Option + func ApplicationICUDataPath(p string) Option + func ForcePixelRatio(ratio float64) Option + func OptionVMArguments(a []string) Option + func PopBehavior(p popBehavior) Option + func ProjectAssetsPath(p string) Option + func ScrollAmount(amount float64) Option + func VirtualKeyboardHide(hideCallback func()) Option + func VirtualKeyboardShow(showCallback func()) Option + func WindowAlwaysOnTop(enabled bool) Option + func WindowDimensionLimits(minWidth, minHeight, maxWidth, maxHeight int) Option + func WindowIcon(iconProivder func() ([]image.Image, error)) Option + func WindowInitialDimensions(width, height int) Option + func WindowInitialLocation(xpos, ypos int) Option + func WindowMode(w windowMode) Option + func WindowTransparentBackground(enabled bool) Option + type PixelBuffer struct + Height int + Pix []uint8 + Width int + type Plugin interface + InitPlugin func(messenger plugin.BinaryMessenger) error + type PluginGLFW interface + InitPluginGLFW func(window *glfw.Window) error + type PluginTexture interface + InitPluginTexture func(registry *TextureRegistry) error + type Texture struct + ID int64 + func (t *Texture) FrameAvailable() error + func (t *Texture) Register(handler ExternalTextureHanlderFunc) error + func (t *Texture) UnRegister() error + type TextureRegistry struct + func (t *TextureRegistry) NewTexture() Texture v0.3.0-alpha Dec 7, 2018 v0.2.1-alpha Sep 21, 2018