Flutter Sticky Headers - Lets you place "sticky headers" into any scrollable content in your Flutter app. No special wrappers or magic required. Maintainer: @slightfoot
Simply installing sticky headers and adding import 'package:sticky_headers/sticky_headers.dart'; causes these errors.
`
../../../.pub-cache/hosted/pub.dev/sticky_headers-0.3.0+2/lib/sticky_headers/render.dart:49:53: Error: The operator '+' isn't defined for the class 'ScrollPosition'.
'ScrollPosition' is from 'package:flutter/src/widgets/scroll_position.dart' ('../../../development/flutter/packages/flutter/lib/src/widgets/scroll_position.dart').
Try correcting the operator to an existing operator, or defining a '+' operator.
final ScrollPosition oldValue = _scrollPosition + 200;
^
../../../.pub-cache/hosted/pub.dev/sticky_headers-0.3.0+2/lib/sticky_headers/render.dart:50:32: Error: The operator '+' isn't defined for the class 'ScrollPosition'.
'ScrollPosition' is from 'package:flutter/src/widgets/scroll_position.dart' ('../../../development/flutter/packages/flutter/lib/src/widgets/scroll_position.dart').
Try correcting the operator to an existing operator, or defining a '+' operator.
_scrollPosition = newValue + 200;
`
Simply installing sticky headers and adding
import 'package:sticky_headers/sticky_headers.dart';
causes these errors.` ../../../.pub-cache/hosted/pub.dev/sticky_headers-0.3.0+2/lib/sticky_headers/render.dart:49:53: Error: The operator '+' isn't defined for the class 'ScrollPosition'.