I am trying to archive this kind of drawer
You can add a container and decoration to it like
import 'package:flutter/material.dart'; const Color darkBlue = Color.fromARGB(255, 18, 32, 47); void main() { runApp(MyApp()); } class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( home: MyWidget(), ); } } class MyWidget extends StatefulWidget { @override State<MyWidget> createState() => _MyWidgetState(); } class _MyWidgetState extends State<MyWidget> { @override Widget build(BuildContext context) { return Scaffold( drawer: Drawer( elevation: 0, backgroundColor: Colors.transparent, child: Container( decoration: BoxDecoration( color: Colors.blue.withOpacity(0.4), borderRadius :BorderRadius.only(bottomRight:Radius.circular(150)) ) ) ), body: Text("asdfasdfasdf") ); } }
Copyright © 2021 Jogjafile Inc.
You can add a container and decoration to it like