|
|
|
@ -54,16 +54,15 @@ class NeonListView extends StatelessWidget {
|
|
|
|
|
itemCount: topFixedChildren!.length, |
|
|
|
|
itemBuilder: (final context, final index) => topFixedChildren![index], |
|
|
|
|
), |
|
|
|
|
if (isLoading) |
|
|
|
|
const SliverToBoxAdapter( |
|
|
|
|
SliverToBoxAdapter( |
|
|
|
|
child: NeonLinearProgressIndicator( |
|
|
|
|
margin: EdgeInsets.symmetric( |
|
|
|
|
visible: isLoading, |
|
|
|
|
margin: const EdgeInsets.symmetric( |
|
|
|
|
horizontal: 10, |
|
|
|
|
vertical: 5, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
if (error != null) |
|
|
|
|
SliverToBoxAdapter( |
|
|
|
|
child: NeonError( |
|
|
|
|
error, |
|
|
|
|