From baf639d6459162fe6f6f18ece263173aa2303275 Mon Sep 17 00:00:00 2001 From: ThomasEcalle Date: Thu, 25 Jul 2019 21:03:50 +0200 Subject: [PATCH] Update documentation --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 90fda1d..293d1d4 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,15 @@ To use this plugin, add flappy_search_bar as a dependency in your pubspec.yaml f } ``` +### Warning + +If you want to use a SearchBarController in order to do some sorts or filters, PLEASE put your instance of SearchBarController in a StateFullWidget. + +If not, it will not work properly. + +If you don't use an instance of SearchBarController, you can keep everything in a StateLessWidget ! + + ### Parameters | Name | Type | Usage | Required | Default Value |