Comments (3)
from flappy_search_bar.
@savadmv how you did that?
from flappy_search_bar.
Flexible( child: Container( child: SearchBar<Asset>( onSearch: search, onCancelled: cancelSearch, shrinkWrap: true, hintText: "Asset Barcode", searchBarStyle: SearchBarStyle( backgroundColor: Colors.white, padding: EdgeInsets.all(10), borderRadius: BorderRadius.circular(2), ), onItemFound: (Asset asset, int index) { return ListTile( title: Text(asset.assetTypeName), subtitle: Text(asset.barcode), ); }), decoration: BoxDecoration( border: Border.all( width: 2.0, color: Colors.blue, style: BorderStyle.solid), boxShadow: [ BoxShadow( color: Colors.grey.withOpacity(0.5), spreadRadius: 1, blurRadius: 1, offset: Offset.zero), ], ), ))
@savadmv how you did that?
I wrap it in a container and add a shadow to that.
from flappy_search_bar.
Related Issues (20)
- Container taking full height and width and every single ListTile fill whole screen
- Want a feature to show scroll indicator
- Searching data from Firestore (Firebase) using StreamProvider
- Getting error while using in Column HOT 2
- Remove top padding (cant change fixed height of search bar). HOT 2
- how to make the search result with pagination function HOT 2
- show full list by default if no search value HOT 7
- add output screenshot in readme HOT 1
- dismissible as searched result
- Is it possible to set onItemFound background?
- the result seach show only one element HOT 1
- parameter indexedScaledTileBuilder cannot use HOT 1
- The search icon placement to the left is too restrictive.
- search suggestion
- No named parameter with the name 'restorationId'
- onValidation parameter missing ?
- Null safety support HOT 4
- TextEditingController - SearchBarController.search()
- Type 'Future<dynamic>' is not a subtype of type 'FutureOr<List<dynamic>>' in type cast HOT 1
- How can I get the text I input outside the compenent๏ผ
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flappy_search_bar.