mirror of
https://gitlab.com/moepoi/neonime-app.git
synced 2024-11-14 02:56:18 +01:00
Add image to search page
This commit is contained in:
parent
071fd0c30b
commit
e72cf89246
3 changed files with 12 additions and 1 deletions
BIN
lib/assets/search.webp
Normal file
BIN
lib/assets/search.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 86 KiB |
|
@ -24,7 +24,17 @@ class _SearchState extends State<Search> {
|
|||
}
|
||||
|
||||
Widget startSearch() {
|
||||
return Text('SEARCH RESULT WILL BE HERE !!!');
|
||||
return Center(
|
||||
child: Container(
|
||||
margin: EdgeInsets.only(top: 60, bottom: 60, left: 45, right: 45),
|
||||
decoration: BoxDecoration(
|
||||
image: DecorationImage(
|
||||
image: AssetImage('lib/assets/search.webp'),
|
||||
fit: BoxFit.contain
|
||||
)
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Widget loadSearch(String query) {
|
||||
|
|
|
@ -56,6 +56,7 @@ flutter:
|
|||
- lib/assets/splash.webp
|
||||
- lib/assets/drawer-top.webp
|
||||
- lib/assets/drawer-bottom.webp
|
||||
- lib/assets/search.webp
|
||||
- lib/assets/creator.webp
|
||||
- lib/assets/image-error.webp
|
||||
# An image asset can refer to one or more resolution-specific "variants", see
|
||||
|
|
Loading…
Reference in a new issue