Flutter Sticky Headers - Lets you place "sticky headers" into any scrollable content in your Flutter app. No special wrappers or magic required. Maintainer: @slightfoot
I want to make it safer to add new features/change the current code.
I started adding some tests so we can guarantee that the current state is not lost.
I had trouble validating the stuckAmount on StickyHeaderWidgetBuilder. If someone knows how to properly test it it would be great. What I tried was the following:
I want to make it safer to add new features/change the current code. I started adding some tests so we can guarantee that the current state is not lost.
I had trouble validating the
stuckAmount
onStickyHeaderWidgetBuilder
. If someone knows how to properly test it it would be great. What I tried was the following:but the
capturedStuckAmount
was now what I expected, I don't know if it is something withtester.drag
that I'm not aware of.Anyway, the other tests are working