shutdown_platform

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2020 License: BSD-3-Clause Imports: 5 Imported by: 0

README

shutdown_platform

This Go package implements the host-side of the Flutter shutdown_platform plugin.

Usage

Import as:

import shutdown_platform "github.com/BestBurning/shutdown_platform/go"

Then add the following option to your go-flutter application options:

flutter.AddPlugin(&shutdown_platform.ShutdownPlatformPlugin{}),

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ShutdownPlatformPlugin

type ShutdownPlatformPlugin struct{}

ShutdownPlatformPlugin implements flutter.Plugin and handles method.

func (*ShutdownPlatformPlugin) InitPlugin

func (p *ShutdownPlatformPlugin) InitPlugin(messenger plugin.BinaryMessenger) error

InitPlugin initializes the plugin.

Jump to

Keyboard shortcuts

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