GithubHelp home page GithubHelp logo

fat_cat's Introduction

fat_cat

A new Flutter project.

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

项目flutter run的问题

D:\workspace\fat_cat\android\gradle.properties
下的这行代码:org.gradle.java.home= D:/Android/jdk-11.0.16 在自己的笔记本上要注释掉,公司的环境上要放开,因为两个环境的android-sdk的版本不一致

Vscode如何及时提示Flutter代码

1、文件-》首选项-》设置 2、搜索设置输入“prevent” 3、把第一个“Editor>Suggest:Snippets Prevent Quick Suggestions 控制活动代码是否阻止快速建议。”的勾选去掉。 4、使用举例:鼠标放到‘Scaffold’上+Ctrl+单击 即可查看对应的函数详情

代码风格

1、文件命名风格lowercase_with_underscores:slider_menu.dart 2、使用UpperCamelCase 风格:Classes(类名)、 enums(枚举类型)、 typedefs(类型定义)、以及 type parameters(类型参数)、使用元数据注解的类@Foo 3、注解类的构造函数是无参函数,则可以使用一个 lowerCamelCase 风格的常量来初始化这个注解:@foo

色系:洛可可

由浅到深:#E8E7D2、#D2D5B8、#BDC2BB、#C9BA98 ? #C9BA9B

制定资源

Flutter 使用 pubspec.yaml 文件,位于项目根目录,来识别应用程序所需的资源。 1、指定文件 flutter: assets: - assets/my_icon.png - assets/background.png

2、如果要包含一个目录下的所有 assets,需要在目录名称的结尾加上 /: flutter: assets: - directory/ - directory/subdirectory/

fat_cat's People

Contributors

hyy984750073 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.