static const Alignment topCenter = Alignment(0.0, -1.0);//上中
/// The top right corner.
static const Alignment topRight = Alignment(1.0, -1.0); //右上
/// The center point along the left edge.
static const Alignment centerLeft = Alignment(-1.0, 0.0); //中左
/// The center point, both horizontally and vertically.
static const Alignment center = Alignment(0.0, 0.0); //正中
/// The center point along the right edge.
static const Alignment centerRight = Alignment(1.0, 0.0); //中右
/// The bottom left corner.
static const Alignment bottomLeft = Alignment(-1.0, 1.0);//下左
/// The center point along the bottom edge.
static const Alignment bottomCenter = Alignment(0.0, 1.0); //下中
/// The bottom right corner.
static const Alignment bottomRight = Alignment(1.0, 1.0); //下右
2.3 示例
Align代码
body: Align(child: Text(“Align”),alignment: Alignment.centerLeft,),
Align效果图
3.1 构造方法
class Center extends Align {
/// Creates a widget that centers its child.
-
const Center({ Key? key, double? widthFactor, double? heightFactor, Widget? child })
- super(key: key, widthFactor: widthFactor, heightFactor: heightFactor, child: child);
}
自我介绍一下,小编13年上海交大毕业,曾经在小公司待过,也去过华为、OPPO等大厂,18年进入阿里一直到现在。
深知大多数Android工程师,想要提升技能,往往是自己摸索成长或者是报班学习,但对于培训机构动则几千的学费,着实压力不小。自己不成体系的自学效果低效又漫长,而且极易碰到天花板技术停滞不前!
因此收集整理了一份《2024年Android移动开发全套学习资料》,初衷也很简单,就是希望能够帮助到想自学提升又不知道该从何学起的朋友,同时减轻大家的负担。
既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,基本涵盖了95%以上Android开发知识点,真正体系化!
由于文件比较大,这里只是将部分目录大纲截图出来,每个节点里面都包含大厂面经、学习笔记、源码讲义、实战项目、讲解视频,并且后续会持续更新
如果你觉得这些内容对你有帮助,可以添加V获取:vip204888 (备注Android)
最后:学习总结——Android框架体系架构知识脑图(纯手绘xmind文档)
学完之后,若是想验收效果如何,其实最好的方法就是可自己去总结一下。比如我就会在学习完一个东西之后自己去手绘一份xmind文件的知识梳理大纲脑图,这样也可方便后续的复习,且都是自己的理解,相信随便瞟几眼就能迅速过完整个知识,脑补回来。
下方即为我手绘的Android框架体系架构知识脑图,由于是xmind文件,不好上传,所以小编将其以图片形式导出来传在此处,细节方面不是特别清晰。但可给感兴趣的朋友提供完整的Android框架体系架构知识脑图原件(包括上方的面试解析xmind文档)
除此之外,前文所提及的Alibaba珍藏版 Android框架体系架构 手写文档以及一本 《大话数据结构》 书籍等等相关的学习笔记文档,也皆可分享给认可的朋友!
——感谢大家伙的认可支持,请注意:点赞+点赞+点赞!!!
650191407)]
除此之外,前文所提及的Alibaba珍藏版 Android框架体系架构 手写文档以及一本 《大话数据结构》 书籍等等相关的学习笔记文档,也皆可分享给认可的朋友!
——感谢大家伙的认可支持,请注意:点赞+点赞+点赞!!!