changed fullscreen -> collection transition opacity
This commit is contained in:
parent
dd325eea04
commit
14d1f9241c
1 changed files with 2 additions and 1 deletions
|
@ -412,7 +412,8 @@ class _FullscreenVerticalPageViewState extends State<FullscreenVerticalPageView>
|
||||||
}
|
}
|
||||||
|
|
||||||
void _onVerticalPageControllerChange() {
|
void _onVerticalPageControllerChange() {
|
||||||
_backgroundColorNotifier.value = _backgroundColorNotifier.value.withOpacity(min(1.0, widget.verticalPager.page));
|
final opacity = min(1.0, widget.verticalPager.page);
|
||||||
|
_backgroundColorNotifier.value = _backgroundColorNotifier.value.withOpacity(opacity * opacity);
|
||||||
}
|
}
|
||||||
|
|
||||||
void _onImageChange() async {
|
void _onImageChange() async {
|
||||||
|
|
Loading…
Reference in a new issue