Unable to set background using Linear Gradient
sosualfred opened this issue · comments
Hi @sosualfred , please use flash: ^3.0.5+1
with the builder
param.
context.showFlash<bool>(
builder: (context, controller) => FlashBar(
......
builder: (context, child) {
return DecoratedBox(
decoration: BoxDecoration(
gradient: LinearGradient(colors: [Colors.black, Colors.red]),
),
child: child,
);
},
),
);
Thanks, I'd check it out.