-
-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
I am using showModalActionSheet() from this package to display some information.
On the same page, I am setting the styling of the bottom sheet like this:
Theme(
data: Theme.of(context).copyWith(
bottomSheetTheme: Theme.of(context).bottomSheetTheme.copyWith(
backgroundColor: Colors.transparent,
),
),
...
This also causes the background of the showModalActionSheet() to be transparent.
Is there a workaround to style those two parts seperately?
I tried it with
builder: (context, child) {
return Theme(
data: Theme.of(context).copyWith(
bottomSheetTheme:
Theme.of(context).bottomSheetTheme.copyWith(
backgroundColor: Colors.red,
),
),
child: child,
);
},
but this does not seem to have any effect
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Projects
Status
Todo