commonBlackContainer function

dynamic commonBlackContainer(
  1. dynamic context, {
  2. dynamic widget,
  3. dynamic height,
})

Implementation

commonBlackContainer(context, {widget, height}) {
  return Container(
    width: fullWidth(context),
    decoration: const BoxDecoration(
        gradient: LinearGradient(colors: [gradient1, black])),
    child: widget,
  );
}