@@ -308,77 +308,74 @@ class _NewChatScreenState extends State<NewChatScreen> {
308308                        ?  GestureDetector (
309309                            behavior:  HitTestBehavior .opaque,
310310                            onPanDown:  (_) =>  FocusScope .of (context).unfocus (),
311-                             child:  UsersBloc (
312-                               child:  StreamUserListView (
313-                                 controller:  userListController,
314-                                 // groupAlphabetically: 
315-                                 //     _isSearchActive ? false : true, 
316-                                 onUserTap:  (user) {
317-                                   _controller.clear ();
318-                                   if  (! _selectedUsers.contains (user)) {
319-                                     _chipInputTextFieldState
320-                                       ? ..addItem (user)
321-                                       ..pauseItemAddition ();
322-                                   } else  {
323-                                     _chipInputTextFieldState! .removeItem (user);
324-                                   }
325-                                 },
326-                                 itemBuilder:  (
327-                                   context,
328-                                   users,
329-                                   index,
330-                                   defaultWidget,
331-                                 ) {
332-                                   return  defaultWidget.copyWith (
333-                                     selected: 
334-                                         _selectedUsers.contains (users[index]),
335-                                   );
336-                                 },
337-                                 emptyBuilder:  (_) {
338-                                   return  LayoutBuilder (
339-                                     builder:  (context, viewportConstraints) {
340-                                       return  SingleChildScrollView (
341-                                         physics: 
342-                                             AlwaysScrollableScrollPhysics (),
343-                                         child:  ConstrainedBox (
344-                                           constraints:  BoxConstraints (
345-                                             minHeight: 
346-                                                 viewportConstraints.maxHeight,
347-                                           ),
348-                                           child:  Center (
349-                                             child:  Column (
350-                                               children:  [
351-                                                 Padding (
352-                                                   padding: 
353-                                                       const  EdgeInsets .all (24 ),
354-                                                   child:  StreamSvgIcon .search (
355-                                                     size:  96 ,
356-                                                     color:  Colors .grey,
357-                                                   ),
358-                                                 ),
359-                                                 Text (
360-                                                   AppLocalizations .of (context)
361-                                                       .noUserMatchesTheseKeywords,
362-                                                   style:  StreamChatTheme .of (
363-                                                           context)
364-                                                       .textTheme
365-                                                       .footnote
366-                                                       .copyWith (
367-                                                           color:  StreamChatTheme 
368-                                                                   .of (context)
369-                                                               .colorTheme
370-                                                               .textHighEmphasis
371-                                                               .withOpacity (.5 )),
311+                             child:  StreamUserListView (
312+                               controller:  userListController,
313+                               // groupAlphabetically: 
314+                               //     _isSearchActive ? false : true, 
315+                               onUserTap:  (user) {
316+                                 _controller.clear ();
317+                                 if  (! _selectedUsers.contains (user)) {
318+                                   _chipInputTextFieldState
319+                                     ? ..addItem (user)
320+                                     ..pauseItemAddition ();
321+                                 } else  {
322+                                   _chipInputTextFieldState! .removeItem (user);
323+                                 }
324+                               },
325+                               itemBuilder:  (
326+                                 context,
327+                                 users,
328+                                 index,
329+                                 defaultWidget,
330+                               ) {
331+                                 return  defaultWidget.copyWith (
332+                                   selected: 
333+                                       _selectedUsers.contains (users[index]),
334+                                 );
335+                               },
336+                               emptyBuilder:  (_) {
337+                                 return  LayoutBuilder (
338+                                   builder:  (context, viewportConstraints) {
339+                                     return  SingleChildScrollView (
340+                                       physics:  AlwaysScrollableScrollPhysics (),
341+                                       child:  ConstrainedBox (
342+                                         constraints:  BoxConstraints (
343+                                           minHeight: 
344+                                               viewportConstraints.maxHeight,
345+                                         ),
346+                                         child:  Center (
347+                                           child:  Column (
348+                                             children:  [
349+                                               Padding (
350+                                                 padding: 
351+                                                     const  EdgeInsets .all (24 ),
352+                                                 child:  StreamSvgIcon .search (
353+                                                   size:  96 ,
354+                                                   color:  Colors .grey,
372355                                                ),
373-                                               ],
374-                                             ),
356+                                               ),
357+                                               Text (
358+                                                 AppLocalizations .of (context)
359+                                                     .noUserMatchesTheseKeywords,
360+                                                 style:  StreamChatTheme .of (
361+                                                         context)
362+                                                     .textTheme
363+                                                     .footnote
364+                                                     .copyWith (
365+                                                         color:  StreamChatTheme 
366+                                                                 .of (context)
367+                                                             .colorTheme
368+                                                             .textHighEmphasis
369+                                                             .withOpacity (.5 )),
370+                                               ),
371+                                             ],
375372                                          ),
376373                                        ),
377-                                       ); 
378-                                     }, 
379-                                   ); 
380-                                 }, 
381-                               ) ,
374+                                       ), 
375+                                     ); 
376+                                   }, 
377+                                 ); 
378+                               } ,
382379                            ),
383380                          )
384381                        :  FutureBuilder <bool >(
0 commit comments