1

I'm trying to apply a backgroundBlendMode to a Container using its decoration attribute, the Container is inside a listview, when running the app everything looks as expected until scrolling the listview, the blend mode disappears and the color is displayed as is.

here is the code for the decoration:

decoration: BoxDecoration(
  color: Colors.black,
  backgroundBlendMode: BlendMode.overlay,
  borderRadius: BorderRadius.only(
    topLeft: Radius.circular(_contentBorderRadius),
    topRight: Radius.circular(_contentBorderRadius),
  ),
  border: Border.all(color: lightGreen, width: _contentBorderWidth),
),
Basel Abuhadrous
  • 1,444
  • 1
  • 14
  • 30

0 Answers0