atBottom static method

Widget atBottom(
  1. BuildContext context, {
  2. required Widget child,
})

Implementation

static Widget atBottom(BuildContext context, {required Widget child}) {
  return Column(
    children: [
      Expanded(
          child: MediaQuery.removePadding(
        context: context,
        removeBottom: true,
        child: child,
      )),
      Container(
        padding: EdgeInsets.symmetric(vertical: 6.0.dp),
        color: Colors.white,
        width: double.infinity,
        alignment: Alignment.topCenter,
        child: const SafeArea(top: false, child: PoweredByHubble()),
      )
    ],
  );
}