Git Product home page Git Product logo

flutter-template's Introduction

flutter_demo

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 pub get

数据库ORM isar(实体:models文件夹下,数据操作:repositories文件夹)

生成实体:flutter pub run build_runner build --delete-conflicting-outputs

数据库ORM floor(实体:model文件夹下,数据操作:dao文件夹下)

生成dao:flutter packages pub run build_runner build

mobx状态管理

更新stores下的文件时需要执行flutter packages pub run build_runner watch以生成g.dart文件。

缓存shared_preferences

对于json对象需要先encode转成String再存储,获取时再decode; Key: _USER_INFO:用户信息

安卓生成签名文件

秘钥生成命令:keytool -genkey -v -keystore funenc-flutter-template.jks -keyalg RSA -keysize 2048 -validity 36500 -alias funenc-flutter-template

输入密钥库口令: funenc
再次输入新口令: funenc
您的名字与姓氏是什么?
  [Unknown]:  funenc
您的组织单位名称是什么?
  [Unknown]:  funenc
您的组织名称是什么?
  [Unknown]:  funenc
您所在的城市或区域名称是什么?
  [Unknown]:  beijing
您所在的省/市/自治区名称是什么?
  [Unknown]:  beijing
该单位的双字母国家/地区代码是什么?
  [Unknown]:  cn   
CN=easywork, OU=tct, O=tct, L=beijing, ST=beijing, C=cn是否正确?

flutter-template's People

Stargazers

peipei wu avatar 相左 avatar

Watchers

Lion Li 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.