| 
															
														 | 
														
															 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															197
														 | 
														
															   } 
														 | 
														
															197
														 | 
														
															   } 
														 | 
													
												
													
														| 
															198
														 | 
														
															  
														 | 
														
															198
														 | 
														
															  
														 | 
													
												
													
														| 
															199
														 | 
														
															   Widget _buildThumbItem(BuildContext context, int index) { 
														 | 
														
															199
														 | 
														
															   Widget _buildThumbItem(BuildContext context, int index) { 
														 | 
													
												
													
														| 
															200
														 | 
														
															-    // todo 这里需要一个遮盖 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															201
														 | 
														
															     var item = previewSelectedList[index]; 
														 | 
														
															200
														 | 
														
															     var item = previewSelectedList[index]; 
														 | 
													
												
													
														| 
															202
														 | 
														
															     return GestureDetector( 
														 | 
														
															201
														 | 
														
															     return GestureDetector( 
														 | 
													
												
													
														| 
															203
														 | 
														
															       onTap: () => changeSelected(item, index), 
														 | 
														
															202
														 | 
														
															       onTap: () => changeSelected(item, index), 
														 | 
													
												
											
												
													
														| 
															
														 | 
														
															 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															213
														 | 
														
															               child: StreamBuilder( 
														 | 
														
															212
														 | 
														
															               child: StreamBuilder( 
														 | 
													
												
													
														| 
															214
														 | 
														
															                 stream: pageStream, 
														 | 
														
															213
														 | 
														
															                 stream: pageStream, 
														 | 
													
												
													
														| 
															215
														 | 
														
															                 builder: (BuildContext context, AsyncSnapshot snapshot) { 
														 | 
														
															214
														 | 
														
															                 builder: (BuildContext context, AsyncSnapshot snapshot) { 
														 | 
													
												
													
														| 
															216
														 | 
														
															-                  if(previewSelectedList.contains(item)){ 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															215
														 | 
														
															+                  if (previewSelectedList.contains(item)) { 
														 | 
													
												
													
														| 
															217
														 | 
														
															                     return Container(); 
														 | 
														
															216
														 | 
														
															                     return Container(); 
														 | 
													
												
													
														| 
															218
														 | 
														
															                   } 
														 | 
														
															217
														 | 
														
															                   } 
														 | 
													
												
													
														| 
															219
														 | 
														
															                   return Container( 
														 | 
														
															218
														 | 
														
															                   return Container( 
														 | 
													
												
											
												
													
														| 
															
														 | 
														
															 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															252
														 | 
														
															       builder: (BuildContext context, AsyncSnapshot<File> snapshot) { 
														 | 
														
															251
														 | 
														
															       builder: (BuildContext context, AsyncSnapshot<File> snapshot) { 
														 | 
													
												
													
														| 
															253
														 | 
														
															         var file = snapshot.data; 
														 | 
														
															252
														 | 
														
															         var file = snapshot.data; 
														 | 
													
												
													
														| 
															254
														 | 
														
															         if (snapshot.connectionState == ConnectionState.done && file != null) { 
														 | 
														
															253
														 | 
														
															         if (snapshot.connectionState == ConnectionState.done && file != null) { 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															254
														 | 
														
															+          // todo ios 图片优化,在返回时再生成图片 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															255
														 | 
														
															+          // 展示时,不允许放大,使用原生方案生成一个与屏幕同宽的图片 
														 | 
													
												
													
														| 
															255
														 | 
														
															           return Image.file( 
														 | 
														
															256
														 | 
														
															           return Image.file( 
														 | 
													
												
													
														| 
															256
														 | 
														
															             file, 
														 | 
														
															257
														 | 
														
															             file, 
														 | 
													
												
													
														| 
															257
														 | 
														
															             fit: BoxFit.contain, 
														 | 
														
															258
														 | 
														
															             fit: BoxFit.contain, 
														 |