Различный backGroundColor для BackdropScaffold сверху и снизу - PullRequest
0 голосов
/ 07 августа 2020

У меня есть BackdropScaffold с радиусом 30, например:

class _HomeState extends State<Home> {
@override
 Widget build(BuildContext context) {
  return BackdropScaffold(
    appBar: HomeAppBar(),
    frontLayer: HomeFrontLayer(),
    backLayer: HomeBackLayer(),
   frontLayerBorderRadius: BorderRadius.all(Radius.circular(30)),
 );

}}

и теперь он выглядит так: Top top and Bottom bottom

if you observe the bottom, it has a radius but scince there is no backGround specified, it is blue and i wanted to make it white and added following code:

backLayerBackgroundColor: Colors.white,

the changes are , Top : top and Bottom : низ

Сейчас я хочу, чтобы верхняя часть была изображением 1, а нижняя - последней. У кого-нибудь есть идея?

...