Bumper function

Widget Bumper(
  1. BuildContext context, {
  2. required List<Widget> content,
  3. bool vertical = false,
})

Implementation

Widget Bumper( BuildContext context, {
    required List<Widget> content,
    bool vertical = false,
}) {
    return Container(
        padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 16),
        width: MediaQuery.of(context).size.width,
        alignment: Alignment.center,
        child: vertical ? CustomColumn(content, 16) : CustomRow(content, 16),
    );
}