ContainerX extension

on

Methods

align(AlignmentGeometry? alignment) Container

Available on Container, provided by the ContainerX extension

backgroundColor(Color color) Container

Available on Container, provided by the ContainerX extension

backgroundColorInt(int color) Container

Available on Container, provided by the ContainerX extension

border({Color color = const Color(0xff95d9f1), double width = 1, double radius = 0}) Container

Available on Container, provided by the ContainerX extension

container border 目前只支持保持BoxDecoration的样式
circleBorder({Color color = const Color(0xff95d9f1), double width = 1}) Container

Available on Container, provided by the ContainerX extension

add Circle border
copyWith({Key? key, AlignmentGeometry? alignment, EdgeInsetsGeometry? padding, Color? color, Decoration? decoration, Decoration? foregroundDecoration, double? width, double? height, BoxConstraints? constraints, EdgeInsetsGeometry? margin, Matrix4? transform, AlignmentGeometry? transformAlignment, Widget? child, Clip? clipBehavior}) Container

Available on Container, provided by the ContainerX extension

width and height no getter
linearGradientColor(List<Color> colors, {AlignmentGeometry begin = Alignment.centerLeft, AlignmentGeometry end = Alignment.centerRight}) Container

Available on Container, provided by the ContainerX extension

paddingAll(dynamic size) Container

Available on Container, provided by the ContainerX extension

paddingBottom(dynamic size) Container

Available on Container, provided by the ContainerX extension

paddingLeft(dynamic size) Container

Available on Container, provided by the ContainerX extension

paddingOnly({double left = 0.0, double top = 0.0, double right = 0.0, double bottom = 0.0}) Container

Available on Container, provided by the ContainerX extension

paddingRight(dynamic size) Container

Available on Container, provided by the ContainerX extension

paddingTop(dynamic size) Container

Available on Container, provided by the ContainerX extension

roundedCorner(double radius) Container

Available on Container, provided by the ContainerX extension

transformAlign(AlignmentGeometry? alignment) Container

Available on Container, provided by the ContainerX extension