fix(ui): increase dashboard RefreshIndicator edge offset

This change adjusts the edge offset for the RefreshIndicator in the home
view dashboard UI with the CustomSliverAppBar `expandedHeight` size,
ensuring a better user experience by moving the RefreshIndicator under
the SliverAppbar.
This commit is contained in:
Domenic-MZS 2024-04-07 19:13:50 -04:00
parent 5e6cc86c7e
commit bbfcdddbf1
No known key found for this signature in database
GPG Key ID: E7B94F035D555592

View File

@ -20,6 +20,8 @@ class HomeView extends StatelessWidget {
viewModelBuilder: () => locator<HomeViewModel>(),
builder: (context, model, child) => Scaffold(
body: RefreshIndicator(
edgeOffset: 110.0,
displacement: 10.0,
onRefresh: () => model.forceRefresh(context),
child: CustomScrollView(
slivers: <Widget>[