build method

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

Implementation

@override
Widget build(BuildContext context) {
  return Container(
    padding: padding,
    alignment: align,
    color: background,
    child: child,
  );
  // TODO(edufolly): Possible alignment bug.
  // return Padding(
  //   padding: padding,
  //   child: Align(
  //     alignment: align,
  //     child: child,
  //   ),
  // );
}