i'm trying to create an app bar in flutter that has two layers - one black-colored top and a blue-colored bottom. The bottom needs to have rounded top edges. I'm attaching a picture for reference. How do I do about that?
I'm currently using the AppBar
class in Scaffold
and I can make a simple AppBar like this:
AppBar(
elevation: 0,
backgroundColor: Color(0xFFB6E6FE),
leading: CustomLeadingButtonClass(
onPressed: () {},
child: Icon(
Icons.arrow_back_ios,
color: Colors.black,
size: 18,
),
),
);