I can't load two static images into a container via DecorationImage
I tried to load through an additional column, but in my opinion this is very bad for the developer. Perhaps there is a better result
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
class Profile extends StatelessWidget {
const Profile({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.white,
body: Center(
child: Container(
width: 341,
height: 91,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(8),
shape: BoxShape.rectangle,
color: Color.fromRGBO(5, 96, 250, 1),
image: DecorationImage(
alignment: Alignment.bottomLeft,
image: AssetImage('assets/images/elips2.png'),
),
),
child: Column(
children: [
Flexible(
flex: 1,
child: Align(
alignment: Alignment.topRight,
child: Image.asset('assets/images/elips1.png')),
),
// Align(
// alignment: Alignment.bottomLeft,
// child: Image.asset('assets/images/elips2.png')),
],
),
),
),
);
}
}

Why you don't use a Stack widget to overlay the images on top of each other. Like this way: