How can I animate the color of my SliverAppBar
as I scroll through the CustomScrollView
?
Scaffold(
body: CustomScrollView(
controller: _scrollController,
slivers: [
SliverAppBar(...),
buildBody(),
],
),
);
How can I animate the color of my SliverAppBar
as I scroll through the CustomScrollView
?
Scaffold(
body: CustomScrollView(
controller: _scrollController,
slivers: [
SliverAppBar(...),
buildBody(),
],
),
);
Copyright © 2021 Jogjafile Inc.
try the following code: