chore(repo): run dart fix

Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
Sahil Kumar
2021-10-01 16:45:18 +05:30
committed by xsahil03x
parent f7db4b1071
commit 2157340784
6 changed files with 25 additions and 10 deletions
@@ -39,9 +39,19 @@ class ColorTheme {
alpha: 0.08,
),
this.shadowIconButton = const Effect(
sigmaX: 0, sigmaY: 2, color: Color(0xff000000), alpha: 0.5, blur: 4,),
sigmaX: 0,
sigmaY: 2,
color: Color(0xff000000),
alpha: 0.5,
blur: 4,
),
this.modalShadow = const Effect(
sigmaX: 0, sigmaY: 0, color: Color(0xff000000), alpha: 1, blur: 8,),
sigmaX: 0,
sigmaY: 0,
color: Color(0xff000000),
alpha: 1,
blur: 8,
),
}) : brightness = Brightness.light;
/// Initialise with dark theme
@@ -100,7 +100,10 @@ class MessageThemeData with Diagnosticable {
messageTextStyle:
TextStyle.lerp(a.messageTextStyle, b.messageTextStyle, t),
reactionsBackgroundColor: Color.lerp(
a.reactionsBackgroundColor, b.reactionsBackgroundColor, t,),
a.reactionsBackgroundColor,
b.reactionsBackgroundColor,
t,
),
reactionsBorderColor:
Color.lerp(a.messageBorderColor, b.reactionsBorderColor, t),
reactionsMaskColor:
@@ -92,7 +92,9 @@ class UserAvatar extends StatelessWidget {
streamChatTheme
.ownMessageTheme.avatarTheme?.borderRadius,
image: DecorationImage(
image: imageProvider, fit: BoxFit.cover),
image: imageProvider,
fit: BoxFit.cover,
),
),
),
)