setPosition method
Implementation
void setPosition(double position) {
final newPosition = position.clamp(
config.minChildSize,
config.effectiveMaxChildSize,
);
if ((_sheetPosition - newPosition).abs() > 0.001) {
_sheetPosition = newPosition;
_headerPosition = 0.0;
_headerOpacity = 1.0;
notifyListeners();
}
}