Skip to content
This repository has been archived by the owner on Jan 21, 2023. It is now read-only.

Commit

Permalink
beta release
Browse files Browse the repository at this point in the history
  • Loading branch information
FinotiLucas committed Jun 23, 2020
1 parent ee63bed commit 7d17161
Show file tree
Hide file tree
Showing 18 changed files with 310 additions and 60 deletions.
2 changes: 2 additions & 0 deletions .flutter-plugins
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
path_provider=/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.11/
path_provider_linux=/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-0.0.1+1/
path_provider_macos=/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4+3/
share=/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.6.4+3/
shared_preferences=/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.7+3/
shared_preferences_macos=/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-0.0.1+10/
shared_preferences_web=/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-0.1.2+7/
sqflite=/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-1.3.1/
webview_flutter=/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.22+1/
2 changes: 1 addition & 1 deletion .flutter-plugins-dependencies
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"path_provider","path":"/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.11/","dependencies":[]},{"name":"shared_preferences","path":"/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.7+3/","dependencies":[]},{"name":"sqflite","path":"/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-1.3.1/","dependencies":[]}],"android":[{"name":"path_provider","path":"/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.11/","dependencies":[]},{"name":"shared_preferences","path":"/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.7+3/","dependencies":[]},{"name":"sqflite","path":"/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-1.3.1/","dependencies":[]}],"macos":[{"name":"path_provider_macos","path":"/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4+3/","dependencies":[]},{"name":"shared_preferences_macos","path":"/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-0.0.1+10/","dependencies":[]},{"name":"sqflite","path":"/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-1.3.1/","dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-0.0.1+1/","dependencies":[]}],"windows":[],"web":[{"name":"shared_preferences_web","path":"/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-0.1.2+7/","dependencies":[]}]},"dependencyGraph":[{"name":"path_provider","dependencies":["path_provider_macos","path_provider_linux"]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_macos","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_macos","shared_preferences_web"]},{"name":"shared_preferences_macos","dependencies":[]},{"name":"shared_preferences_web","dependencies":[]},{"name":"sqflite","dependencies":[]}],"date_created":"2020-06-22 22:13:02.209390","version":"1.17.4"}
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"path_provider","path":"/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.11/","dependencies":[]},{"name":"share","path":"/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.6.4+3/","dependencies":[]},{"name":"shared_preferences","path":"/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.7+3/","dependencies":[]},{"name":"sqflite","path":"/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-1.3.1/","dependencies":[]},{"name":"webview_flutter","path":"/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.22+1/","dependencies":[]}],"android":[{"name":"path_provider","path":"/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.11/","dependencies":[]},{"name":"share","path":"/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.6.4+3/","dependencies":[]},{"name":"shared_preferences","path":"/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.7+3/","dependencies":[]},{"name":"sqflite","path":"/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-1.3.1/","dependencies":[]},{"name":"webview_flutter","path":"/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.22+1/","dependencies":[]}],"macos":[{"name":"path_provider_macos","path":"/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4+3/","dependencies":[]},{"name":"shared_preferences_macos","path":"/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-0.0.1+10/","dependencies":[]},{"name":"sqflite","path":"/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-1.3.1/","dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-0.0.1+1/","dependencies":[]}],"windows":[],"web":[{"name":"shared_preferences_web","path":"/home/finoti/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-0.1.2+7/","dependencies":[]}]},"dependencyGraph":[{"name":"path_provider","dependencies":["path_provider_macos","path_provider_linux"]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_macos","dependencies":[]},{"name":"share","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_macos","shared_preferences_web"]},{"name":"shared_preferences_macos","dependencies":[]},{"name":"shared_preferences_web","dependencies":[]},{"name":"sqflite","dependencies":[]},{"name":"webview_flutter","dependencies":[]}],"date_created":"2020-06-23 12:07:49.124708","version":"1.17.4"}
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# Ikigai - Anime and Manga encyclopedia
# Ikigai - Anime and Manga encyclopedia.


<h4 align="center">
Expand All @@ -18,19 +18,28 @@


### 1. Download
You can download the apk directly through github, in the future we will launch in other stores.

<a href="https://github.com/FinotiLucas/Ikigai/releases">
<img alt="Download Ikigai" src="https://img.shields.io/github/downloads-pre/finotilucas/Ikigai/latest/total?color=blue&label=Ikigai%20%28Stable%29&github"/>
<img alt="Download Ikigai" src="https://img.shields.io/github/downloads-pre/finotilucas/Ikigai/latest/total?color=blue&label=Ikigai%20%28Alpha%29&github"/>
</a>

</p>

### 2. Introduction

<b>ikigai</b> It is an application that serves as a way to organize the most important information about your favorite anime/manga, in addition to making you discover much more content
<b>ikigai</b> has the objective of organizing your favorites anime/manga and keep then always updated, knowing when new episodes will be released and on which days of the week, discovering all that's new in the current season and choosing the best anime/manga to follow, all with lots of extra nerdy information.

### 3. Features

### 3. Screenshots
- Add an anime or manga to your favorites
- View the latest news related to a specific anime or manga
- Extra information about the main and supporting characters of an anime or manga
- User ratings and reviews for a specific anime / manga
- See what's new in the current season
- See the release schedule of the new episodes organized by the days of the week

### 4. Screenshots

<p align="center">
<img src="./assets/screenshots/1.png" width="265" />
Expand Down
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.aliatisoftware.ikigai"
minSdkVersion 16
minSdkVersion 21
targetSdkVersion 28
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand Down
Binary file added assets/images/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/screenshots/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/screenshots/6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 18 additions & 6 deletions lib/screens/description/news.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import 'package:cached_network_image/cached_network_image.dart';
import 'package:flutter/material.dart';
import 'package:ikigai/utils/webview.dart';

class NewsPage extends StatefulWidget {
NewsPage({Key key, this.anime}) : super(key: key);
Expand All @@ -16,7 +17,19 @@ class _NewsPageState extends State<NewsPage> {
super.initState();
}

_buildListTitle(String leading, String title, String subtitle) {
_launchURL(String title, String selectedUrl) async {
Navigator.push(
context,
new MaterialPageRoute(
builder: (BuildContext context) => new MyWebView(
title: title,
selectedUrl: selectedUrl,
),
),
);
}

_buildListTitle(String leading, String title, String subtitle, String url) {
return Container(
padding: EdgeInsets.fromLTRB(0, 20, 0, 10),
child: ListTile(
Expand Down Expand Up @@ -56,11 +69,9 @@ class _NewsPageState extends State<NewsPage> {
textAlign: TextAlign.justify,
),
trailing: Icon(Icons.keyboard_arrow_right),
/*onTap: () async {
var jikan = Jikan();
var char = await jikan.getMangaNews(widget.animeId);
print(char);
},*/
onTap: () async {
_launchURL(title, url);
},
),
);
}
Expand All @@ -74,6 +85,7 @@ class _NewsPageState extends State<NewsPage> {
widget.anime[index].imageUrl,
widget.anime[index].title,
widget.anime[index].date,
widget.anime[index].url,
);
},
);
Expand Down
2 changes: 0 additions & 2 deletions lib/screens/home/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ class _HomePageState extends State<HomePage> {

@override
Widget build(BuildContext context) {
/*_height = MediaQuery.of(context).size.height;
_width = MediaQuery.of(context).size.width;*/
return Scaffold(
body: futureBuilder(),
);
Expand Down
22 changes: 15 additions & 7 deletions lib/screens/indications/indications.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ class IndicationsPage extends StatefulWidget {

class _IndicationsPageState extends State<IndicationsPage> {
int option = 1;
double radius = 10;
Color selectButtonColor;

@override
void initState() {
Expand All @@ -28,26 +30,33 @@ class _IndicationsPageState extends State<IndicationsPage> {
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
FlatButton.icon(
color: Theme.of(context).primaryColor,
icon: Icon(Mdi.televisionClassic, color: Colors.white),
color: option == 1 ? selectButtonColor : Colors.grey,
icon: Icon(
Mdi.televisionClassic,
color: Colors.white,
),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(radius),
),
label:
Text('Top Animes', style: TextStyle(color: Colors.white)),
onPressed: () {
setState(() {
option = 1;
//_future = getTopAnime();
});
},
),
FlatButton.icon(
color: Theme.of(context).primaryColor,
color: option == 2 ? selectButtonColor : Colors.grey,
icon: Icon(Mdi.bookOpen, color: Colors.white),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(radius),
),
label:
Text('Top Mangas', style: TextStyle(color: Colors.white)),
onPressed: () {
setState(() {
option = 2;
//_future = getTopMangas();
});
},
),
Expand All @@ -65,8 +74,7 @@ class _IndicationsPageState extends State<IndicationsPage> {

@override
Widget build(BuildContext context) {
/*_height = MediaQuery.of(context).size.height;
_width = MediaQuery.of(context).size.width;*/
selectButtonColor = Theme.of(context).primaryColor;
return Scaffold(
body: body(),
);
Expand Down
3 changes: 2 additions & 1 deletion lib/screens/mainScreen/mainScreen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import 'package:ikigai/screens/anime/animeCategories.dart';
import 'package:ikigai/screens/home/home.dart';
import 'package:ikigai/screens/indications/indications.dart';
import 'package:ikigai/screens/manga/mangaCategories.dart';
import 'package:ikigai/screens/splash/splash.dart';
import 'package:ikigai/widgets/drawer.dart';
import 'package:ikigai/widgets/mainAppBar.dart';
import 'package:flutter/material.dart';
Expand Down Expand Up @@ -88,7 +89,7 @@ class _MainPageState extends State<MainPage> {
} else {
return Scaffold(
body: Center(
child: CircularProgressIndicator(),
child: SplashScreen(),
),
);
}
Expand Down
12 changes: 5 additions & 7 deletions lib/screens/schedule/schedule.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@ class SchedulePage extends StatefulWidget {
class _SchedulePageState extends State<SchedulePage> {
int option = 1;
int index = 0;
double fontSize = 16;
Future _future;
String seasonName = "";
String seasonYear = "";

// <- define a local property/ Option 2
String _dropDownValue;

WeekDayList _selectedWeekDay;

@override
Expand Down Expand Up @@ -61,23 +59,23 @@ class _SchedulePageState extends State<SchedulePage> {
'Choose a day of the week',
style: TextStyle(
color: Theme.of(context).primaryColor,
fontSize: 16,
fontSize: fontSize,
fontWeight: FontWeight.w500,
),
)
: Text(
_selectedWeekDay.name,
style: TextStyle(
color: Theme.of(context).primaryColor,
fontSize: 16,
fontSize: fontSize,
fontWeight: FontWeight.w500,
),
),
isExpanded: true,
iconSize: 40.0,
style: TextStyle(
color: Theme.of(context).primaryColor,
fontSize: 16,
fontSize: fontSize,
fontWeight: FontWeight.w500,
),
items: WeekDayList.getLanguages().map((WeekDayList weekDay) {
Expand Down
70 changes: 43 additions & 27 deletions lib/screens/search/Search.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ class _SearchPageState extends State<SearchPage> {
var _search;
Future _future;
int type;
Color selectButtonColor;
double radius = 10;

@override
void initState() {
Expand All @@ -22,6 +24,14 @@ class _SearchPageState extends State<SearchPage> {
super.initState();
}

_getSearch(value) {
setState(() {
_search = value;
_future = fetchSearch(value);
FocusScope.of(context).requestFocus(FocusNode());
});
}

body() {
return new Column(
children: <Widget>[
Expand All @@ -35,17 +45,18 @@ class _SearchPageState extends State<SearchPage> {
title: new TextField(
controller: controller,
decoration: new InputDecoration(
hintText: 'Search for a anime, manga or character',
border: InputBorder.none),
hintText: 'Search for a anime, manga or character',
border: InputBorder.none,
),
onSubmitted: (value) async {
_getSearch(value);
},
textInputAction: TextInputAction.search,
),
trailing: new IconButton(
icon: new Icon(Icons.done),
onPressed: () async {
setState(() {
_search = controller.text;
_future = fetchSearch(controller.text);
FocusScope.of(context).requestFocus(FocusNode());
});
_getSearch(controller.text);
},
),
),
Expand All @@ -59,39 +70,43 @@ class _SearchPageState extends State<SearchPage> {
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
FlatButton.icon(
color: Theme.of(context).primaryColor,
icon: Icon(Mdi.televisionClassic, color: Colors.white),
label: Text('Search for Animes',
style: TextStyle(color: Colors.white)),
color: type == 1 ? selectButtonColor : Colors.grey,
icon: Icon(
Mdi.televisionClassic,
color: Colors.white,
),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(radius),
),
label: Text(
'Search for Animes',
style: TextStyle(color: Colors.white),
),
onPressed: () {
setState(() {
type = 1;
});
},
),
FlatButton.icon(
color: Theme.of(context).primaryColor,
icon: Icon(Mdi.bookOpen, color: Colors.white),
label: Text('Search for Mangas',
style: TextStyle(color: Colors.white)),
color: type == 2 ? selectButtonColor : Colors.grey,
icon: Icon(
Mdi.bookOpen,
color: Colors.white,
),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(radius),
),
label: Text(
'Search for Mangas',
style: TextStyle(color: Colors.white),
),
onPressed: () {
setState(() {
type = 2;
});
},
),
/*FlatButton.icon(
color: Theme.of(context).primaryColor,
icon: Icon(Mdi.accountMultiple, color: Colors.white),
label:
Text('Characters', style: TextStyle(color: Colors.white)),
onPressed: () {
setState(() {
type = 3;
_future = getCharacterSearch(controller.text);
});
},
),*/
],
),
),
Expand Down Expand Up @@ -132,6 +147,7 @@ class _SearchPageState extends State<SearchPage> {

@override
Widget build(BuildContext context) {
selectButtonColor = Theme.of(context).primaryColor;
return new Scaffold(
resizeToAvoidBottomInset: false,
appBar: new AppBar(
Expand Down
2 changes: 0 additions & 2 deletions lib/screens/season/season.dart
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ class _SeasonPageState extends State<SeasonPage> {

@override
Widget build(BuildContext context) {
/*_height = MediaQuery.of(context).size.height;
_width = MediaQuery.of(context).size.width;*/
return Scaffold(
body: futureBuilder(),
appBar: mainAppBar(context, " $seasonName $seasonYear"),
Expand Down
Loading

0 comments on commit 7d17161

Please sign in to comment.