fyne 简单难看的 GUI
最后更新于:2022-04-02 02:38:44
[TOC]
> [https://github.com/fyne-io/fyne](https://github.com/fyne-io/fyne)
> [官方文档](https://fyne.io/develop/widgets.html)
## 概述

:-: 白色主题

:-: 黑色主题
## demo
```
package main
import (
"fyne.io/fyne/widget"
"fyne.io/fyne/app"
)
func main() {
app := app.New()
w := app.NewWindow("Hello")
w.SetContent(widget.NewVBox(
widget.NewLabel("Hello Fyne!"),
widget.NewButton("Quit", func() {
app.Quit()
}),
))
w.ShowAndRun()
}
```
';