本文主要介绍Flutter布局中的Padding.Align以及Center控件,详细介绍了其布局行为以及使用场景,并对源码进行了分析. 1. Padding A widget that insets its child by the given padding. 1.1 简介 Padding在Flutter中用的也挺多的,作为一个基础的控件,功能非常单一,给子节点设置padding属性.写过其他端的都了解这个属性,就是设置内边距属性,内边距的空白区域,也是widget的一部分. Flutter
手机连接电脑使用adb命令,主要是有2种方式,其中最常见的就是第一种,用usb连线使用 1:adb usb - restarts the adbd daemon listening on USB adb usb就是通过USB数据线连接Android设备 2:adb tcpip -restarts the adbd daemon listening on TCP on the specified port adb tcpip则是通过TCPIP的方式连接Android设备(显然这种是无线连接,po
android ARM 汇编学习—— 在 android 设备上编译c/cpp代码并用objdump/readelf等工具分析 adb putty 连上手机,用busybox vi 写一个 helloworld c root@HM2014813:/data/local/tmp # busybox vi hello.c #include <stdio.h> int main(int argc, char* argv[]){ printf("Hello ARM World\n"