),
],
),
),
);
}
}
----
Button Widget(按钮)
Material 库中的按钮点击时默认带有...按钮点击监听
void _BtnClick(){
print("点击啦,啦啦啦");
}
}
----
Image Widget(图片)
Image 的数据源可以是asset、文件、内存或网络图片...部分添加图片注册信息
flutter:
# The following line ensures that the Material Icons font is
# included with...this.maxLines = 1,
this.maxLength,
this.maxLengthEnforced = true,
this.onChanged,
this.onEditingComplete...,
this.onSubmitted,
this.inputFormatters,
this.enabled,
this.cursorWidth = 2.0,
this.cursorRadius