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