fix modal divider
This commit is contained in:
@@ -491,7 +491,11 @@ class ColorTheme {
|
|||||||
stops: [0, 1],
|
stops: [0, 1],
|
||||||
),
|
),
|
||||||
this.borderTop = const Effect(
|
this.borderTop = const Effect(
|
||||||
sigmaX: 0, sigmaY: -1, color: Color(0xff000000), blur: 0.0),
|
sigmaX: 0,
|
||||||
|
sigmaY: -1,
|
||||||
|
color: Color(0xff000000),
|
||||||
|
blur: 0.0,
|
||||||
|
alpha: 0.08),
|
||||||
this.borderBottom = const Effect(
|
this.borderBottom = const Effect(
|
||||||
sigmaX: 0, sigmaY: 1, color: Color(0xff000000), blur: 0.0, alpha: 0.08),
|
sigmaX: 0, sigmaY: 1, color: Color(0xff000000), blur: 0.0, alpha: 0.08),
|
||||||
this.shadowIconButton = const Effect(
|
this.shadowIconButton = const Effect(
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ Future<bool> showConfirmationDialog(
|
|||||||
topRight: Radius.circular(16.0),
|
topRight: Radius.circular(16.0),
|
||||||
)),
|
)),
|
||||||
builder: (context) {
|
builder: (context) {
|
||||||
|
final effect = StreamChatTheme.of(context).colorTheme.borderTop;
|
||||||
return Column(
|
return Column(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
@@ -52,8 +53,8 @@ Future<bool> showConfirmationDialog(
|
|||||||
),
|
),
|
||||||
SizedBox(height: 36.0),
|
SizedBox(height: 36.0),
|
||||||
Container(
|
Container(
|
||||||
color: StreamChatTheme.of(context).colorTheme.greyGainsboro,
|
color: effect.color.withOpacity(effect.alpha ?? 1),
|
||||||
height: 1.0,
|
height: 1,
|
||||||
),
|
),
|
||||||
Row(
|
Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
|
|||||||
Reference in New Issue
Block a user