Null check operator exception on headerBuilder
swch01 opened this issue · comments
The headerBuilder
parameter to SliverExpandableChildDelegate
is nullable but its implementation expects a value.
sectionBuilder or headerBuilder, at least one.
Perhaps this assert
could become
: assert(
(headerBuilder != null && sectionBuilder == null) ||
(headerBuilder == null && sectionBuilder != null),
'You must specify either headerBuilder or sectionBuilder.',
),
ok, i will commit it.