Reputation: 1017
Technically it's the same component but I really don't know if it's a correct practice add a ModalDrawer
into drawerContent
.
What do you think?
Upvotes: 0
Views: 123
Reputation: 87804
ModalDrawer
is used by Scaffold
under the hood, so you definitely shouldn't add it into drawerContent
.
You can use it as independent element, if you don't need other Scaffold
features, or as part of Scaffold
, your drawerContent
should look the same in both cases.
Upvotes: 1