WidgetExt extension

on

Methods

alpha(double opacity) Opacity
center({double? width = double.infinity, double? height = double.infinity}) Center
circular(double radius) ClipRRect
container({double? width = double.infinity, double? height = double.infinity, Decoration? decoration}) Container
expanded({int flex = 1}) Expanded
extContainer({double? width = double.infinity, double? height = double.infinity, Decoration? decoration}) Container
extMargin(EdgeInsetsGeometry margin) Container
extPadding(EdgeInsetsGeometry padding) Padding
margin(EdgeInsetsGeometry margin) Container
onLongPress(VoidCallback onLongPress) InkWell
onTap(VoidCallback onTap, {int? interval, bool? releaseFocus = true}) InkWell
默认有效点击间隔一秒,interval=0 时无间隔时间
padding(EdgeInsetsGeometry padding) Padding
positioned({double? left, double? top, double? right, double? bottom}) Positioned
singleScrollView({Axis scrollDirection = Axis.vertical}) SingleChildScrollView
size(double width, double height) SizedBox
sliverAdapter({Key? key}) SliverToBoxAdapter
visible(Visible visible) Widget