Horje
Unhandled Exception: 'package:flutter/src/widgets/scroll_controller.dart': Failed assertion: line 152 pos 12: '_positions.isNotEmpty': ScrollController not attached to any scroll views. Code
Unhandled Exception: 'package:flutter/src/widgets/scroll_controller.dart': Failed assertion: line 152 pos 12: '_positions.isNotEmpty': ScrollController not attached to any scroll views.
To avoid such type of errors check if exist

if (_scrollController.hasClients) {
	_scrollController.animateTo(0.0, curve: Curves.easeOut, duration: const Duration(milliseconds: 300))
}

If this is false, then members that interact with the [ScrollPosition], such as
[position], [offset], [animateTo], and [jumpTo], must not be called.




Whatever

Related
ScreenToWorldPoint Code Example ScreenToWorldPoint Code Example
swiftui tutorial Code Example swiftui tutorial Code Example
flatpickr month and year only Code Example flatpickr month and year only Code Example
HTTPS P95 Latency Code Example HTTPS P95 Latency Code Example
custom android Code Example custom android Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8