mirror of
https://github.com/Iconica-Development/flutter_input_library.git
synced 2025-05-18 17:03:45 +02:00
fix: dispose scroll controller
This commit is contained in:
parent
3a75d226f4
commit
2f171bd0c7
1 changed files with 7 additions and 0 deletions
|
@ -65,6 +65,13 @@ class _ScrollPickerState extends State<ScrollPicker> {
|
|||
});
|
||||
}
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
scrollController.dispose();
|
||||
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Stack(
|
||||
|
|
Loading…
Reference in a new issue