美文网首页
flutter linux helloword

flutter linux helloword

作者: 无我_a50f | 来源:发表于2022-05-18 16:43 被阅读0次
    1. 安装 snap
    sudo apt install snapd
    
    2. 安装 flutter
    sudo snap install flutter --classic
    
    3. 安装 vscode
    4. vscode 安装 flutter 插件
    5. 创建工程

    vscode 按快捷键 ctrl + shift + p
    输入flutter
    选择 Flutter: New Project
    选择 Application
    选择 工程目录
    输入项目名称 helloword

    6. 运行项目

    确保 vscode 状态栏选择 linux


    飞书20220518-164023.png

    在终端中输入,运行应用

    flutter run ./lib/main.dart
    
    飞书20220518-164229.png

    相关文章

      网友评论

          本文标题:flutter linux helloword

          本文链接:https://www.haomeiwen.com/subject/gguaurtx.html