Skip to content

Commit

Permalink
new commit
Browse files Browse the repository at this point in the history
  • Loading branch information
febryardiansyah committed May 20, 2020
1 parent 2e964b1 commit 9d712d4
Show file tree
Hide file tree
Showing 39 changed files with 432 additions and 203 deletions.
29 changes: 21 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,24 @@ Animku is unofficial [myanimelist.net](https://myanimelist.net) application that
if you want to contribute on this project, you can fork this project and pull request.


## TODO
## Features

- [x] current season screen
- [x] drawer and items
- [x] season schedule
- [x] anime detail
- [x] schedule
- [x] search anime
- [x] top anime
- [x] splash screen
- [ ] icon launcher
- [x] anime schedule (sunday - saturday)
- [x] canceled anime (season later)
- [x] search anime by name

## Download Apk
> [animku.apk](https://github.com/febryardiansyah/animku/releases/tag/0.1)
## Download IOS
> _Coming soon_
## ScreenShoot
<img src="assets/ss/ss1.png" width="30%"> <img src="assets/ss/ss2.png" width="30%">
<img src="assets/ss/ss3.png" width="30%"> <img src="assets/ss/ss4.png" width="30%">
<img src="assets/ss/ss5.png" width="30%">

## Build Setup
``` bash
Expand All @@ -36,4 +44,9 @@ $ flutter build apk

```

## Special Thanks
Thanks to JikanApi Team that has been provided myanimlist.net api for public
You can read the docs [here](https://jikan.docs.apiary.io/)


For detailed explanation on how things work, check out [Flutter docs](https://flutter.dev/docs).
5 changes: 3 additions & 2 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.febryardiansyah.animku">
<uses-permission android:name="android.permission.INTERNET" />
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
calls FlutterMain.startInitialization(this); in its onCreate method.
In most cases you can leave this as-is, but you if you want to provide
Expand All @@ -8,7 +9,7 @@
<application
android:name="io.flutter.app.FlutterApplication"
android:label="animku"
android:icon="@mipmap/ic_launcher">
android:icon="@mipmap/launcher_icon">
<activity
android:name=".MainActivity"
android:launchMode="singleTop"
Expand All @@ -27,4 +28,4 @@
android:name="flutterEmbedding"
android:value="2" />
</application>
</manifest>
</manifest>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added android/app/src/main/res/mipmap-mdpi/launcher_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/aqua.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/launcherIcon.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 ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
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 ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
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 ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
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 ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
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 ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
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 ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
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 ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
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 ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
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 ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
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 ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
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 ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
Binary file modified ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
Binary file modified ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
11 changes: 11 additions & 0 deletions lib/components/my_drawer.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import 'package:animku/environments/dictionary.dart';
import 'package:animku/environments/my_fonts.dart';
import 'package:animku/ui/drawerList/about_screen.dart';
import 'package:animku/ui/drawerList/current_season_screen.dart';
import 'package:animku/ui/drawerList/schedule_screen.dart';
import 'package:animku/ui/drawerList/search_anime_screen.dart';
Expand Down Expand Up @@ -56,6 +57,16 @@ class MyDrawer extends StatelessWidget {
Navigator.push(context, MaterialPageRoute(builder: (context) => SearchAnimeScreen(),fullscreenDialog: true));
}
),
Divider(),
_drawerItems(
leading: Icon(FontAwesomeIcons.infoCircle),
text: Text('About'),
trailing: Icon(Icons.arrow_forward_ios),
onTapTabbed: (){
Navigator.push(context, MaterialPageRoute(builder: (context) => AboutScreen()));

}
)
],
),
),
Expand Down
4 changes: 2 additions & 2 deletions lib/components/my_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class _MyListState extends State<MyList> {
}

