当前位置:网站首页>Flutter教程之 02 Flutter 桌面程序开发入门教程运行hello world (教程含源码)
Flutter教程之 02 Flutter 桌面程序开发入门教程运行hello world (教程含源码)
2022-07-31 22:37:00 【知识大胖】
文章目的
我很高兴 Flutter 来到桌面应用程序开发,当然,这只是一个开始,但你今天已经可以尝试了。
我想向您介绍如何使用基于macOS的 Flutter 教程编写您的第一个桌面应用程序。
1.开始使用 Flutter 开发桌面应用,您需要通过一次性的配置更改来配置桌面支持。
$ flutter config --enable-macos-desktop # for the macOS runner
2.若要确认是否已启用桌面版 Flutter,请运行以下命令。
$ flutter devices
3. 创建一个新的 Flutter 应用
flutter create flutter_desktop_sample
4. 在macOS平台上运行应用程序:
flutter run -d macos
边栏推荐
- Daily--Kali opens SSH (detailed tutorial)
- 一文带你了解 Grafana 最新开源项目 Mimir 的前世今生
- Dry goods | 10 tips for MySQL add, delete, change query performance optimization
- Go mode tidy reports an error go warning “all” matched no packages
- Handwritten a simple web server (B/S architecture)
- Niuke.com brush questions (1)
- Shell常用脚本:Nexus批量上传本地仓库增强版脚本(强烈推荐)
- spark reports an error OutOfMemory "recommended collection"
- 面试突击69:TCP 可靠吗?为什么?
- 如何导入 Golang 外部包并使用它?
猜你喜欢
Unity-通过预制件和克隆方法动态实现各个UGUI下控件的创建和显示
Audio alignment using cross-correlation
Program processes and threads (concurrency and parallelism of threads) and basic creation and use of threads
数据分析(一)——matplotlib
20. Support vector machine - knowledge of mathematical principles
IJCAI2022 | 代数和逻辑约束的混合概率推理
Collation of knowledge points in Ningbo University NBU IT project management final exam
基于simulink的Active anti-islanding-AFD主动反孤岛模型仿真
ECCV 2022 Huake & ETH propose OSFormer, the first one-stage Transformer framework for camouflaging instance segmentation!The code is open source!...
日常--Kali开启SSH(详细教程)
随机推荐
Unity-LineRenderer显示一条线
SQL注入 Less38(堆叠注入)
HTC using official firmware as bottom bag made ROM brush card bag tutorial
@JsonFormat(pattern="yyyy-MM-dd") time difference problem
uniapp小程序检查、提示更新
Daily practice——Randomly generate an integer between 1-100 and see how many times you can guess.Requirements: The number of guesses cannot exceed 7 times, and after each guess, it will prompt "bigger"
一文概述:VPN的基本模型及业务类型
(26) About menu of the top menu of Blender source code analysis
Components of TypeScript
[QNX Hypervisor 2.2用户手册]9.16 system
20. Support vector machine - knowledge of mathematical principles
The latest masterpiece!Alibaba just released the interview reference guide (Taishan version), I just brushed it for 29 days
信息学奥赛一本通 1941:【07NOIP普及组】Hanoi双塔问题 | 洛谷 P1096 [NOIP2007 普及组] Hanoi 双塔问题
How to import a Golang external package and use it?
Go mode tidy reports an error go warning “all” matched no packages
IDA PRO中汇编结构体识别
景区手绘地图的绘制流程
SQL injection Less47 (error injection) and Less49 (time blind injection)
[Code Hoof Set Novice Village 600 Questions] Leading to the combination of formulas and programs
Verilog implements a divide-by-9 with a duty cycle of 5/18