Add animation to opacity

This commit is contained in:
Christian Pauly 2020-01-23 21:22:25 +01:00
parent 1362f5e227
commit 46ce25ded5
2 changed files with 4 additions and 3 deletions

View file

@ -126,7 +126,8 @@ class Message extends StatelessWidget {
}
},
itemBuilder: (BuildContext context) => popupMenuList,
child: Opacity(
child: AnimatedOpacity(
duration: Duration(milliseconds: 500),
opacity: event.status == 0 ? 0.5 : 1,
child: Bubble(
elevation: 0,

View file

@ -110,8 +110,8 @@ packages:
dependency: "direct main"
description:
path: "."
ref: bc2ca9749cfcc0506c59f97f4ae4987f0e84fbf4
resolved-ref: bc2ca9749cfcc0506c59f97f4ae4987f0e84fbf4
ref: "2545995bbe96a1d96fe176ab666f4dd03d591aa6"
resolved-ref: "2545995bbe96a1d96fe176ab666f4dd03d591aa6"
url: "https://gitlab.com/famedly/famedlysdk.git"
source: git
version: "0.0.1"