go-flutter - A package that brings Flutter to the desktop · Purpose. Flutter allows you to build beautiful native apps on iOS and Android from a single codebase.
Skiptocontent
{{message}}
go-flutter-desktop
/
go-flutter
Public
Notifications
Star
5.1k
Fork
260
FlutteronWindows,MacOSandLinux-basedonFlutterEmbedding,GoandGLFW.
hover.drakirus.com/
BSD-3-ClauseLicense
5.1k
stars
260
forks
Star
Notifications
Code
Issues
54
Pullrequests
3
Actions
Wiki
Security
Insights
More
Code
Issues
Pullrequests
Actions
Wiki
Security
Insights
master
Branches
Tags
Couldnotloadbranches
Nothingtoshow
Loading
{{refName}}
default
Couldnotloadtags
Nothingtoshow
{{refName}}
default
Loading
3
branches
60
tags
Code
Loading
Latestcommit
renovate
and
renovate-bot
fix(deps):updategithub.com/go-gl/glfw/v3.3/glfwcommithashto748e…
…
6c65ecd
Dec13,2021
fix(deps):updategithub.com/go-gl/glfw/v3.3/glfwcommithashto748e…
…38c(#638)
Co-authored-by:RenovateBot
6c65ecd
Gitstats
325
commits
Files
Permalink
Failedtoloadlatestcommitinformation.
Type
Name
Latestcommitmessage
Committime
.github/ISSUE_TEMPLATE
UpdateBUG.md
Nov6,2019
embedder
feat:enableaot(#450)
Sep14,2020
internal
fixes:#561doubledeletion
Jan21,2021
plugin
fix:typos&fixes:#460
Jun2,2020
.gitattributes
Addnewexampleproject+ImportableasaGolibrary
Sep11,2018
.gitignore
AddAOTcapability(#331)
Jan23,2020
LICENSE
UpdateLICENSE
Feb17,2019
README.md
formatinganftypo
May25,2021
accessibility.go
fix:typos&fixes:#460
Jun2,2020
application.go
Optiontopassescapepressestotheappinsteadofpoppingcurrentr…
Nov29,2021
build-constant.go
reanmeOrganizationNametoProjectOrganizationName
Sep22,2019
doc.go
Removedeprecatedfunctions
Oct3,2019
event-loop.go
Cleanup(#435)
May25,2020
glfw.go
updatingtheflutterlocaletothesystemlocale(#388)
Apr15,2020
go.mod
fix(deps):updategithub.com/go-gl/glfw/v3.3/glfwcommithashto748e…
Dec13,2021
go.sum
fix(deps):updategithub.com/go-gl/glfw/v3.3/glfwcommithashto748e…
Dec13,2021
isolate.go
fix:typos&fixes:#460
Jun2,2020
key-events.go
Reworkkeyboardevent/keyboardshortcut(#338)
May25,2020
lifecycle.go
Cleanup(#435)
May25,2020
mascot.png
Addnewexampleproject+ImportableasaGolibrary
Sep11,2018
messenger.go
fixes:#561doubledeletion
Jan21,2021
mousecursor.go
Updatemousecursorimplementation(#449)
May25,2020
navigation.go
fixes:#503
Nov1,2020
option.go
Optiontopassescapepressestotheappinsteadofpoppingcurrentr…
Nov29,2021
platform.go
Cleanup(#435)
May25,2020
plugin.go
go-gl/glfwv3.3support(#298)
Mar17,2020
pop.go
Cleanup(#435)
May25,2020
renovate.json
Addrenovate.json
May19,2019
stocks.jpg
AddedascreenshotoftheStocksdemoapponmacOS.
Sep26,2018
text-input.go
Optiontopassescapepressestotheappinsteadofpoppingcurrentr…
Nov29,2021
texture-registry.go
go-gl/glfwv3.3support(#298)
Mar17,2020
texture.go
Cleanup(#435)
May25,2020
window.go
feat:windowsmaximized&fbtransparent(#404)
Apr20,2020
Viewcode
go-flutter-ApackagethatbringsFluttertothedesktop
Purpose
Gettingstarted
Supportedfeatures
Examples
Plugins
Versioncompatibility
Flutterversion
Goversion
GLFWversion
License
README.md
go-flutter-ApackagethatbringsFluttertothedesktop
Purpose
FlutterallowsyoutobuildbeautifulnativeappsoniOSandAndroidfromasinglecodebase.
ThisunofficialprojectbringsFluttertothedesktopthroughthepowerofGoandGLFW.
Theflutterengineitselfdoesn'tknowhowtodealwithdesktopplatforms(eghandlingmouse/keyboardinput).Instead,itexposesanabstractionlayerforwhateverplatformtoimplement.ThisprojectimplementstheFlutter'sEmbeddingAPIusingasinglecodebasethatrunsonWindows,macOS,andLinux.Forrendering,GLFWfitsthejobbecauseitprovidestherightabstractionsovertheOpenGL'sBuffer/Mouse/Keyboardforeachplatform.
ThechoiceofGolangcomesfromthefactthatithasthesametoolingoneveryplatform.PlusGolangisagreatlanguagebecauseitkeepseverythingsimpleandreadable,whichmakesiteasytobuildcross-platformplugins.
Gettingstarted
Thebestwaytogetstartedistoinstallhover,theofficialgo-fluttertooltosetup,buildandrunFlutterappsonthedesktop,includinghot-reload.
Readthehovertutorialtorunyourapponthedesktop,orstartwithoneofourexampleapps.
Ifyouwantmorein-depthinformationaboutgo-flutter,readthewiki.
Supportedfeatures
Linux🐧
MacOS🍎
Windows🏁
HotReload
Pluginsystem
BinaryMessageCodec,BinaryMessageChannel
StandardMessageCodec,JSONMessageCodec
StandardMethodCodec,MethodChannel
Plugindetectionforsupportedplugins
ImportableasGolibraryintocustomprojects
UTF-8Textinput
Clipboardcopy&paste
Windowtitleandicon
Standardkeyboardshortcuts
ctrl-cctrl-vctrl-xctrl-a
HomeEndshift-Homeshift-End
Leftctrl-Leftctrl-shift-Left
Rightctrl-Rightctrl-shift-Right
Backspacectrl-BackspaceDelete
Mouse-over/hovering
Mouse-buttons
RawKeyboardevents
Distributionformat(windows-msi,mac-dmg,linux-appimage,andmore)
Cross-compilingusingdocker🐳
Areyoumissingafeature?Openanissue!
Examples
AseparaterepositorycontainsexampleFlutterappsthatalsorunonthedesktop.Gotogithub.com/go-flutter-desktop/examplestogivethematry.
Plugins
Somepopularpluginsarealreadyimplementedoveratgithub.com/go-flutter-desktop/plugins.
Ifyouhaveimplementedapluginthatyouwouldliketoshare,feelfreetoopenaPRonthepluginsrepository!
Foradetailedtutorialonhowtocreateaplugin,readthewiki.
Versioncompatibility
Flutterversion
Flutteritselfisarelativelyyoungproject.Itsframeworkandengineareupdatedoften.Thego-flutterprojecttriestostaycompatiblewiththebetachannelofFlutter.
Goversion
UpdatingGoissimpleandGoseldomlyhasbackwards-incompatiblechanges.ThisprojectremainscompatiblewiththelatestGostablerelease.
GLFWversion
Thisprojectusesgo-gl/glfwforGLFWv3.3.
License
BSD3-ClauseLicense
About
FlutteronWindows,MacOSandLinux-basedonFlutterEmbedding,GoandGLFW.
hover.drakirus.com/
Topics
go
windows
macos
linux
golang
ui
glfw
desktop
hover
flutter
Resources
Readme
License
BSD-3-ClauseLicense
Releases
60
tags
Packages0
Nopackagespublished
Usedby288
+280
Contributors24
+13contributors
Languages
Go
69.9%
C
30.1%
Youcan’tperformthatactionatthistime.
Yousignedinwithanothertaborwindow.Reloadtorefreshyoursession.
Yousignedoutinanothertaborwindow.Reloadtorefreshyoursession.