fix: Fixed dialog styling

This commit is contained in:
Deven Joshi
2021-01-11 14:50:31 +05:30
parent bd73a8b6db
commit aca3918786
+14 -2
View File
@@ -268,8 +268,12 @@ class _MessageActionsModalState extends State<MessageActionsModal> {
scale: value, scale: value,
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.9, opacity: 0.8,
child: Material( child: Material(
color: StreamChatTheme.of(context)
.colorTheme
.whiteSnow
.withOpacity(0.8),
shape: RoundedRectangleBorder( shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(16.0), borderRadius: BorderRadius.circular(16.0),
), ),
@@ -332,12 +336,14 @@ class _MessageActionsModalState extends State<MessageActionsModal> {
decoration: BoxDecoration( decoration: BoxDecoration(
border: Border( border: Border(
top: BorderSide( top: BorderSide(
width: 0.5,
color: StreamChatTheme.of( color: StreamChatTheme.of(
context) context)
.colorTheme .colorTheme
.grey .grey
.withOpacity(0.8)), .withOpacity(0.8)),
right: BorderSide( right: BorderSide(
width: 0.5,
color: StreamChatTheme.of( color: StreamChatTheme.of(
context) context)
.colorTheme .colorTheme
@@ -376,6 +382,7 @@ class _MessageActionsModalState extends State<MessageActionsModal> {
decoration: BoxDecoration( decoration: BoxDecoration(
border: Border( border: Border(
top: BorderSide( top: BorderSide(
width: 0.5,
color: StreamChatTheme.of( color: StreamChatTheme.of(
context) context)
.colorTheme .colorTheme
@@ -438,8 +445,12 @@ class _MessageActionsModalState extends State<MessageActionsModal> {
scale: value, scale: value,
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.9, opacity: 0.8,
child: Material( child: Material(
color: StreamChatTheme.of(context)
.colorTheme
.whiteSnow
.withOpacity(0.8),
shape: RoundedRectangleBorder( shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(16.0), borderRadius: BorderRadius.circular(16.0),
), ),
@@ -503,6 +514,7 @@ class _MessageActionsModalState extends State<MessageActionsModal> {
decoration: BoxDecoration( decoration: BoxDecoration(
border: Border( border: Border(
top: BorderSide( top: BorderSide(
width: 0.5,
color: StreamChatTheme.of( color: StreamChatTheme.of(
context) context)
.colorTheme .colorTheme