fix(ui_kit): add cacheExtend as a trade-off in listview example
This commit is contained in:
		
							parent
							
								
									198d83b663
								
							
						
					
					
						commit
						5c34528b3d
					
				| @ -37,6 +37,7 @@ class Buttons extends StatelessWidget { | |||||||
| 
 | 
 | ||||||
|   @override |   @override | ||||||
|   Widget build(BuildContext context) => ListView( |   Widget build(BuildContext context) => ListView( | ||||||
|  |         cacheExtent: 2000, | ||||||
|         children: [ |         children: [ | ||||||
|           const Gap(20), |           const Gap(20), | ||||||
|           Align( |           Align( | ||||||
|  | |||||||
| @ -10,6 +10,7 @@ class Cards extends StatelessWidget { | |||||||
| 
 | 
 | ||||||
|   @override |   @override | ||||||
|   Widget build(BuildContext context) => ListView( |   Widget build(BuildContext context) => ListView( | ||||||
|  |         cacheExtent: 1000, | ||||||
|         children: [ |         children: [ | ||||||
|           const Gap(20), |           const Gap(20), | ||||||
|           Align( |           Align( | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user