commonBlackContainer static method

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

Implementation

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