TF-1017 Enable scroll to top button for web
(cherry picked from commit 2d8abfd6afe3865f0e6eb3ec6b3cdc6b3b1005f8)
This commit is contained in:
@@ -61,9 +61,6 @@ class _ScrollToTopButtonWidgetState extends State<ScrollToTopButtonWidget> {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
if (widget.responsiveUtils.isWebDesktop(context)) {
|
|
||||||
return const SizedBox.shrink();
|
|
||||||
}
|
|
||||||
|
|
||||||
return Align(
|
return Align(
|
||||||
alignment: AlignmentDirectional.bottomEnd,
|
alignment: AlignmentDirectional.bottomEnd,
|
||||||
|
|||||||
Reference in New Issue
Block a user