Skip to content

gitmithy/berry_flutter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flutter_training_app

Flutter练习,欢迎Star,一起学习~

overflow error 解决

overflow error 解决

  • 报错原因:
    • 1、内容超过可视区,根节点未使用可滚动组件
    • 2、父子容器均不确定高度,flutter不知道如何去渲染

模型类自动生成脚本

执行命令: npm run model 字段名1 字段名2 字段名3 ...

如:
npm run model title description routeName

生成:

class GenerateModel {
  final String title;
  final String description;
  final String routeName;

  GenerateModel({
    this.title,
    this.description,
    this.routeName,
  });
}


文章

预览

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages