Avoid runtime error when placed inside TabBarView (#410)

pull/418/head
Aldy J 4 years ago committed by GitHub
parent 1956f68806
commit 6400ba1df5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lib/src/widgets/toolbar/arrow_indicated_button_list.dart

@ -60,6 +60,8 @@ class _ArrowIndicatedButtonListState extends State<ArrowIndicatedButtonList>
}
void _handleScroll() {
if (!mounted) return;
setState(() {
_showLeftArrow =
_controller.position.minScrollExtent != _controller.position.pixels;

Loading…
Cancel
Save