-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
proper code refactor and basic implementations for sauce nao UI
- Loading branch information
1 parent
6fe36f4
commit 0c82e1c
Showing
20 changed files
with
144 additions
and
55 deletions.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
import 'package:flutter/material.dart'; | ||
|
||
class SaucenaoSearch extends StatefulWidget { | ||
const SaucenaoSearch({Key? key}) : super(key: key); | ||
|
||
@override | ||
State<SaucenaoSearch> createState() => _SaucenaoSearchState(); | ||
} | ||
|
||
class _SaucenaoSearchState extends State<SaucenaoSearch> { | ||
@override | ||
Widget build(BuildContext context) { | ||
return Scaffold( | ||
appBar: AppBar(), | ||
body: Column( | ||
crossAxisAlignment: CrossAxisAlignment.center, | ||
mainAxisSize: MainAxisSize.min, | ||
children: [ | ||
Center( | ||
child: Padding( | ||
padding: const EdgeInsets.all(50.0), | ||
child: Image( | ||
image: AssetImage('data/media/SauceNAO_banner.png'), | ||
color: Colors.black, | ||
), | ||
), | ||
), | ||
SizedBox( | ||
height: 500, | ||
width: 500, | ||
child: Card( | ||
child: PageView( | ||
children: [ | ||
Padding( | ||
padding: const EdgeInsets.all(20.0), | ||
child: Column( | ||
crossAxisAlignment: CrossAxisAlignment.center, | ||
children: [ | ||
Center( | ||
child: Text( | ||
"Has it ever occured to you that you find a manga page and you don't know from which manga it was?"), | ||
), | ||
Center( | ||
child: Text( | ||
"Well, now you can find them all! It's easy! Just "), | ||
), | ||
], | ||
), | ||
), | ||
], | ||
), | ||
)), | ||
], | ||
), | ||
); | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
lib/search/searchScreen.dart → lib/pages/search/search_page.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
lib/settings/settingsPage.dart → lib/pages/settings/settings_page.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.