2727- Customize search text style
2828- Clear icon button in search to easily clear text
2929- Customizable scroll direction
30- - Searchable list with seperator builder
30+ - Searchable list with separator builder
3131- Customizable text field position
3232- Customizable text style in search field
3333- Customize autocomplete options
@@ -40,7 +40,7 @@ In order to add searchable listview package to your project add this line to you
4040
4141``` yaml
4242dependencies :
43- searchable_listview: ^2.19.0
43+ searchable_listview : ^2.19.1
4444` ` `
4545
4646## Attributes
@@ -157,7 +157,7 @@ dependencies:
157157
158158 /// Builder callback required when using [seperated] constructor
159159 /// return the Widget that will seperate all the elements inside the list
160- late Widget Function(BuildContext context, int index)? seperatorBuilder ;
160+ late Widget Function(BuildContext context, int index)? separatorBuilder ;
161161
162162 /// The scroll direction of the list
163163 /// by default [Axis.vertical]
@@ -324,14 +324,14 @@ SearchableList<Actor>(
324324 emptyWidget: const EmptyView(),
325325 inputDecoration: InputDecoration(
326326 labelText: "Search Actor",
327- fillColor: Colors.white,
328- focusedBorder: OutlineInputBorder(
329- borderSide: const BorderSide(
330- color: Colors.blue,
331- width: 1.0,
332- ),
333- borderRadius: BorderRadius.circular(10.0),
334- ),
327+ fillColor: Colors.white,
328+ focusedBorder: OutlineInputBorder(
329+ borderSide: const BorderSide(
330+ color: Colors.blue,
331+ width: 1.0,
332+ ),
333+ borderRadius: BorderRadius.circular(10.0),
334+ ),
335335 ),
336336),
337337
@@ -475,14 +475,14 @@ SearchableList<Actor>.sliver(
475475 emptyWidget: const EmptyView(),
476476 inputDecoration: InputDecoration(
477477 labelText: "Search Actor",
478- fillColor: Colors.white,
479- focusedBorder: OutlineInputBorder(
480- borderSide: const BorderSide(
481- color: Colors.blue,
482- width: 1.0,
483- ),
484- borderRadius: BorderRadius.circular(10.0),
485- ),
478+ fillColor: Colors.white,
479+ focusedBorder: OutlineInputBorder(
480+ borderSide: const BorderSide(
481+ color: Colors.blue,
482+ width: 1.0,
483+ ),
484+ borderRadius: BorderRadius.circular(10.0),
485+ ),
486486 ),
487487),
488488
0 commit comments