flutter_go_terminal

package module
v0.0.0-...-03c5576 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2021 License: MIT Imports: 8 Imported by: 0

README

flutter_go_terminal

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

Usage

Import as:

import flutter_go_terminal "github.com/RodolfoBonis/flutter_go_terminal/go"

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

flutter.AddPlugin(&flutter_go_terminal.FlutterGoTerminalPlugin{}),

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteCommand

func ExecuteCommand(arguments Arguments) string

Types

type Arguments

type Arguments struct {
	Command string   `json:"command"`
	Args    []string `json:"arguments"`
	Path    string   `json:"path"`
}

type FlutterGoTerminalPlugin

type FlutterGoTerminalPlugin struct{}

FlutterGoTerminalPlugin implements flutter.Plugin and handles method.

func (*FlutterGoTerminalPlugin) InitPlugin

func (p *FlutterGoTerminalPlugin) 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