Merge branches 'feature/new-ui' and 'minor-ui-fixes' of github.com:GetStream/stream-chat-flutter into minor-ui-fixes
This commit is contained in:
@@ -27,7 +27,7 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
|
|||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 29
|
compileSdkVersion 29
|
||||||
ndkVersion '21.3.6528147'
|
ndkVersion '22.0.7026061'
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
main.java.srcDirs += 'src/main/kotlin'
|
main.java.srcDirs += 'src/main/kotlin'
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name: example
|
name: example
|
||||||
description: A new Flutter project.
|
description: A new Flutter project.
|
||||||
version: 1.1.1+3
|
version: 1.1.1+4
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.2.2 <3.0.0"
|
sdk: ">=2.2.2 <3.0.0"
|
||||||
|
|||||||
@@ -729,17 +729,11 @@ class _ChannelListViewState extends State<ChannelListView>
|
|||||||
}
|
}
|
||||||
|
|
||||||
Widget _separatorBuilder(context, i) {
|
Widget _separatorBuilder(context, i) {
|
||||||
var effect = StreamChatTheme.of(context).colorTheme.borderTop;
|
var effect = StreamChatTheme.of(context).colorTheme.borderBottom;
|
||||||
|
|
||||||
return BackdropFilter(
|
return Container(
|
||||||
filter: ui.ImageFilter.blur(
|
height: 1,
|
||||||
sigmaX: effect.sigmaX,
|
color: effect.color.withOpacity(effect.alpha ?? 1.0),
|
||||||
sigmaY: effect.sigmaY,
|
|
||||||
),
|
|
||||||
child: Container(
|
|
||||||
height: 1,
|
|
||||||
color: effect.color.withOpacity(0.08),
|
|
||||||
),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -492,8 +492,8 @@ class ColorTheme {
|
|||||||
),
|
),
|
||||||
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),
|
||||||
this.borderBottom =
|
this.borderBottom = const Effect(
|
||||||
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.shadowIconButton = const Effect(
|
this.shadowIconButton = const Effect(
|
||||||
sigmaX: 0, sigmaY: 2, color: Color(0xff000000), alpha: 0.5, blur: 4.0),
|
sigmaX: 0, sigmaY: 2, color: Color(0xff000000), alpha: 0.5, blur: 4.0),
|
||||||
this.modalShadow = const Effect(
|
this.modalShadow = const Effect(
|
||||||
@@ -514,8 +514,8 @@ class ColorTheme {
|
|||||||
this.accentGreen = const Color(0xff20E070),
|
this.accentGreen = const Color(0xff20E070),
|
||||||
this.borderTop = const Effect(
|
this.borderTop = const Effect(
|
||||||
sigmaX: 0, sigmaY: -1, color: Color(0xff141924), blur: 0.0),
|
sigmaX: 0, sigmaY: -1, color: Color(0xff141924), blur: 0.0),
|
||||||
this.borderBottom =
|
this.borderBottom = const Effect(
|
||||||
const Effect(sigmaX: 0, sigmaY: 1, color: Color(0xff141924), blur: 0.0),
|
sigmaX: 0, sigmaY: 1, color: Color(0xff141924), blur: 0.0, alpha: 1.0),
|
||||||
this.shadowIconButton = const Effect(
|
this.shadowIconButton = const Effect(
|
||||||
sigmaX: 0, sigmaY: 2, color: Color(0xff000000), alpha: 0.5, blur: 4.0),
|
sigmaX: 0, sigmaY: 2, color: Color(0xff000000), alpha: 0.5, blur: 4.0),
|
||||||
this.modalShadow = const Effect(
|
this.modalShadow = const Effect(
|
||||||
|
|||||||
Reference in New Issue
Block a user