当前位置:网站首页>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
边栏推荐
- Qualcomm cDSP simple programming example (to query Qualcomm cDSP usage, signature), RK3588 npu usage query
- A shortcut to search for specific character content in idea
- Unity - by casting and cloning method dynamic control under various UGUI create and display
- @JsonFormat(pattern="yyyy-MM-dd") time difference problem
- 基于simulink的Active anti-islanding-AFD主动反孤岛模型仿真
- 无状态与有状态的区别
- Flex layout in detail
- How to identify fake reptiles?
- Design of Fire and Anti-theft System Based on Single Chip GSM
- SQL27 View user details of different age groups
猜你喜欢

20. Support vector machine - knowledge of mathematical principles

二叉树非递归遍历

程序进程和线程(线程的并发与并行)以及线程的基本创建和使用

Golang - from entry to abandonment

The difference between adding or not adding the ref keyword when a variable of reference type is used as a parameter in a method call in C#

如何减少软件设计和实现之间鸿沟

21. Support Vector Machine - Introduction to Kernel Functions

Audio alignment using cross-correlation

What is customer profile management?

【Acwing】第62场周赛 题解
随机推荐
The uniapp applet checks and prompts for updates
Quick Start Tutorial for flyway
"APIO2010" Patrol Problem Solution
Structure of the actual combat battalion module eight operations
I don't know what to do with sync issues
Go1.18 upgrade function - Fuzz test from scratch in Go language
Unity-LineRenderer显示一条线
Audio alignment using cross-correlation
IJCAI2022 | 代数和逻辑约束的混合概率推理
The difference between adding or not adding the ref keyword when a variable of reference type is used as a parameter in a method call in C#
UOS统信系统 - WindTerm使用
「SDOI2016」征途 题解
[Code Hoof Set Novice Village 600 Questions] Leading to the combination of formulas and programs
UVM RAL model and built-in seq
Shell常用脚本:Nexus批量上传本地仓库脚本
UserAgent resolution
Document management and tools in the development process
SQL注入 Less38(堆叠注入)
The article you worked so hard to write may not be your original
"SDOI2016" Journey Problem Solution