当前位置:网站首页>Flutter教程之四年开发经验的高手给的建议
Flutter教程之四年开发经验的高手给的建议
2022-07-31 22:37:00 【知识大胖】
我不敢相信我开始使用 Flutter 已经 4 年了,距离我写第一篇关于 Flutter 的文章“ 6 个月进入 Flutter:作为一名初级软件开发人员”,我在那篇文章中记录了我使用 Flutter 的旅程已经快 3 年了。
我一直都知道 Flutter 会很强大什么时候我开始使用它。
对于 Flutter 来说,这是一次了不起的运行。在过去的几年里,Flutter 完全改变了它添加了一些很棒的特性,比如 null 安全支持和对几乎所有平台(移动/ Web /桌面/嵌入式设备)的支持。自从我写了一些关于颤振的最古老的文章以来,我几乎每周都会在我的LinkedIn上收到邀请和问题,询问我关于颤振的问题,以及它是否对生产有好处,或者我什至还在使用它。
所以我决定在这篇文章中回答一些我仍然遇到的最常见的问题,并为所有有抱负的 Flutter 开发人员或任何打算使用它的人提供一些建议。
新人小贴士
这是给尝试发现 Flutter、构建 MVP 或尝试学习它的新手的一些技巧
- 从一个简单的项目开始。避免使用那些复杂的聊天应用。您可以与他们一起练习以了解 Dart 和 Flutter 的强大功能,但最好的学习方式是拥有一个您关心的真实项目。
- 一开始远离 Firebase/Firestore,先尝试了解使用http的 HTTP 请求和 API 连接。一旦您对此感到满意,您就可以利用 Firebase 的所有优势。
阅读有关状态管理的所有内容。一旦你对 Flutter 原生状态管理有了很好的理解,就可以选择你更喜欢的方法:BLoC、Provider、 riverpods 甚至 Redux。(我个人使用提供者)。 - 选择并遵循设计模式。避免基于从 Stack Overflow 复制的代码块制作项目。
- 不要因
边栏推荐
- spark reports an error OutOfMemory "recommended collection"
- [QNX Hypervisor 2.2用户手册]9.14 set
- 【Acwing】The 62nd Weekly Game Solution
- [QNX Hypervisor 2.2 User Manual]9.16 system
- 支付模块实现
- Unity - by casting and cloning method dynamic control under various UGUI create and display
- Components of TypeScript
- -xms -xmx(information value)
- SQL injection Less47 (error injection) and Less49 (time blind injection)
- Advanced Algebra _ Proof _ Any matrix is similar to an upper triangular matrix
猜你喜欢
I don't know what to do with sync issues

面试突击69:TCP 可靠吗?为什么?

How to reduce the gap between software design and implementation

Judging decimal points and rounding of decimal operations in Golang

Bika LIMS open source LIMS set - use of SENAITE (detection process)

基于simulink的Passive anti-islanding-UVP/OVP and UFP/OFP被动反孤岛模型仿真

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#

Unity - by casting and cloning method dynamic control under various UGUI create and display

二叉树非递归遍历

Interview assault 69: TCP reliable?Why is that?
随机推荐
Interview assault 69: TCP reliable?Why is that?
SQL注入 Less46(order by后的注入+rand()布尔盲注)
Commonly used security penetration testing tools (penetration testing tools)
了解下C# 匿名方法
How to debug TestCafe
UOS统信系统 - WindTerm使用
「APIO2010」巡逻 题解
Quick Start Tutorial for flyway
Difference Between Stateless and Stateful
Several methods of mysql backup table
@JsonFormat(pattern=“yyyy-MM-dd“)时间差问题
A solution to the server encountered an internal error that prevented it from fulfilling this request [easy to understand]
Student management system on the first day: complete login PyQt5 + MySQL5.8 exit the operation logic
Unity - by casting and cloning method dynamic control under various UGUI create and display
Weekly Summary
Unity-LineRenderer显示一条线
Bionic caterpillar robot source code
SQL注入 Less47(报错注入) 和Less49(时间盲注)
二叉树非递归遍历
Go mode tidy reports an error go warning “all” matched no packages