-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git: temporary fix for building macos build
- Loading branch information
Showing
3 changed files
with
138 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
import 'package:flutter/material.dart'; | ||
import 'package:hive/hive.dart'; | ||
|
||
class AniListProvider with ChangeNotifier { | ||
final storage = Hive.box('login-data'); | ||
dynamic _userData = {}; | ||
bool _isLoading = false; | ||
|
||
dynamic get userData => _userData; | ||
bool get isLoading => _isLoading; | ||
|
||
Future<void> tryAutoLogin() async {} | ||
|
||
Future<void> login(BuildContext context) async {} | ||
|
||
Future<void> _exchangeCodeForToken(String code, String clientId, | ||
String clientSecret, String redirectUri, BuildContext context) async {} | ||
|
||
Future<void> updateAnimeList({ | ||
required int animeId, | ||
required int episodeProgress, | ||
required double rating, | ||
required String status, | ||
}) async {} | ||
|
||
Future<void> updateMangaList({ | ||
required int mangaId, | ||
required int chapterProgress, | ||
required double rating, | ||
required String status, | ||
}) async {} | ||
|
||
Future<void> deleteMangaFromList({ | ||
required int mangaId, | ||
}) async {} | ||
|
||
Future<void> deleteAnimeFromList({ | ||
required int animeId, | ||
}) async {} | ||
|
||
Future<void> updateMangaProgress({ | ||
required int mangaId, | ||
required int chapterProgress, | ||
required String status, | ||
}) async {} | ||
|
||
Future<void> updateAnimeProgress({ | ||
required int animeId, | ||
required int episodeProgress, | ||
required String status, | ||
}) async {} | ||
|
||
Future<void> fetchUserProfile() async {} | ||
|
||
Future<void> fetchAnilistHomepage() async {} | ||
|
||
Future<void> fetchAnilistMangaPage() async {} | ||
|
||
Future<void> fetchUserAnimeList() async {} | ||
|
||
Future<void> fetchUserMangaList() async {} | ||
|
||
Future<void> logout(BuildContext context) async {} | ||
} |
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,72 @@ | ||
name: anymex | ||
description: "AnymeX - One Stop for anime, manga, novels" | ||
publish_to: "none" | ||
version: 2.8.4 | ||
|
||
environment: | ||
sdk: ">=3.4.4 <4.0.0" | ||
|
||
dependencies: | ||
carousel_slider: ^4.2.1 | ||
crystal_navigation_bar: ^1.0.0 | ||
flutter: | ||
sdk: flutter | ||
http: ^1.2.2 | ||
iconly: ^1.0.1 | ||
iconsax: ^0.0.8 | ||
text_scroll: ^0.2.0 | ||
better_player: ^0.0.84 | ||
custom_sliding_segmented_control: ^1.8.3 | ||
provider: ^6.1.2 | ||
cached_network_image: ^3.4.1 | ||
animated_segmented_tab_control: ^2.0.0 | ||
hive_flutter: ^1.1.0 | ||
hive: ^2.2.3 | ||
smooth_page_indicator: ^1.2.0+3 | ||
wakelock_plus: ^1.2.8 | ||
dynamic_color: ^1.7.0 | ||
device_info_plus: ^10.1.2 | ||
shimmer: ^3.0.0 | ||
url_launcher: ^6.3.0 | ||
crypto: ^3.0.5 | ||
flutter_dotenv: ^5.1.0 | ||
iconify_flutter: ^0.0.5 | ||
html: any | ||
transformable_list_view: ^0.6.0 | ||
encrypt: ^5.0.3 | ||
hugeicons: ^0.0.7 | ||
google_fonts: ^6.2.1 | ||
pointycastle: ^3.9.1 | ||
dio: ^5.7.0 | ||
permission_handler: ^11.3.1 | ||
flutter_local_notifications: ^18.0.1 | ||
media_kit: ^1.1.10+1 | ||
media_kit_video: ^1.2.4 | ||
media_kit_libs_video: ^1.0.4 | ||
window_manager: ^0.4.3 | ||
dev_dependencies: | ||
flutter_test: | ||
sdk: flutter | ||
flutter_lints: ^3.0.0 | ||
hive_generator: ^2.0.1 | ||
build_runner: ^2.4.11 | ||
|
||
flutter: | ||
uses-material-design: true | ||
|
||
assets: | ||
- assets/images/logo_transparent.png | ||
- .env | ||
|
||
fonts: | ||
- family: Poppins | ||
fonts: | ||
- asset: assets/fonts/Poppins/Poppins-Regular.ttf | ||
|
||
- family: Poppins-SemiBold | ||
fonts: | ||
- asset: assets/fonts/Poppins/Poppins-SemiBold.ttf | ||
|
||
- family: Poppins-Bold | ||
fonts: | ||
- asset: assets/fonts/Poppins/Poppins-Bold.ttf |