Dn-a / flutter_inner_drawer

Inner Drawer is an easy way to create an internal side section (left/right) where you can insert a list-menu or other.
https://pub.dartlang.org/packages/flutter_inner_drawer
MIT License
514 stars 129 forks source link

Change background of scaffold within inner drawer #63

Open joshbenaron opened 3 years ago

joshbenaron commented 3 years ago

Hey, I perform a slide transition on the scaffold. How do I change the background colour below the scaffold? It looks like an internal feature of inner drawer? I guess it's because the scaffold has a lower opacity (I think). Is there a way of customising this opacity?

Screenshot_1612023629 Screenshot_1612023637

Dn-a commented 3 years ago

@joshbenaron

colorTransitionChild: Colors.black54
colorTransitionScaffold: Colors.black54

for background colour below the scaffold:

scaffold: Container(
    color: Colors.black54,
    child: Scaffold( ..)
 )