Widget _background({
title,
String title,
List<String> genre,
score,
episodes,
Expand All @@ -162,7 +162,7 @@ class _MyListState extends State<MyList> {
children: <Widget>[
Flexible(
child: Text(
'${title}',
'${title.length >=15 ? title.substring(0,15)+'..':title}',
style: TextStyle(
fontFamily: MyFonts.baloo,
color: BaseColor.white,
Expand Down
2 changes: 2 additions & 0 deletions lib/environments/dictionary.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ class Dictionary{
static String saturday = 'Saturday';

static String tenkinokowp = 'assets/images/tenkinokowp.png';
static String me = 'assets/images/aqua.JPG';

}
88 changes: 44 additions & 44 deletions lib/ui/detailscreen/second_detail.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,6 @@ class _SecondDetailState extends State<SecondDetail> {
Provider.of<DetailByIdProvider>(context, listen: false)
.getDetailById(widget.malId);
}
_launchUrl(url)async{
if(await canLaunch(url)){
await launch(url);
}else{
throw 'Could not launch $url';
}
}
Widget alertDialogItems({name,value}){
return RichText(
text: TextSpan(
Expand Down Expand Up @@ -184,7 +177,7 @@ class _SecondDetailState extends State<SecondDetail> {
Widget backButton() {
ScreenUtil.init(context);
return Padding(
padding: EdgeInsets.symmetric(horizontal: 30.w, vertical: 50.h),
padding: EdgeInsets.symmetric(horizontal: 30.w, vertical: 70.h),
child: RaisedButton(
elevation: 8,
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(8)),
Expand All @@ -207,7 +200,7 @@ class _SecondDetailState extends State<SecondDetail> {
height: 1200.h,
width: MediaQuery.of(context).size.width,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(30),
borderRadius: BorderRadius.only(topRight: Radius.circular(30),topLeft: Radius.circular(30)),
color: BaseColor.white,
boxShadow: [
BoxShadow(
Expand All @@ -224,8 +217,8 @@ class _SecondDetailState extends State<SecondDetail> {
left: 70.w,
top: 380.h,
child: Container(
height: 180,
width: 140,
height: 500.h,
width: 350.w,
decoration: BoxDecoration(
color: BaseColor.white,
borderRadius: BorderRadius.circular(8),
Expand Down Expand Up @@ -264,7 +257,7 @@ class _SecondDetailState extends State<SecondDetail> {
Widget _genre({SearchList genre}) {
ScreenUtil.init(context);
return Padding(
padding: EdgeInsets.only(top:900.h),
padding: EdgeInsets.only(top:950.h),
child: SingleChildScrollView(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
Expand Down Expand Up @@ -363,7 +356,7 @@ class _SecondDetailState extends State<SecondDetail> {
);
}
Widget _boxScore(SearchList searchList){
var formatNumber = NumberFormat.compactCurrency(decimalDigits: 2,symbol: '');
var formatNumber = NumberFormat.compactCurrency(decimalDigits: 0,symbol: '');
ScreenUtil.init(context);
return Card(
shape: RoundedRectangleBorder(
Expand All @@ -376,37 +369,44 @@ class _SecondDetailState extends State<SecondDetail> {
height: 350.h,
width: 1000.w,
padding: EdgeInsets.all(8),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: <Widget>[
Column(
children: <Widget>[
Text(searchList.score.toString() == null?'':searchList.score.toString(),style: TextStyle(
fontSize: 40,fontFamily: MyFonts.baloo,color: BaseColor.white
),),
Text('Score',style: TextStyle(
color: BaseColor.orange,fontFamily: MyFonts.baloo,fontSize: 20
),),
],
),
Container(
width: 3,
height: 100,
color: Color(0xff818181),
),
_rankPopuMembers(
name: 'Rank',
item: searchList.rank == null?' ':'${formatNumber.format(searchList.rank)}'
),
_rankPopuMembers(
name: 'Popularity',
item: searchList.popularity == null? ' ': '${formatNumber.format(searchList.popularity)}'
),
_rankPopuMembers(
name: 'Members',
item: formatNumber.format(searchList.members)
)
],
child: SingleChildScrollView(
scrollDirection: Axis.horizontal,
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: <Widget>[
Column(
children: <Widget>[
Text(searchList.score.toString() == null?'':searchList.score.toString(),style: TextStyle(
fontSize: 40,fontFamily: MyFonts.baloo,color: BaseColor.white
),),
Text('Score',style: TextStyle(
color: BaseColor.orange,fontFamily: MyFonts.baloo,fontSize: 20
),),
],
),
SizedBox(width: 10,),
Container(
width: 3,
height: 100,
color: Color(0xff818181),
),
SizedBox(width: 20,),
_rankPopuMembers(
name: 'Rank',
item: searchList.rank == null?' ':'${searchList.rank<=100?searchList.rank:formatNumber.format(searchList.rank)}'
),
SizedBox(width: 20,),
_rankPopuMembers(
name: 'Popularity',
item: searchList.popularity == null? ' ': '${searchList.popularity<=100?searchList.popularity:formatNumber.format(searchList.popularity)}'
),
SizedBox(width: 20,),
_rankPopuMembers(
name: 'Members',
item: searchList.members ==null?'':searchList.members<=100?searchList.members:formatNumber.format(searchList.members)
)
],
),
),
),
);
Expand Down
Loading

0 comments on commit 9d712d4

Please sign in to comment.