build method

  1. @override
dynamic build(
  1. dynamic context
)

Implementation

@override
Widget build(BuildContext context) {
  final theme = getFromContext(context, this);
  return Container(
    decoration: BoxDecoration(
      border: border,
      color: theme.background,
      shape: theme.shape,
      borderRadius: BorderRadius.circular(radius ?? 8),
    ),
    padding: theme.padding,
    width: width,
    height: height,
    child: child,
  );
}