build method

  1. @override
Widget build(
  1. BuildContext context
)
override

Implementation

@override
Widget build(BuildContext context) {
  return HubbleBox(
    key: key,
    backgroundColor: color?.color,
    width: width,
    height: height,
    padding: padding,
    margin: margin,
    backgroundImage: backgroundImage?.build(context),
    borderRadius: radius,
    border: border?.border,
    boxShadow: shadow.map((e) => e.boxShadow).toList(),
    gradient: gradient?.gradient,
    alignment: alignment,
    clip: clip,
    child: child?.build(context),
  );
}