Showing preview only (1,115K chars total). Download the full file or copy to clipboard to get everything.
Repository: lotusprey/otraku
Branch: main
Commit: f420680e4841
Files: 291
Total size: 1.0 MB
Directory structure:
gitextract_qcbgjzcb/
├── .gitattributes
├── .gitignore
├── .metadata
├── .vscode/
│ └── launch.json
├── LICENSE
├── README.md
├── analysis_options.yaml
├── android/
│ ├── .gitignore
│ ├── app/
│ │ ├── build.gradle.kts
│ │ └── src/
│ │ ├── debug/
│ │ │ └── AndroidManifest.xml
│ │ ├── dev/
│ │ │ └── res/
│ │ │ ├── mipmap-anydpi-v26/
│ │ │ │ └── ic_launcher.xml
│ │ │ └── values/
│ │ │ ├── colors.xml
│ │ │ └── strings.xml
│ │ ├── main/
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── kotlin/
│ │ │ │ └── com/
│ │ │ │ └── example/
│ │ │ │ └── otraku/
│ │ │ │ └── MainActivity.kt
│ │ │ └── res/
│ │ │ ├── drawable/
│ │ │ │ └── launch_background.xml
│ │ │ ├── drawable-v21/
│ │ │ │ └── launch_background.xml
│ │ │ ├── mipmap-anydpi-v26/
│ │ │ │ └── ic_launcher.xml
│ │ │ ├── values/
│ │ │ │ ├── colors.xml
│ │ │ │ ├── strings.xml
│ │ │ │ └── styles.xml
│ │ │ ├── values-night/
│ │ │ │ ├── colors.xml
│ │ │ │ └── styles.xml
│ │ │ └── xml/
│ │ │ └── backup_rules.xml
│ │ └── profile/
│ │ └── AndroidManifest.xml
│ ├── build.gradle.kts
│ ├── gradle/
│ │ └── wrapper/
│ │ └── gradle-wrapper.properties
│ ├── gradle.properties
│ └── settings.gradle.kts
├── fastlane/
│ └── metadata/
│ └── android/
│ ├── de/
│ │ ├── full_description.txt
│ │ └── short_description.txt
│ └── en-US/
│ ├── changelogs/
│ │ ├── 59.txt
│ │ ├── 63.txt
│ │ ├── 65.txt
│ │ ├── 66.txt
│ │ ├── 69.txt
│ │ ├── 72.txt
│ │ ├── 73.txt
│ │ ├── 77.txt
│ │ ├── 80.txt
│ │ ├── 82.txt
│ │ ├── 83.txt
│ │ ├── 84.txt
│ │ ├── 86.txt
│ │ ├── 87.txt
│ │ ├── 89.txt
│ │ ├── 92.txt
│ │ └── 94.txt
│ ├── full_description.txt
│ ├── short_description.txt
│ └── title.txt
├── flutter_launcher_icons-dev.yaml
├── ios/
│ ├── .gitignore
│ ├── Flutter/
│ │ ├── AppFrameworkInfo.plist
│ │ ├── Debug.xcconfig
│ │ ├── Profile.xcconfig
│ │ └── Release.xcconfig
│ ├── Podfile
│ ├── Runner/
│ │ ├── AppDelegate.swift
│ │ ├── Assets.xcassets/
│ │ │ ├── AppIcon-dev.appiconset/
│ │ │ │ └── Contents.json
│ │ │ ├── AppIcon.appiconset/
│ │ │ │ └── Contents.json
│ │ │ └── LaunchImage.imageset/
│ │ │ ├── Contents.json
│ │ │ └── README.md
│ │ ├── Base.lproj/
│ │ │ ├── LaunchScreen.storyboard
│ │ │ └── Main.storyboard
│ │ ├── Info.plist
│ │ └── Runner-Bridging-Header.h
│ ├── Runner.xcodeproj/
│ │ ├── project.pbxproj
│ │ ├── project.xcworkspace/
│ │ │ ├── contents.xcworkspacedata
│ │ │ └── xcshareddata/
│ │ │ ├── IDEWorkspaceChecks.plist
│ │ │ └── WorkspaceSettings.xcsettings
│ │ └── xcshareddata/
│ │ └── xcschemes/
│ │ └── Runner.xcscheme
│ └── Runner.xcworkspace/
│ ├── contents.xcworkspacedata
│ └── xcshareddata/
│ ├── IDEWorkspaceChecks.plist
│ └── WorkspaceSettings.xcsettings
├── lib/
│ ├── extension/
│ │ ├── action_chip_extension.dart
│ │ ├── build_context_extension.dart
│ │ ├── card_extension.dart
│ │ ├── color_extension.dart
│ │ ├── date_time_extension.dart
│ │ ├── enum_extension.dart
│ │ ├── filter_chip_extension.dart
│ │ ├── future_extension.dart
│ │ ├── iterable_extension.dart
│ │ ├── scroll_controller_extension.dart
│ │ ├── snack_bar_extension.dart
│ │ └── string_extension.dart
│ ├── feature/
│ │ ├── activity/
│ │ │ ├── activities_filter_model.dart
│ │ │ ├── activities_filter_provider.dart
│ │ │ ├── activities_model.dart
│ │ │ ├── activities_provider.dart
│ │ │ ├── activities_view.dart
│ │ │ ├── activity_card.dart
│ │ │ ├── activity_filter_sheet.dart
│ │ │ ├── activity_model.dart
│ │ │ ├── activity_provider.dart
│ │ │ ├── activity_view.dart
│ │ │ └── reply_card.dart
│ │ ├── calendar/
│ │ │ ├── calendar_filter_provider.dart
│ │ │ ├── calendar_filter_sheet.dart
│ │ │ ├── calendar_models.dart
│ │ │ ├── calendar_provider.dart
│ │ │ └── calendar_view.dart
│ │ ├── character/
│ │ │ ├── character_anime_view.dart
│ │ │ ├── character_filter_model.dart
│ │ │ ├── character_filter_provider.dart
│ │ │ ├── character_floating_actions.dart
│ │ │ ├── character_header.dart
│ │ │ ├── character_item_grid.dart
│ │ │ ├── character_item_model.dart
│ │ │ ├── character_manga_view.dart
│ │ │ ├── character_model.dart
│ │ │ ├── character_overview_view.dart
│ │ │ ├── character_provider.dart
│ │ │ └── character_view.dart
│ │ ├── collection/
│ │ │ ├── collection_entries_provider.dart
│ │ │ ├── collection_filter_model.dart
│ │ │ ├── collection_filter_provider.dart
│ │ │ ├── collection_filter_view.dart
│ │ │ ├── collection_floating_action.dart
│ │ │ ├── collection_grid.dart
│ │ │ ├── collection_list.dart
│ │ │ ├── collection_models.dart
│ │ │ ├── collection_provider.dart
│ │ │ ├── collection_top_bar.dart
│ │ │ └── collection_view.dart
│ │ ├── comment/
│ │ │ ├── comment_model.dart
│ │ │ ├── comment_provider.dart
│ │ │ ├── comment_tile.dart
│ │ │ └── comment_view.dart
│ │ ├── composition/
│ │ │ ├── composition_model.dart
│ │ │ ├── composition_provider.dart
│ │ │ └── composition_view.dart
│ │ ├── discover/
│ │ │ ├── discover_filter_model.dart
│ │ │ ├── discover_filter_provider.dart
│ │ │ ├── discover_floating_action.dart
│ │ │ ├── discover_media_filter_view.dart
│ │ │ ├── discover_media_grid.dart
│ │ │ ├── discover_media_simple_grid.dart
│ │ │ ├── discover_model.dart
│ │ │ ├── discover_provider.dart
│ │ │ ├── discover_recommendations_filter_sheet.dart
│ │ │ ├── discover_recommendations_grid.dart
│ │ │ ├── discover_top_bar.dart
│ │ │ └── discover_view.dart
│ │ ├── edit/
│ │ │ ├── edit_buttons.dart
│ │ │ ├── edit_model.dart
│ │ │ ├── edit_provider.dart
│ │ │ ├── edit_view.dart
│ │ │ └── score_field.dart
│ │ ├── favorites/
│ │ │ ├── favorites_model.dart
│ │ │ ├── favorites_provider.dart
│ │ │ └── favorites_view.dart
│ │ ├── feed/
│ │ │ ├── feed_floating_action.dart
│ │ │ └── feed_top_bar.dart
│ │ ├── forum/
│ │ │ ├── forum_filter_model.dart
│ │ │ ├── forum_filter_provider.dart
│ │ │ ├── forum_filter_view.dart
│ │ │ ├── forum_model.dart
│ │ │ ├── forum_provider.dart
│ │ │ ├── forum_view.dart
│ │ │ └── thread_item_list.dart
│ │ ├── home/
│ │ │ ├── home_model.dart
│ │ │ ├── home_provider.dart
│ │ │ └── home_view.dart
│ │ ├── media/
│ │ │ ├── media_activities_view.dart
│ │ │ ├── media_characters_view.dart
│ │ │ ├── media_floating_actions.dart
│ │ │ ├── media_following_view.dart
│ │ │ ├── media_header.dart
│ │ │ ├── media_item_grid.dart
│ │ │ ├── media_item_model.dart
│ │ │ ├── media_models.dart
│ │ │ ├── media_overview_view.dart
│ │ │ ├── media_provider.dart
│ │ │ ├── media_recommendations_view.dart
│ │ │ ├── media_related_view.dart
│ │ │ ├── media_reviews_view.dart
│ │ │ ├── media_route_tile.dart
│ │ │ ├── media_staff_view.dart
│ │ │ ├── media_stats_view.dart
│ │ │ ├── media_threads_view.dart
│ │ │ └── media_view.dart
│ │ ├── notification/
│ │ │ ├── notifications_filter_model.dart
│ │ │ ├── notifications_filter_provider.dart
│ │ │ ├── notifications_model.dart
│ │ │ ├── notifications_provider.dart
│ │ │ └── notifications_view.dart
│ │ ├── review/
│ │ │ ├── review_grid.dart
│ │ │ ├── review_header.dart
│ │ │ ├── review_models.dart
│ │ │ ├── review_provider.dart
│ │ │ ├── review_view.dart
│ │ │ ├── reviews_filter_provider.dart
│ │ │ ├── reviews_filter_sheet.dart
│ │ │ ├── reviews_provider.dart
│ │ │ └── reviews_view.dart
│ │ ├── settings/
│ │ │ ├── settings_about_view.dart
│ │ │ ├── settings_app_view.dart
│ │ │ ├── settings_content_view.dart
│ │ │ ├── settings_model.dart
│ │ │ ├── settings_notifications_view.dart
│ │ │ ├── settings_provider.dart
│ │ │ ├── settings_view.dart
│ │ │ └── theme_preview.dart
│ │ ├── social/
│ │ │ ├── social_model.dart
│ │ │ ├── social_provider.dart
│ │ │ └── social_view.dart
│ │ ├── staff/
│ │ │ ├── staff_characters_view.dart
│ │ │ ├── staff_filter_model.dart
│ │ │ ├── staff_filter_provider.dart
│ │ │ ├── staff_floating_actions.dart
│ │ │ ├── staff_header.dart
│ │ │ ├── staff_item_grid.dart
│ │ │ ├── staff_item_model.dart
│ │ │ ├── staff_model.dart
│ │ │ ├── staff_overview_view.dart
│ │ │ ├── staff_provider.dart
│ │ │ ├── staff_roles_view.dart
│ │ │ └── staff_view.dart
│ │ ├── statistics/
│ │ │ ├── charts.dart
│ │ │ ├── statistics_model.dart
│ │ │ └── statistics_view.dart
│ │ ├── studio/
│ │ │ ├── studio_filter_model.dart
│ │ │ ├── studio_filter_provider.dart
│ │ │ ├── studio_floating_actions.dart
│ │ │ ├── studio_header.dart
│ │ │ ├── studio_item_grid.dart
│ │ │ ├── studio_item_model.dart
│ │ │ ├── studio_model.dart
│ │ │ ├── studio_provider.dart
│ │ │ └── studio_view.dart
│ │ ├── tag/
│ │ │ ├── tag_model.dart
│ │ │ ├── tag_picker.dart
│ │ │ └── tag_provider.dart
│ │ ├── thread/
│ │ │ ├── thread_model.dart
│ │ │ ├── thread_provider.dart
│ │ │ └── thread_view.dart
│ │ ├── user/
│ │ │ ├── user_header.dart
│ │ │ ├── user_item_grid.dart
│ │ │ ├── user_item_model.dart
│ │ │ ├── user_model.dart
│ │ │ ├── user_providers.dart
│ │ │ └── user_view.dart
│ │ └── viewer/
│ │ ├── persistence_model.dart
│ │ ├── persistence_provider.dart
│ │ ├── repository_model.dart
│ │ └── repository_provider.dart
│ ├── main.dart
│ ├── util/
│ │ ├── background_handler.dart
│ │ ├── debounce.dart
│ │ ├── graphql.dart
│ │ ├── markdown.dart
│ │ ├── paged.dart
│ │ ├── paged_controller.dart
│ │ ├── routes.dart
│ │ ├── theming.dart
│ │ └── tile_modelable.dart
│ └── widget/
│ ├── cached_image.dart
│ ├── dialogs.dart
│ ├── grid/
│ │ ├── chip_grid.dart
│ │ ├── dual_relation_grid.dart
│ │ ├── mono_relation_grid.dart
│ │ └── sliver_grid_delegates.dart
│ ├── html_content.dart
│ ├── input/
│ │ ├── chip_selector.dart
│ │ ├── date_field.dart
│ │ ├── note_label.dart
│ │ ├── number_field.dart
│ │ ├── pill_selector.dart
│ │ ├── score_label.dart
│ │ ├── search_field.dart
│ │ ├── stateful_tiles.dart
│ │ └── year_range_picker.dart
│ ├── layout/
│ │ ├── adaptive_scaffold.dart
│ │ ├── constrained_view.dart
│ │ ├── content_header.dart
│ │ ├── dual_pane_with_tab_bar.dart
│ │ ├── hiding_floating_action_button.dart
│ │ ├── navigation_tool.dart
│ │ └── top_bar.dart
│ ├── loaders.dart
│ ├── paged_view.dart
│ ├── shadowed_overflow_list.dart
│ ├── sheets.dart
│ ├── shimmer.dart
│ ├── swipe_switcher.dart
│ ├── table_list.dart
│ ├── text_rail.dart
│ └── timestamp.dart
└── pubspec.yaml
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitattributes
================================================
# Auto detect text files and perform LF normalization
* text=auto
================================================
FILE: .gitignore
================================================
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.build/
.buildlog/
.history
.svn/
.swiftpm/
migrate_working_dir/
# IntelliJ related
*.iml
*.ipr
*.iws
.idea/
# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/
# Flutter/Dart/Pub related
**/doc/api/
**/ios/Flutter/.last_build_id
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.pub-cache/
.pub/
/build/
# Web related
lib/generated_plugin_registrant.dart
# Symbolication related
app.*.symbols
# Obfuscation related
app.*.map.json
# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release
================================================
FILE: .metadata
================================================
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled and should not be manually edited.
version:
revision: f7a6a7906be96d2288f5d63a5a54c515a6e987fe
channel: stable
project_type: app
================================================
FILE: .vscode/launch.json
================================================
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Dev Android",
"request": "launch",
"type": "dart",
"args": [
"--flavor",
"dev"
],
},
{
"name": "Dev IOS",
"request": "launch",
"type": "dart",
}
]
}
================================================
FILE: LICENSE
================================================
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
================================================
FILE: README.md
================================================
# Otraku
An unofficial AniList app.
<p align='center'>
<img src='https://user-images.githubusercontent.com/35681808/115051277-4fe46680-9ee5-11eb-9cf7-ac62529c4760.png' width='200'>
</p>
<p align='center'>
<a href='https://play.google.com/store/apps/details?id=com.otraku.app'>Google Play</a> • <a href='https://apt.izzysoft.de/fdroid/index/apk/com.otraku.app'>IzzyOnDroid (F-Droid)</a> • <a href='https://sites.google.com/view/otraku/privacy-policy'>Privacy Policy</a>
</p>
<p align='center'>
The iOS .ipa and the android .apk are bundled with each Github release.
</p>
<details><p align='center'>
<summary>Screenshots</summary>
<img width=18% src='https://github.com/lotusprey/otraku/assets/35681808/b6d04e69-e0ae-4b4d-b9bb-621b85b6f220'>
<img width=18% src='https://github.com/lotusprey/otraku/assets/35681808/62cf5d01-43cd-4aba-a292-1bf08e7500b6'>
<img width=18% src='https://github.com/lotusprey/otraku/assets/35681808/63e50f2e-30ca-4e36-8ed0-0d34048060b7'>
<img width=18% src='https://github.com/lotusprey/otraku/assets/35681808/692c6bf8-a5c0-41bf-8bc4-4ce16909550a'>
<img width=18% src='https://github.com/lotusprey/otraku/assets/35681808/a68aac0e-7f2a-4ae0-b0d5-d06d6f485f87'>
<img width=18% src='https://github.com/lotusprey/otraku/assets/35681808/40d47bfc-a0eb-43fa-be70-21aa8ae59122'>
<img width=18% src='https://github.com/lotusprey/otraku/assets/35681808/560d8261-a206-4403-87e3-2207bdbb1c23'>
<img width=18% src='https://github.com/lotusprey/otraku/assets/35681808/7fcfd048-80c2-472f-a833-548ea6b7fafe'>
<img width=18% src='https://github.com/lotusprey/otraku/assets/35681808/c8ab401e-1098-4e69-992b-1d6bc3513ddd'>
<img width=18% src='https://github.com/lotusprey/otraku/assets/35681808/5bcd8eff-2cd7-4f35-90a3-145156a83e2a'>
</p></details>
<details><summary>Building for android</summary>
1. Run `flutter build apk --split-per-abi`
2. Grab the apk release build file with your required ABI
</details>
<details><summary>Building for iOS</summary>
1. Run `flutter build ios --no-codesign`
2. Copy `./build/ios/iphoneos/Runner.app` into a `Payload` directory
3. Compress `Payload` and change extension to `.ipa`
</details>
================================================
FILE: analysis_options.yaml
================================================
include: package:flutter_lints/flutter.yaml
linter:
rules:
# Often unnecessary.
use_key_in_widget_constructors: false
# For closures.
prefer_function_declarations_over_variables: false
formatter:
page_width: 100
================================================
FILE: android/.gitignore
================================================
gradle-wrapper.jar
/.gradle
/captures/
/gradlew
/gradlew.bat
/keystore.jks
/keystore.properties
/local.properties
GeneratedPluginRegistrant.java
.cxx/
================================================
FILE: android/app/build.gradle.kts
================================================
import java.util.Properties
import java.io.FileInputStream
plugins {
id("com.android.application")
id("kotlin-android")
id("dev.flutter.flutter-gradle-plugin")
}
val keystoreProperties = Properties()
val keystorePropertiesFile = rootProject.file("keystore.properties")
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(FileInputStream(keystorePropertiesFile))
}
android {
namespace = "com.otraku.app"
compileSdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
// Desugaring is required by flutter_local_notifications.
isCoreLibraryDesugaringEnabled = true
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_17.toString()
}
defaultConfig {
applicationId = "com.otraku.app"
minSdk = flutter.minSdkVersion
targetSdk = flutter.targetSdkVersion
versionCode = flutter.versionCode
versionName = flutter.versionName
}
signingConfigs {
create("release") {
storeFile = file(rootDir.canonicalPath + "/" + keystoreProperties["releaseKeyStore"])
storePassword = keystoreProperties["releaseStorePassword"] as String
keyPassword = keystoreProperties["releaseKeyPassword"] as String
keyAlias = keystoreProperties["releaseKeyAlias"] as String
}
}
buildTypes {
release {
signingConfig = signingConfigs.getByName("release")
}
}
flavorDimensions += "default"
productFlavors {
create("dev") {
dimension = "default"
applicationIdSuffix = ".dev"
}
}
}
dependencies {
// Desugaring is required by flutter_local_notifications.
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.5")
}
flutter {
source = "../.."
}
================================================
FILE: android/app/src/debug/AndroidManifest.xml
================================================
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.otraku.app">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
================================================
FILE: android/app/src/dev/res/mipmap-anydpi-v26/ic_launcher.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
================================================
FILE: android/app/src/dev/res/values/colors.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#E3F2FF</color>
</resources>
================================================
FILE: android/app/src/dev/res/values/strings.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Otraku</string>
</resources>
================================================
FILE: android/app/src/main/AndroidManifest.xml
================================================
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.otraku.app">
<!-- Note: Set the allowBackup property to false, because it supposedly causes
exception "java.security.InvalidKeyException:Failed to unwrap key" -->
<!-- Note: Additionally the property fullBackupContent was configured with
the settings stored in "./res/xml/backup_rules.xml" -->
<!-- Internet. -->
<uses-permission android:name="android.permission.INTERNET" />
<!-- Url launcher. -->
<queries>
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="https" />
</intent>
</queries>
<application
android:allowBackup="false"
android:fullBackupContent="@xml/backup_rules"
android:name="${applicationName}"
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
<!-- Specifies an Android theme to apply to this Activity as soon as
the Android process has started. This theme is visible to the user
while the Flutter UI initializes. After that, this theme continues
to determine the Window background behind the Flutter UI. -->
<meta-data android:name="io.flutter.embedding.android.NormalTheme" android:resource="@style/NormalTheme" />
<!-- Displays an Android View that continues showing the launch screen
Drawable until Flutter paints its first frame, then this splash
screen fades out. A splash screen is useful to avoid any visual
gap between the end of Android's launch screen and the painting of
Flutter's first frame. -->
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<!-- Deep link for logging in. -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="app" />
<data android:host="otraku" android:pathPrefix="/auth" />
</intent-filter>
<!-- Deep links for AniList. -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https" />
<data android:host="anilist.co" android:pathPrefix="/anime/" />
<data android:host="anilist.co" android:pathPrefix="/manga/" />
<data android:host="anilist.co" android:pathPrefix="/character/" />
<data android:host="anilist.co" android:pathPrefix="/staff/" />
<data android:host="anilist.co" android:pathPrefix="/studio/" />
<data android:host="anilist.co" android:pathPrefix="/review/" />
<data android:host="anilist.co" android:pathPrefix="/user/" />
<data android:host="anilist.co" android:pathPrefix="/activity/" />
<data android:host="anilist.co" android:pathPrefix="/forum" />
</intent-filter>
</activity>
<meta-data android:name="flutterEmbedding" android:value="2" />
</application>
</manifest>
================================================
FILE: android/app/src/main/kotlin/com/example/otraku/MainActivity.kt
================================================
package com.otraku.app
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
================================================
FILE: android/app/src/main/res/drawable/launch_background.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<color android:color="@color/ic_launcher_background" />
</item>
<item>
<bitmap
android:gravity="center"
android:src="@drawable/ic_launcher_foreground" />
</item>
</layer-list>
================================================
FILE: android/app/src/main/res/drawable-v21/launch_background.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<color android:color="@color/ic_launcher_background" />
</item>
<item>
<bitmap
android:gravity="center"
android:src="@drawable/ic_launcher_foreground" />
</item>
</layer-list>
================================================
FILE: android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
<monochrome android:drawable="@mipmap/ic_launcher_monochrome" />
</adaptive-icon>
================================================
FILE: android/app/src/main/res/values/colors.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#ffffff</color>
</resources>
================================================
FILE: android/app/src/main/res/values/strings.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Otraku</string>
</resources>
================================================
FILE: android/app/src/main/res/values/styles.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Theme applied to the Android Window while the process is starting -->
<style name="LaunchTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Show a splash screen on the activity. Automatically removed when
Flutter draws its first frame -->
<item name="android:windowBackground">@drawable/launch_background</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:windowLightStatusBar">false</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
Flutter UI initializes, as well as behind your Flutter UI while its
running.
This Theme is only used starting with V2 of Flutter's Android embedding. -->
<style name="NormalTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="android:windowBackground">@drawable/launch_background</item>
</style>
</resources>
================================================
FILE: android/app/src/main/res/values-night/colors.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#0D161E</color>
</resources>
================================================
FILE: android/app/src/main/res/values-night/styles.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is on -->
<style name="LaunchTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Show a splash screen on the activity. Automatically removed when
Flutter draws its first frame -->
<item name="android:windowBackground">@drawable/launch_background</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:windowLightStatusBar">true</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
Flutter UI initializes, as well as behind your Flutter UI while its
running.
This Theme is only used starting with V2 of Flutter's Android embedding. -->
<style name="NormalTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="android:windowBackground">@drawable/launch_background</item>
</style>
</resources>
================================================
FILE: android/app/src/main/res/xml/backup_rules.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<full-backup-content>
<exclude domain="sharedpref" path="FlutterSecureStorage"/>
</full-backup-content>
================================================
FILE: android/app/src/profile/AndroidManifest.xml
================================================
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.otraku.app">
<!-- Note: Set the allowBackup property to false, because it supposedly causes
exception "java.security.InvalidKeyException:Failed to unwrap key" -->
<!-- Note: Additionally the property fullBackupContent was configured with
the settings stored in "./res/xml/backup_rules.xml" -->
<!-- Internet -->
<uses-permission android:name="android.permission.INTERNET" />
<!-- Url launcher -->
<queries>
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="https" />
</intent>
</queries>
<application
android:allowBackup="false"
android:fullBackupContent="@xml/backup_rules"
android:name="${applicationName}"
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
<!-- Specifies an Android theme to apply to this Activity as soon as
the Android process has started. This theme is visible to the user
while the Flutter UI initializes. After that, this theme continues
to determine the Window background behind the Flutter UI. -->
<meta-data android:name="io.flutter.embedding.android.NormalTheme" android:resource="@style/NormalTheme" />
<!-- Displays an Android View that continues showing the launch screen
Drawable until Flutter paints its first frame, then this splash
screen fades out. A splash screen is useful to avoid any visual
gap between the end of Android's launch screen and the painting of
Flutter's first frame. -->
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<meta-data android:name="flutterEmbedding" android:value="2" />
</application>
</manifest>
================================================
FILE: android/build.gradle.kts
================================================
allprojects {
repositories {
google()
mavenCentral()
}
}
val newBuildDir: Directory =
rootProject.layout.buildDirectory
.dir("../../build")
.get()
rootProject.layout.buildDirectory.value(newBuildDir)
subprojects {
val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name)
project.layout.buildDirectory.value(newSubprojectBuildDir)
}
subprojects {
project.evaluationDependsOn(":app")
}
tasks.register<Delete>("clean") {
delete(rootProject.layout.buildDirectory)
}
================================================
FILE: android/gradle/wrapper/gradle-wrapper.properties
================================================
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-all.zip
================================================
FILE: android/gradle.properties
================================================
org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m -XX:+HeapDumpOnOutOfMemoryError
android.useAndroidX=true
android.enableJetifier=true
================================================
FILE: android/settings.gradle.kts
================================================
pluginManagement {
val flutterSdkPath =
run {
val properties = java.util.Properties()
file("local.properties").inputStream().use { properties.load(it) }
val flutterSdkPath = properties.getProperty("flutter.sdk")
require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" }
flutterSdkPath
}
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}
plugins {
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
id("com.android.application") version "8.11.1" apply false
id("org.jetbrains.kotlin.android") version "2.2.20" apply false
}
include(":app")
================================================
FILE: fastlane/metadata/android/de/full_description.txt
================================================
<i>Otraku</i> möchte ein voll funktionsfähiger und anpassbarer Client für AniList sein, ohne Werbung. Die App ermöglicht das Betrachten und Bearbeiten Deiner Anime/Manga Listen, das Browses und Filtern von Medien, Interaktionen mit anderen Nutzern, und mehr!
<b>Aktuelle Funktionen:</b>
* Zeigen Sie Ihre Anime- und Manga-Listen an und bearbeiten Sie sie
* Erkunde Anime, Manga, Charaktere, Mitarbeiter, Studios, Benutzer und Rezensionen
* Folgende / globale Feeds anzeigen
* Gefällt mir Aktivitäten und Kommentare (Kommentieren wird noch nicht unterstützt)
* Wählen Sie verschiedene App-Themen
* Konfigurieren Sie einige AniList-Einstellungen
================================================
FILE: fastlane/metadata/android/de/short_description.txt
================================================
Inoffizieller AniList-Client für Anime- und Manga-Tracking
================================================
FILE: fastlane/metadata/android/en-US/changelogs/59.txt
================================================
- Added calendar in discover to view and filter new episode schedules
- Option for pure background in settings now not only makes dark backgrounds black, but also light backgrounds white
- Fixed lazy-loading in "Following" on the media page
- Other fixes and improvements
================================================
FILE: fastlane/metadata/android/en-US/changelogs/63.txt
================================================
- Collection searching goes through both titles and notes
- Activity replies have a "Reply" button for automatic mentions
- Tapping on markdown images opens them as a popup
- Tapping on user mentions is not handled as a link, but directly opens the user page
- Tapping on a ranking in a media's statistics page redirects to the discover tab with added filters
- Deep linking on android, if configured in settings
- List status on related media in media pages
- And other visual improvements and fixes
================================================
FILE: fastlane/metadata/android/en-US/changelogs/65.txt
================================================
- Added collection filters for public/private entries and for entries with/without notes
- Changed release year filter design
- In fields, you can long-tap the decrement/increment buttons to set the value to min/max
- Reduced minimum year in release year filter to 1917
- AniList settings are saved with a floating action button now
- Fixed collection refresh forgetting the selected list
- Fixed missing entries in collections and ignored name preferences
- Fixed settings not reflecting account switching
================================================
FILE: fastlane/metadata/android/en-US/changelogs/66.txt
================================================
- Added collection filters for public/private entries and for entries with/without notes
- Changed release year filter design
- In fields, you can long-tap the decrement/increment buttons to set the value to min/max
- Reduced minimum year in release year filter to 1917
- AniList settings are saved with a floating action button now
- Fixed collection refresh forgetting the selected list
- Fixed missing entries in collections, ignored name preferences and settings not reflecting account switching
================================================
FILE: fastlane/metadata/android/en-US/changelogs/69.txt
================================================
- AniList Markdown is supported almost fully
- AniList links in markdown text are opened within the app
- More markdown quick access buttons in the composition sheet
- Collection previews can be filtered like full collections
- User/Discover reviews can be filtered by media type
- You can long-press to copy a media description
- Redesigned media overview tab and other elements
- Fixed bugs around deep link opening
- Image popups are also cached
- Other fixes and improvements
================================================
FILE: fastlane/metadata/android/en-US/changelogs/72.txt
================================================
- If your filtered collections are empty, a button can redirect you to discover with copied filters
- Tag categories in the tag sheet are sorted alphabetically
- Separate synonym titles on media pages
- Reordered fields in the entry sheet and chapter/volume fields switch based on left-handed mode
- Added an indication on whether collection/discover filters are active
- Refreshable media/user pages
- Fixed emojis, some filter names, collection tiles
- Visual tweaks and slightly darker dark mode
================================================
FILE: fastlane/metadata/android/en-US/changelogs/73.txt
================================================
- Toggled activity/reply like buttons use the primary color
- Cleaner error messages for failed connection/requests that now appear as toasts
- Replaced "gradient" sheets for activity menus, discover type selection and the like with normal sheets (may still need polishing)
- Fixed collection sorting
- Fixed activity/reply like timeout message
- Fixed home tab switching
- Fixed user refresh retrying multiple times
================================================
FILE: fastlane/metadata/android/en-US/changelogs/77.txt
================================================
- Tablet support with better layout on wide screens
- New studio page design
- New recommendations design in the media page
- Activity/Reply like icons are different depending on whether the item is liked or not
- Toast messages were replaced by snackbars
- Overall design has been tweaked in many areas
- Fixed progress-incrementing button spamming
- Fixed language order when selecting voice actor language
- And more tweaks and fixes
================================================
FILE: fastlane/metadata/android/en-US/changelogs/80.txt
================================================
- In the filter sheets for collections and discover, you can set a custom default configuration
- Basic AniList interactions are now supported without logging in
- Easier account switching from the profile tab
- You can reorder favorites and easily unfavorite them
- Timestamps are now relative, but you can tap them for an absolute date
- When incrementing the episode count from 0 on an entry in some lists, a pop up will offer to also change the list status
================================================
FILE: fastlane/metadata/android/en-US/changelogs/82.txt
================================================
- Chips on the media page are now a grid, not a scrollable row
- Fixed the the favorites editing button appearing in others' favorites
- Fixed edge cases in entry saving/removing
- Fixed list statuses in media recommendations mixing up anime and manga
- Fixed notification timestamps taking too much space
- Shortened the snackbar timeout
================================================
FILE: fastlane/metadata/android/en-US/changelogs/83.txt
================================================
- In the collection filter sheets for both your anime and manga collection, you can explicitly set the preview collection sorting, separately from the one for the full collection. The exclusive airing sorting for anime collection preview toggle is removed from settings.
- Added a doujin filter in the discover filter sheet.
- While on the profile tab of the home screen, tapping the profile icon will scroll to top like before. But now it will also open settings, if you're already at the top.
================================================
FILE: fastlane/metadata/android/en-US/changelogs/84.txt
================================================
- Added forum page with thread filters
- Added thread pages with navigation, commenting, liking and subscribing (thread writing/editing is not yet done)
- Added a tab on media pages with related threads
- Added tabs with user's threads and comments on users' social pages
- Fixed bugs related to collections, advanced scores and home page search focusing
================================================
FILE: fastlane/metadata/android/en-US/changelogs/86.txt
================================================
- Added recommendations to discover.
- Improved the recommendations tab design in the media page.
- Replaced left-handed mode setting with a more general "button orientation" setting.
- Fixed some alignment issues in thread views.
- Fixed search bar freezing when fast-switching tabs.
Important: some people have been facing performance issues after the last update. I upgraded the app engine and I'm hoping that will resolve the regressions these people face, but I can't guarantee it.
================================================
FILE: fastlane/metadata/android/en-US/changelogs/87.txt
================================================
- Fix home page tab scrolling.
- Use new material page transition on Android.
================================================
FILE: fastlane/metadata/android/en-US/changelogs/89.txt
================================================
- Added activities to a tab in the media page, with the ability to filter them by people you follow.
- Added custom list management (reordering not supported yet).
- Improved advanced score section management.
- Activities, replies, notifications and reviews are outlined when the high contrast settings is enabled (more of this in the future).
- Image caching is disabled for markdown text (it bloats the cache).
================================================
FILE: fastlane/metadata/android/en-US/changelogs/92.txt
================================================
- Expanded collections now show and filter all lists at once, though you can still view individual lists.
- High contrast mode now affects all tiles in the UI.
- Text scaling is now unconstrained and tiles adjust size to accommodate the text.
================================================
FILE: fastlane/metadata/android/en-US/changelogs/94.txt
================================================
- Added: support for the new AniList notification types - this fixes the media and other parts of the app not loading.
- Added: "Self" option in the media activity filter.
- Improved: Bar charts in user/media statistics are not horizontal, more compact and more informative.
- Improved: Buttons on the user page are now a grid.
- Fixed: wrong status bar tint on older android versions.
- Fixed: layout issues with the text being cut off.
================================================
FILE: fastlane/metadata/android/en-US/full_description.txt
================================================
Otraku aims to support most AniList features and it already covers:
- Tracking media and managing/filtering collections
- Browsing/Filtering media/characters/staff/studios/users/reviews/recommendations
- Forum
- General/User activity feeds
- Composing messages
- Calendar for release schedules
- Customization with different themes and other options
And more!
================================================
FILE: fastlane/metadata/android/en-US/short_description.txt
================================================
An unofficial AniList client for Android and iOS
================================================
FILE: fastlane/metadata/android/en-US/title.txt
================================================
Otraku
================================================
FILE: flutter_launcher_icons-dev.yaml
================================================
flutter_icons:
ios: true
android: true
image_path: "assets/icons/ios.png"
adaptive_icon_background: "#E3F2FF"
adaptive_icon_foreground: "assets/icons/android.png"
================================================
FILE: ios/.gitignore
================================================
**/dgph
*.mode1v3
*.mode2v3
*.moved-aside
*.pbxuser
*.perspectivev3
**/*sync/
.sconsign.dblite
.tags*
**/.vagrant/
**/DerivedData/
Icon?
**/Pods/
**/.symlinks/
profile
xcuserdata
**/.generated/
Flutter/App.framework
Flutter/Flutter.framework
Flutter/Flutter.podspec
Flutter/Generated.xcconfig
Flutter/ephemeral/
Flutter/app.flx
Flutter/app.zip
Flutter/flutter_assets/
Flutter/flutter_export_environment.sh
ServiceDefinitions.json
Runner/GeneratedPluginRegistrant.*
# Exceptions to above rules.
!default.mode1v3
!default.mode2v3
!default.pbxuser
!default.perspectivev3
================================================
FILE: ios/Flutter/AppFrameworkInfo.plist
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>App</string>
<key>CFBundleIdentifier</key>
<string>io.flutter.flutter.app</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>App</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>MinimumOSVersion</key>
<string>13.0</string>
</dict>
</plist>
================================================
FILE: ios/Flutter/Debug.xcconfig
================================================
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include "Generated.xcconfig"
================================================
FILE: ios/Flutter/Profile.xcconfig
================================================
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include "Generated.xcconfig"
================================================
FILE: ios/Flutter/Release.xcconfig
================================================
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "Generated.xcconfig"
================================================
FILE: ios/Podfile
================================================
# Uncomment this line to define a global platform for your project
platform :ios, '18.0'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
}
def flutter_root
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
unless File.exist?(generated_xcode_build_settings_path)
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
end
File.foreach(generated_xcode_build_settings_path) do |line|
matches = line.match(/FLUTTER_ROOT\=(.*)/)
return matches[1].strip if matches
end
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
flutter_ios_podfile_setup
target 'Runner' do
use_frameworks!
use_modular_headers!
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
end
end
================================================
FILE: ios/Runner/AppDelegate.swift
================================================
import UIKit
import Flutter
@main
@objc class AppDelegate: FlutterAppDelegate, FlutterImplicitEngineDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
func didInitializeImplicitFlutterEngine(_ engineBridge: FlutterImplicitEngineBridge) {
GeneratedPluginRegistrant.register(with: engineBridge.pluginRegistry)
}
}
================================================
FILE: ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Contents.json
================================================
{"images":[{"size":"20x20","idiom":"iphone","filename":"AppIcon-dev-20x20@2x.png","scale":"2x"},{"size":"20x20","idiom":"iphone","filename":"AppIcon-dev-20x20@3x.png","scale":"3x"},{"size":"29x29","idiom":"iphone","filename":"AppIcon-dev-29x29@1x.png","scale":"1x"},{"size":"29x29","idiom":"iphone","filename":"AppIcon-dev-29x29@2x.png","scale":"2x"},{"size":"29x29","idiom":"iphone","filename":"AppIcon-dev-29x29@3x.png","scale":"3x"},{"size":"40x40","idiom":"iphone","filename":"AppIcon-dev-40x40@2x.png","scale":"2x"},{"size":"40x40","idiom":"iphone","filename":"AppIcon-dev-40x40@3x.png","scale":"3x"},{"size":"60x60","idiom":"iphone","filename":"AppIcon-dev-60x60@2x.png","scale":"2x"},{"size":"60x60","idiom":"iphone","filename":"AppIcon-dev-60x60@3x.png","scale":"3x"},{"size":"20x20","idiom":"ipad","filename":"AppIcon-dev-20x20@1x.png","scale":"1x"},{"size":"20x20","idiom":"ipad","filename":"AppIcon-dev-20x20@2x.png","scale":"2x"},{"size":"29x29","idiom":"ipad","filename":"AppIcon-dev-29x29@1x.png","scale":"1x"},{"size":"29x29","idiom":"ipad","filename":"AppIcon-dev-29x29@2x.png","scale":"2x"},{"size":"40x40","idiom":"ipad","filename":"AppIcon-dev-40x40@1x.png","scale":"1x"},{"size":"40x40","idiom":"ipad","filename":"AppIcon-dev-40x40@2x.png","scale":"2x"},{"size":"76x76","idiom":"ipad","filename":"AppIcon-dev-76x76@1x.png","scale":"1x"},{"size":"76x76","idiom":"ipad","filename":"AppIcon-dev-76x76@2x.png","scale":"2x"},{"size":"83.5x83.5","idiom":"ipad","filename":"AppIcon-dev-83.5x83.5@2x.png","scale":"2x"},{"size":"1024x1024","idiom":"ios-marketing","filename":"AppIcon-dev-1024x1024@1x.png","scale":"1x"}],"info":{"version":1,"author":"xcode"}}
================================================
FILE: ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
================================================
{
"images" : [
{
"size" : "20x20",
"idiom" : "iphone",
"filename" : "Icon-App-20x20@2x.png",
"scale" : "2x"
},
{
"size" : "20x20",
"idiom" : "iphone",
"filename" : "Icon-App-20x20@3x.png",
"scale" : "3x"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-App-29x29@1x.png",
"scale" : "1x"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-App-29x29@2x.png",
"scale" : "2x"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-App-29x29@3x.png",
"scale" : "3x"
},
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "Icon-App-40x40@2x.png",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "Icon-App-40x40@3x.png",
"scale" : "3x"
},
{
"size" : "60x60",
"idiom" : "iphone",
"filename" : "Icon-App-60x60@2x.png",
"scale" : "2x"
},
{
"size" : "60x60",
"idiom" : "iphone",
"filename" : "Icon-App-60x60@3x.png",
"scale" : "3x"
},
{
"size" : "20x20",
"idiom" : "ipad",
"filename" : "Icon-App-20x20@1x.png",
"scale" : "1x"
},
{
"size" : "20x20",
"idiom" : "ipad",
"filename" : "Icon-App-20x20@2x.png",
"scale" : "2x"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-App-29x29@1x.png",
"scale" : "1x"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-App-29x29@2x.png",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-App-40x40@1x.png",
"scale" : "1x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-App-40x40@2x.png",
"scale" : "2x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-App-76x76@1x.png",
"scale" : "1x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-App-76x76@2x.png",
"scale" : "2x"
},
{
"size" : "83.5x83.5",
"idiom" : "ipad",
"filename" : "Icon-App-83.5x83.5@2x.png",
"scale" : "2x"
},
{
"size" : "1024x1024",
"idiom" : "ios-marketing",
"filename" : "Icon-App-1024x1024@1x.png",
"scale" : "1x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
================================================
FILE: ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
================================================
{
"images" : [
{
"filename" : "splash_icon-2.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "splash_icon-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "splash_icon.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
================================================
# Launch Screen Assets
You can customize the launch screen with your own desired assets by replacing the image files in this directory.
You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
================================================
FILE: ios/Runner/Base.lproj/LaunchScreen.storyboard
================================================
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="18122" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="18093"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="EHf-IW-A2E">
<objects>
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="Ydg-fD-yQy"/>
<viewControllerLayoutGuide type="bottom" id="xbc-2k-c8Z"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" image="LaunchImage" translatesAutoresizingMaskIntoConstraints="NO" id="YRO-k0-Ey4">
<rect key="frame" x="165.5" y="406.5" width="83.5" height="83.5"/>
</imageView>
</subviews>
<color key="backgroundColor" red="0.058823529411764705" green="0.090196078431372548" blue="0.12156862745098039" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
<constraints>
<constraint firstItem="YRO-k0-Ey4" firstAttribute="centerX" secondItem="Ze5-6b-2t3" secondAttribute="centerX" id="1a2-6s-vTC"/>
<constraint firstItem="YRO-k0-Ey4" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="centerY" id="4X2-HB-R7a"/>
</constraints>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="76.811594202898561" y="251.11607142857142"/>
</scene>
</scenes>
<resources>
<image name="LaunchImage" width="83.5" height="83.5"/>
</resources>
</document>
================================================
FILE: ios/Runner/Base.lproj/Main.storyboard
================================================
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10117" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
</dependencies>
<scenes>
<!--Flutter View Controller-->
<scene sceneID="tne-QT-ifu">
<objects>
<viewController id="BYZ-38-t0r" customClass="FlutterViewController" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
<viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
</objects>
</scene>
</scenes>
</document>
================================================
FILE: ios/Runner/Info.plist
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>Otraku</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>otraku</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>$(FLUTTER_BUILD_NAME)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>https</string>
</array>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>otraku</string>
<key>CFBundleURLSchemes</key>
<array>
<string>app</string>
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIBackgroundModes</key>
<array>
<string>fetch</string>
<string>processing</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>UIApplicationSceneManifest</key>
<dict>
<key>UIApplicationSupportsMultipleScenes</key>
<false/>
<key>UISceneConfigurations</key>
<dict>
<key>UIWindowSceneSessionRoleApplication</key>
<array>
<dict>
<key>UISceneClassName</key>
<string>UIWindowScene</string>
<key>UISceneDelegateClassName</key>
<string>FlutterSceneDelegate</string>
<key>UISceneConfigurationName</key>
<string>flutter</string>
<key>UISceneStoryboardFile</key>
<string>Main</string>
</dict>
</array>
</dict>
</dict>
</dict>
</plist>
================================================
FILE: ios/Runner/Runner-Bridging-Header.h
================================================
#import "GeneratedPluginRegistrant.h"
================================================
FILE: ios/Runner.xcodeproj/project.pbxproj
================================================
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 54;
objects = {
/* Begin PBXBuildFile section */
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
86DA8A2D06E6B47DD9E398A8 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D7B8A4D25C8F2FF6456A7A6F /* Pods_Runner.framework */; };
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
/* End PBXBuildFile section */
/* Begin PBXCopyFilesBuildPhase section */
9705A1C41CF9048500538489 /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
2296DE72BA8BDC1D4CA61399 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
644309C1A146EDFAE2F149BD /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; };
9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; };
97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
C5A159429C34B5D065301B18 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
D7B8A4D25C8F2FF6456A7A6F /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
97C146EB1CF9000F007C117D /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
86DA8A2D06E6B47DD9E398A8 /* Pods_Runner.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
39FFA31997E18B17B73C8E11 /* Frameworks */ = {
isa = PBXGroup;
children = (
D7B8A4D25C8F2FF6456A7A6F /* Pods_Runner.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
7B3B2B22BC5AB865ADE1F85C /* Pods */ = {
isa = PBXGroup;
children = (
C5A159429C34B5D065301B18 /* Pods-Runner.debug.xcconfig */,
2296DE72BA8BDC1D4CA61399 /* Pods-Runner.release.xcconfig */,
644309C1A146EDFAE2F149BD /* Pods-Runner.profile.xcconfig */,
);
path = Pods;
sourceTree = "<group>";
};
9740EEB11CF90186004384FC /* Flutter */ = {
isa = PBXGroup;
children = (
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
9740EEB21CF90195004384FC /* Debug.xcconfig */,
7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
9740EEB31CF90195004384FC /* Generated.xcconfig */,
);
name = Flutter;
sourceTree = "<group>";
};
97C146E51CF9000F007C117D = {
isa = PBXGroup;
children = (
9740EEB11CF90186004384FC /* Flutter */,
97C146F01CF9000F007C117D /* Runner */,
97C146EF1CF9000F007C117D /* Products */,
7B3B2B22BC5AB865ADE1F85C /* Pods */,
39FFA31997E18B17B73C8E11 /* Frameworks */,
);
sourceTree = "<group>";
};
97C146EF1CF9000F007C117D /* Products */ = {
isa = PBXGroup;
children = (
97C146EE1CF9000F007C117D /* Runner.app */,
);
name = Products;
sourceTree = "<group>";
};
97C146F01CF9000F007C117D /* Runner */ = {
isa = PBXGroup;
children = (
97C146FA1CF9000F007C117D /* Main.storyboard */,
97C146FD1CF9000F007C117D /* Assets.xcassets */,
97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
97C147021CF9000F007C117D /* Info.plist */,
97C146F11CF9000F007C117D /* Supporting Files */,
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
);
path = Runner;
sourceTree = "<group>";
};
97C146F11CF9000F007C117D /* Supporting Files */ = {
isa = PBXGroup;
children = (
);
name = "Supporting Files";
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
97C146ED1CF9000F007C117D /* Runner */ = {
isa = PBXNativeTarget;
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
buildPhases = (
8B4083BA08B74BDD978A39C4 /* [CP] Check Pods Manifest.lock */,
9740EEB61CF901F6004384FC /* Run Script */,
97C146EA1CF9000F007C117D /* Sources */,
97C146EB1CF9000F007C117D /* Frameworks */,
97C146EC1CF9000F007C117D /* Resources */,
9705A1C41CF9048500538489 /* Embed Frameworks */,
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
88DF2E0B0C95DD5F1FAC1F3F /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
dependencies = (
);
name = Runner;
productName = Runner;
productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
97C146E61CF9000F007C117D /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1510;
ORGANIZATIONNAME = "";
TargetAttributes = {
97C146ED1CF9000F007C117D = {
CreatedOnToolsVersion = 7.3.1;
LastSwiftMigration = 1100;
};
};
};
buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
compatibilityVersion = "Xcode 13.0";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 97C146E51CF9000F007C117D;
productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
97C146ED1CF9000F007C117D /* Runner */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
97C146EC1CF9000F007C117D /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
);
name = "Thin Binary";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
};
88DF2E0B0C95DD5F1FAC1F3F /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
8B4083BA08B74BDD978A39C4 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
);
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
9740EEB61CF901F6004384FC /* Run Script */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Run Script";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
97C146EA1CF9000F007C117D /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXVariantGroup section */
97C146FA1CF9000F007C117D /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
97C146FB1CF9000F007C117D /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
97C147001CF9000F007C117D /* Base */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
249021D3217E4FDB00AE95B9 /* Profile */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
};
name = Profile;
};
249021D4217E4FDB00AE95B9 /* Profile */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = ZBL446JY27;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
INFOPLIST_FILE = Runner/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 26.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
PRODUCT_BUNDLE_IDENTIFIER = com.otraku.app;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
VERSIONING_SYSTEM = "apple-generic";
};
name = Profile;
};
97C147031CF9000F007C117D /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
97C147041CF9000F007C117D /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
};
name = Release;
};
97C147061CF9000F007C117D /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = ZBL446JY27;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
INFOPLIST_FILE = Runner/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 26.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
PRODUCT_BUNDLE_IDENTIFIER = com.otraku.app;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
VERSIONING_SYSTEM = "apple-generic";
};
name = Debug;
};
97C147071CF9000F007C117D /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = ZBL446JY27;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
INFOPLIST_FILE = Runner/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 26.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
PRODUCT_BUNDLE_IDENTIFIER = com.otraku.app;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
VERSIONING_SYSTEM = "apple-generic";
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
isa = XCConfigurationList;
buildConfigurations = (
97C147031CF9000F007C117D /* Debug */,
97C147041CF9000F007C117D /* Release */,
249021D3217E4FDB00AE95B9 /* Profile */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
isa = XCConfigurationList;
buildConfigurations = (
97C147061CF9000F007C117D /* Debug */,
97C147071CF9000F007C117D /* Release */,
249021D4217E4FDB00AE95B9 /* Profile */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 97C146E61CF9000F007C117D /* Project object */;
}
================================================
FILE: ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
================================================
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:">
</FileRef>
</Workspace>
================================================
FILE: ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
================================================
FILE: ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PreviewsEnabled</key>
<false/>
</dict>
</plist>
================================================
FILE: ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
================================================
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1510"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
BuildableName = "Runner.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
shouldUseLaunchSchemeArgsEnv = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
BuildableName = "Runner.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</MacroExpansion>
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
enableGPUValidationMode = "1"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
BuildableName = "Runner.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Profile"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
BuildableName = "Runner.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
================================================
FILE: ios/Runner.xcworkspace/contents.xcworkspacedata
================================================
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "group:Runner.xcodeproj">
</FileRef>
<FileRef
location = "group:Pods/Pods.xcodeproj">
</FileRef>
</Workspace>
================================================
FILE: ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
================================================
FILE: ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PreviewsEnabled</key>
<false/>
</dict>
</plist>
================================================
FILE: lib/extension/action_chip_extension.dart
================================================
import 'package:flutter/material.dart';
extension ActionChipExtension on ActionChip {
static final highContrast = (bool highContrast) =>
highContrast ? ActionChip.new : ActionChip.elevated;
}
================================================
FILE: lib/extension/build_context_extension.dart
================================================
import 'package:flutter/widgets.dart';
import 'package:go_router/go_router.dart';
import 'package:otraku/util/routes.dart';
import 'package:otraku/util/theming.dart';
extension BuildContextExtension on BuildContext {
void back() => canPop() ? pop() : go(Routes.home());
double lineHeight(TextStyle style) {
final scaler = MediaQuery.textScalerOf(this);
final scaled = scaler.scale(style.fontSize ?? Theming.fontMedium) * (style.height ?? 1);
return scaled.ceilToDouble();
}
}
================================================
FILE: lib/extension/card_extension.dart
================================================
import 'package:flutter/material.dart';
extension CardExtension on Card {
static final highContrast = (bool highContrast) => highContrast ? Card.outlined : Card.new;
}
================================================
FILE: lib/extension/color_extension.dart
================================================
import 'package:flutter/widgets.dart';
extension ColorExtension on Color {
static Color? fromHexString(String src) {
try {
return Color(int.parse(src.substring(1, 7), radix: 16) + 0xFF000000);
} catch (_) {
return null;
}
}
}
================================================
FILE: lib/extension/date_time_extension.dart
================================================
extension DateTimeExtension on DateTime {
int get secondsSinceEpoch => millisecondsSinceEpoch ~/ 1000;
static DateTime fromSecondsSinceEpoch(int seconds) =>
DateTime.fromMillisecondsSinceEpoch(seconds * 1000);
static DateTime? tryFromSecondsSinceEpoch(int? seconds) =>
seconds != null ? fromSecondsSinceEpoch(seconds) : null;
String formattedDateTimeFromSeconds(bool analogClock) =>
'${_weekdayName(weekday)}, $formattedDate, ${formattedTime(analogClock)}';
static DateTime? fromFuzzyDate(Map<String, dynamic>? map) {
if (map?['year'] == null) return null;
return DateTime(map!['year'], map['month'] ?? 1, map['day'] ?? 1);
}
static String? fuzzyDateString(Map<String, dynamic>? map) {
if (map == null || map['year'] == null) return null;
final year = map['year'];
final month = map['month'];
final day = map['day'];
return '${day != null ? '$day ' : ''}'
'${month != null ? '${monthName(month)} ' : ''}'
'$year';
}
Map<String, dynamic> get fuzzyDate => {'year': year, 'month': month, 'day': day};
String get formattedWithWeekDay => '$formattedDate - ${_weekdayName(weekday)}';
String get formattedDate => '$day ${monthName(month)} $year';
String formattedTime(bool analogClock) {
if (analogClock) {
final (overflows, realHour) = hour > 12 ? (true, hour - 12) : (false, hour);
return '${realHour < 10 ? 0 : ''}$realHour'
':${minute < 10 ? 0 : ''}$minute '
'${overflows ? 'PM' : 'AM'}';
}
return '${hour <= 9 ? 0 : ''}$hour'
':${minute <= 9 ? 0 : ''}$minute';
}
String get timeUntil {
int minutes = difference(DateTime.now()).inMinutes;
int hours = minutes ~/ 60;
minutes %= 60;
int days = hours ~/ 24;
hours %= 24;
return '${days < 1 ? "" : "${days}d "}'
'${hours < 1 ? "" : "${hours}h "}'
'${minutes < 1 ? "" : "${minutes}m"}';
}
static String monthName(int month) => switch (month) {
1 => 'Jan',
2 => 'Feb',
3 => 'Mar',
4 => 'Apr',
5 => 'May',
6 => 'Jun',
7 => 'Jul',
8 => 'Aug',
9 => 'Sep',
10 => 'Oct',
11 => 'Nov',
_ => 'Dec',
};
static String _weekdayName(int weekday) => switch (weekday) {
1 => 'Mon',
2 => 'Tue',
3 => 'Wed',
4 => 'Thu',
5 => 'Fri',
6 => 'Sat',
_ => 'Sun',
};
}
================================================
FILE: lib/extension/enum_extension.dart
================================================
extension EnumExtension<T extends Enum> on Iterable<T> {
T? getOrNull(int? index) {
if (index != null && index >= 0 && index < length) {
return elementAt(index);
}
return null;
}
T getOrFirst(int? index) {
if (index != null && index >= 0 && index < length) {
return elementAt(index);
}
return first;
}
}
================================================
FILE: lib/extension/filter_chip_extension.dart
================================================
import 'package:flutter/material.dart';
extension FilterChipExtension on FilterChip {
static final highContrast = (bool highContrast) =>
highContrast ? FilterChip.new : FilterChip.elevated;
}
================================================
FILE: lib/extension/future_extension.dart
================================================
extension FutureExtension on Future {
Future<Object?> getErrorOrNull() => then<Object?>((_) => null, onError: (e) => e);
}
================================================
FILE: lib/extension/iterable_extension.dart
================================================
extension IterableExtension<E> on Iterable<E> {
E? firstWhereOrNull(bool Function(E) test) {
for (E element in this) {
if (test(element)) return element;
}
return null;
}
}
================================================
FILE: lib/extension/scroll_controller_extension.dart
================================================
import 'package:flutter/widgets.dart';
extension ScrollControllerExtension on ScrollController {
/// Scroll to the top with an animation.
Future<void> scrollToTop() async {
if (!hasClients || positions.last.pixels <= 0) return;
if (positions.last.pixels > 100) positions.last.jumpTo(100);
await positions.last.animateTo(
0,
duration: const Duration(milliseconds: 200),
curve: Curves.decelerate,
);
}
}
================================================
FILE: lib/extension/snack_bar_extension.dart
================================================
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:url_launcher/url_launcher.dart';
extension SnackBarExtension on SnackBar {
static ScaffoldFeatureController<SnackBar, SnackBarClosedReason> show(
BuildContext context,
String text, {
bool canCopyText = false,
}) {
return ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
content: Text(text),
behavior: SnackBarBehavior.floating,
duration: const Duration(milliseconds: 2000),
persist: false,
action: canCopyText
? SnackBarAction(
label: 'Copy',
onPressed: () => Clipboard.setData(ClipboardData(text: text)),
)
: null,
),
);
}
/// Copy [text] to clipboard and notify with a snackbar.
static void copy(BuildContext context, String text) async {
await Clipboard.setData(ClipboardData(text: text));
if (context.mounted) show(context, 'Copied');
}
/// Launch [link] in the browser or show a snackbar if unsuccessful.
static Future<bool> launch(BuildContext context, String link) async {
try {
final ok = await launchUrl(
Uri.parse(link),
mode: link.startsWith("https://anilist.co")
? LaunchMode.inAppBrowserView
: LaunchMode.externalApplication,
);
if (ok) return true;
} catch (_) {}
if (context.mounted) show(context, 'Could not open link');
return false;
}
}
================================================
FILE: lib/extension/string_extension.dart
================================================
import 'package:otraku/extension/date_time_extension.dart';
extension StringExtension on String {
static String? languageToCode(String? language) => switch (language) {
'Japanese' => 'JP',
'Chinese' => 'CN',
'Korean' => 'KR',
'French' => 'FR',
'Spanish' => 'ES',
'Italian' => 'IT',
'Portuguese' => 'PT',
'German' => 'DE',
_ => null,
};
static String? tryNoScreamingSnakeCase(dynamic str) =>
str is String ? str.noScreamingSnakeCase : null;
static final _ampersand = '&'.codeUnitAt(0);
static final _hashtag = '#'.codeUnitAt(0);
static final _semicolon = ';'.codeUnitAt(0);
/// AniList can't handle some unicode characters, so before uploading text,
/// symbols that are too big should be represented as HTML character entity
/// references. Important primarily for emojis, hence the name.
String get withParsedEmojis {
final parsedRunes = <int>[];
for (final c in runes.toList()) {
if (c > 0xFFFF) {
parsedRunes.addAll([_ampersand, _hashtag, ...c.toString().codeUnits, _semicolon]);
} else {
parsedRunes.add(c);
}
}
return String.fromCharCodes(parsedRunes);
}
String get noScreamingSnakeCase => splitMapJoin(
'_',
onMatch: (_) => ' ',
onNonMatch: (s) => s[0].toUpperCase() + s.substring(1).toLowerCase(),
);
static String? fromFuzzyDate(Map<String, dynamic>? map) {
if (map?['year'] == null) return null;
final year = map!['year'];
final month = map['month'];
final day = map['day'];
return '${day != null ? '$day ' : ''}${month != null ? '${DateTimeExtension.monthName(month)} ' : ''}$year';
}
}
================================================
FILE: lib/feature/activity/activities_filter_model.dart
================================================
import 'package:otraku/extension/enum_extension.dart';
sealed class ActivitiesFilter {
const ActivitiesFilter();
ActivitiesFilter copy();
Map<String, dynamic> toGraphQlVariables();
}
class HomeActivitiesFilter extends ActivitiesFilter {
const HomeActivitiesFilter(
this.viewerId,
this.onFollowing,
this.withViewerActivities,
this.typeIn,
);
factory HomeActivitiesFilter.empty() =>
const HomeActivitiesFilter(null, false, false, [.animeStatus, .mangaStatus, .status]);
factory HomeActivitiesFilter.fromPersistenceMap(Map<dynamic, dynamic> map, int? viewerId) {
final List<int> typeIn =
map['activityTypeIn'] ??
[ActivityType.status.index, ActivityType.animeStatus.index, ActivityType.mangaStatus.index];
return HomeActivitiesFilter(
viewerId,
map['onFollowing'] ?? false,
map['withViewerActivities'] ?? false,
typeIn.map((index) => ActivityType.values.getOrFirst(index)).toList(),
);
}
final int? viewerId;
final bool onFollowing;
final bool withViewerActivities;
final List<ActivityType> typeIn;
@override
HomeActivitiesFilter copy() =>
HomeActivitiesFilter(viewerId, onFollowing, withViewerActivities, [...typeIn]);
HomeActivitiesFilter copyWith({
bool? onFollowing,
bool? withViewerActivities,
List<ActivityType>? typeIn,
}) => HomeActivitiesFilter(
viewerId,
onFollowing ?? this.onFollowing,
withViewerActivities ?? this.withViewerActivities,
typeIn ?? this.typeIn,
);
@override
Map<String, dynamic> toGraphQlVariables() => {
'isFollowing': onFollowing,
if (!onFollowing) 'hasRepliesOrText': true,
if (!withViewerActivities && viewerId != null) 'userIdNot': viewerId,
'typeIn': typeIn.map((t) => t.value).toList(),
};
Map<String, dynamic> toPersistenceMap() => {
'onFollowing': onFollowing,
'withViewerActivities': withViewerActivities,
'activityTypeIn': typeIn.map((a) => a.index).toList(),
};
}
class UserActivitiesFilter extends ActivitiesFilter {
const UserActivitiesFilter(this.userId, this.typeIn);
final int userId;
final List<ActivityType> typeIn;
@override
UserActivitiesFilter copy() => UserActivitiesFilter(userId, [...typeIn]);
UserActivitiesFilter copyWithTypeIn(List<ActivityType> typeIn) =>
UserActivitiesFilter(userId, typeIn);
@override
Map<String, dynamic> toGraphQlVariables() => {
'userId': userId,
'typeIn': typeIn.map((t) => t.value).toList(),
};
}
class MediaActivitiesFilter extends ActivitiesFilter {
const MediaActivitiesFilter(this.socialGroup, this.mediaId, this.viewerId);
factory MediaActivitiesFilter.empty() => const MediaActivitiesFilter(.global, 0, null);
final int mediaId;
final ActivitySocialGroup socialGroup;
final int? viewerId;
@override
MediaActivitiesFilter copy() => MediaActivitiesFilter(socialGroup, mediaId, viewerId);
MediaActivitiesFilter copyWith({
ActivitySocialGroup? socialGroup,
int? mediaId,
(int?,)? viewerId,
}) => MediaActivitiesFilter(
socialGroup ?? this.socialGroup,
mediaId ?? this.mediaId,
viewerId != null ? viewerId.$1 : this.viewerId,
);
@override
Map<String, dynamic> toGraphQlVariables() => {
'mediaId': mediaId,
...switch (socialGroup) {
.global => const {},
.followed => const {'isFollowing': true},
.self => viewerId != null ? {'userId': viewerId} : {'isFollowing': true},
},
};
Map<String, dynamic> toPersistenceMap() => {'socialGroup': socialGroup.index};
static MediaActivitiesFilter fromPersistence(
Map<dynamic, dynamic> map,
int mediaId,
int? viewerId,
) => MediaActivitiesFilter(
ActivitySocialGroup.values.getOrFirst(map['socialGroup']),
mediaId,
viewerId,
);
}
enum ActivityType {
status('Statuses', 'TEXT'),
animeStatus('Anime Progress', 'ANIME_LIST'),
mangaStatus('Manga Progress', 'MANGA_LIST'),
message('Messages', 'MESSAGE');
const ActivityType(this.label, this.value);
final String label;
final String value;
}
enum ActivitySocialGroup { global, followed, self }
================================================
FILE: lib/feature/activity/activities_filter_provider.dart
================================================
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:otraku/feature/activity/activities_filter_model.dart';
import 'package:otraku/feature/activity/activities_model.dart';
import 'package:otraku/feature/viewer/persistence_provider.dart';
final activitiesFilterProvider = NotifierProvider.autoDispose
.family<ActivitiesFilterNotifier, ActivitiesFilter, ActivitiesTag>(
ActivitiesFilterNotifier.new,
);
class ActivitiesFilterNotifier extends Notifier<ActivitiesFilter> {
ActivitiesFilterNotifier(this.arg);
final ActivitiesTag arg;
@override
ActivitiesFilter build() => switch (arg) {
HomeActivitiesTag _ => ref.watch(persistenceProvider.select((s) => s.homeActivitiesFilter)),
UserActivitiesTag(:final userId) => UserActivitiesFilter(userId, ActivityType.values),
MediaActivitiesTag(:final mediaId) =>
ref
.watch(persistenceProvider.select((s) => s.mediaActivitiesFilter))
.copyWith(mediaId: mediaId, viewerId: (ref.watch(viewerIdProvider),)),
};
@override
set state(ActivitiesFilter newState) {
if (state == newState) return;
switch (newState) {
case HomeActivitiesFilter homeActivitiesFilter:
ref.read(persistenceProvider.notifier).setHomeActivitiesFilter(homeActivitiesFilter);
case MediaActivitiesFilter mediaActivitiesFilter:
ref.read(persistenceProvider.notifier).setMediaActivitiesFilter(mediaActivitiesFilter);
case UserActivitiesFilter _:
super.state = newState;
}
}
}
================================================
FILE: lib/feature/activity/activities_model.dart
================================================
sealed class ActivitiesTag {
const ActivitiesTag();
String toQueryParam() => switch (this) {
HomeActivitiesTag() => 'home',
UserActivitiesTag(:final userId) => 'user:$userId',
MediaActivitiesTag(:final mediaId) => 'media:$mediaId',
};
static ActivitiesTag? fromQueryParam(String param) {
if (param == 'home') {
return HomeActivitiesTag.instance;
} else if (param.startsWith('user:')) {
final userId = int.tryParse(param.substring(5));
if (userId != null) {
return UserActivitiesTag(userId);
}
} else if (param.startsWith('media:')) {
final mediaId = int.tryParse(param.substring(6));
if (mediaId != null) {
return MediaActivitiesTag(mediaId);
}
}
return null;
}
}
class HomeActivitiesTag extends ActivitiesTag {
const HomeActivitiesTag._();
static const instance = HomeActivitiesTag._();
}
class UserActivitiesTag extends ActivitiesTag {
const UserActivitiesTag(this.userId);
final int userId;
@override
bool operator ==(Object other) => other is UserActivitiesTag && userId == other.userId;
@override
int get hashCode => userId.hashCode;
}
class MediaActivitiesTag extends ActivitiesTag {
const MediaActivitiesTag(this.mediaId);
final int mediaId;
@override
bool operator ==(Object other) => other is MediaActivitiesTag && mediaId == other.mediaId;
@override
int get hashCode => mediaId.hashCode;
}
================================================
FILE: lib/feature/activity/activities_provider.dart
================================================
import 'dart:async';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:otraku/extension/future_extension.dart';
import 'package:otraku/feature/activity/activities_filter_model.dart';
import 'package:otraku/feature/activity/activities_filter_provider.dart';
import 'package:otraku/feature/activity/activities_model.dart';
import 'package:otraku/feature/activity/activity_model.dart';
import 'package:otraku/feature/viewer/persistence_provider.dart';
import 'package:otraku/feature/viewer/repository_provider.dart';
import 'package:otraku/util/paged.dart';
import 'package:otraku/util/graphql.dart';
final activitiesProvider = AsyncNotifierProvider.autoDispose
.family<ActivitiesNotifier, Paged<Activity>, ActivitiesTag>(ActivitiesNotifier.new);
class ActivitiesNotifier extends AsyncNotifier<Paged<Activity>> {
ActivitiesNotifier(this.arg);
final ActivitiesTag arg;
int? _viewerId;
late ActivitiesFilter _filter;
// Used to skip activities when fetching outdated pages.
int? _lastId;
@override
FutureOr<Paged<Activity>> build() {
// The home feed and the media feeds are lazy-loaded. The home feed is never disposed,
// while the media feeds are disposed only when the media page is popped.
if (arg is HomeActivitiesTag || arg is MediaActivitiesTag) {
ref.keepAlive();
}
_lastId = null;
_filter = ref.watch(activitiesFilterProvider(arg));
_viewerId = ref.watch(viewerIdProvider);
return _fetch(const Paged());
}
Future<void> fetch() async {
final oldState = state.value ?? const Paged();
if (!oldState.hasNext) return;
state = await AsyncValue.guard(() => _fetch(oldState));
}
Future<Paged<Activity>> _fetch(Paged<Activity> oldState) async {
final data = await ref.read(repositoryProvider).request(GqlQuery.activityPage, {
'page': oldState.next,
..._filter.toGraphQlVariables(),
});
final imageQuality = ref.read(persistenceProvider).options.imageQuality;
final items = <Activity>[];
for (final a in data['Page']['activities']) {
if (_lastId != null && a['id'] >= _lastId) continue;
final item = Activity.maybe(a, _viewerId, imageQuality);
if (item != null) items.add(item);
}
if (data['Page']['activities'].isNotEmpty) {
_lastId = data['Page']['activities'].last['id'];
}
return oldState.withNext(items, data['Page']['pageInfo']['hasNextPage'] ?? false);
}
void prepend(Map<String, dynamic> map) {
final value = state.value;
if (value == null) return;
final activity = Activity.maybe(
map,
_viewerId,
ref.read(persistenceProvider).options.imageQuality,
);
if (activity == null) return;
state = AsyncValue.data(
Paged(items: [activity, ...value.items], hasNext: value.hasNext, next: value.next),
);
}
void replace(Activity activity) {
final value = state.value;
if (value == null) return;
for (int i = 0; i < value.items.length; i++) {
if (value.items[i].id == activity.id) {
value.items[i] = activity;
state = AsyncValue.data(
Paged(items: value.items, hasNext: value.hasNext, next: value.next),
);
return;
}
}
}
Future<Object?> toggleLike(Activity activity) async {
final err = await ref.read(repositoryProvider).request(GqlMutation.toggleLike, {
'id': activity.id,
'type': 'ACTIVITY',
}).getErrorOrNull();
if (err != null) return err;
replace(activity);
return null;
}
Future<Object?> toggleSubscription(Activity activity) async {
final err = await ref.read(repositoryProvider).request(GqlMutation.toggleActivitySubscription, {
'id': activity.id,
'subscribe': activity.isSubscribed,
}).getErrorOrNull();
if (err != null) return err;
replace(activity);
return null;
}
Future<Object?> togglePin(Activity activity) async {
final err = await ref.read(repositoryProvider).request(GqlMutation.toggleActivityPin, {
'id': activity.id,
'pinned': activity.isPinned,
}).getErrorOrNull();
if (err != null) return err;
final value = state.value;
if (value == null) return null;
for (int i = 0; i < value.items.length; i++) {
if (value.items[i].id == activity.id) {
// Unpin previously pinned activity.
if (value.items.length > 1) {
value.items[0].isPinned = false;
}
// Move newly pinned activity to the top.
for (int j = i - 1; j >= 0; j--) {
value.items[j + 1] = value.items[j];
}
value.items[0] = activity;
state = AsyncValue.data(
Paged(items: value.items, hasNext: value.hasNext, next: value.next),
);
break;
}
}
return null;
}
Future<Object?> remove(Activity activity) async {
final err = await ref.read(repositoryProvider).request(GqlMutation.deleteActivity, {
'id': activity.id,
}).getErrorOrNull();
if (err != null) return err;
final value = state.value;
if (value == null) return null;
for (int i = 0; i < value.items.length; i++) {
if (value.items[i].id == activity.id) {
value.items.removeAt(i);
state = AsyncValue.data(
Paged(items: value.items, hasNext: value.hasNext, next: value.next),
);
break;
}
}
return null;
}
}
================================================
FILE: lib/feature/activity/activities_view.dart
================================================
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:go_router/go_router.dart';
import 'package:ionicons/ionicons.dart';
import 'package:otraku/feature/activity/activities_model.dart';
import 'package:otraku/feature/viewer/persistence_provider.dart';
import 'package:otraku/util/routes.dart';
import 'package:otraku/feature/activity/activity_filter_sheet.dart';
import 'package:otraku/feature/activity/activities_provider.dart';
import 'package:otraku/feature/activity/activity_card.dart';
import 'package:otraku/feature/composition/composition_model.dart';
import 'package:otraku/feature/composition/composition_view.dart';
import 'package:otraku/feature/settings/settings_provider.dart';
import 'package:otraku/feature/activity/activity_model.dart';
import 'package:otraku/util/paged_controller.dart';
import 'package:otraku/widget/layout/adaptive_scaffold.dart';
import 'package:otraku/widget/layout/hiding_floating_action_button.dart';
import 'package:otraku/widget/layout/top_bar.dart';
import 'package:otraku/widget/sheets.dart';
import 'package:otraku/widget/paged_view.dart';
class ActivitiesView extends ConsumerStatefulWidget {
const ActivitiesView(this.tag);
final UserActivitiesTag tag;
@override
ConsumerState<ActivitiesView> createState() => _ActivitiesViewState();
}
class _ActivitiesViewState extends ConsumerState<ActivitiesView> {
late final _scrollCtrl = PagedController(
loadMore: () => ref.read(activitiesProvider(widget.tag).notifier).fetch(),
);
@override
void dispose() {
_scrollCtrl.dispose();
super.dispose();
}
@override
Widget build(BuildContext context) {
final viewerId = ref.watch(viewerIdProvider);
final userId = widget.tag.userId;
final floatingAction = viewerId != null
? HidingFloatingActionButton(
key: const Key('post'),
scrollCtrl: _scrollCtrl,
child: FloatingActionButton(
tooltip: userId == viewerId ? 'New Post' : 'New Message',
child: const Icon(Icons.edit_outlined),
onPressed: () => showSheet(
context,
CompositionView(
tag: userId == viewerId
? const StatusActivityCompositionTag(id: null)
: MessageActivityCompositionTag(id: null, recipientId: userId),
onSaved: (map) => ref.read(activitiesProvider(widget.tag).notifier).prepend(map),
),
),
),
)
: null;
return AdaptiveScaffold(
topBar: TopBar(
title: 'Activities',
trailing: [
IconButton(
tooltip: 'Filter',
icon: const Icon(Ionicons.funnel_outline),
onPressed: () => showActivityFilterSheet(context, ref, widget.tag),
),
],
),
floatingAction: floatingAction,
child: ActivitiesSubView(widget.tag, _scrollCtrl),
);
}
}
class ActivitiesSubView extends StatelessWidget {
const ActivitiesSubView(this.tag, this.scrollCtrl);
final ActivitiesTag tag;
final ScrollController scrollCtrl;
@override
Widget build(BuildContext context) {
return Consumer(
builder: (context, ref, _) {
final viewerId = ref.watch(viewerIdProvider);
final options = ref.watch(persistenceProvider.select((s) => s.options));
return PagedView<Activity>(
provider: activitiesProvider(
tag,
).select((s) => s.unwrapPrevious().whenData((data) => data)),
scrollCtrl: scrollCtrl,
onRefresh: (invalidate) {
invalidate(activitiesProvider(tag));
if (tag is HomeActivitiesTag) {
ref.read(settingsProvider.notifier).refetchUnread();
}
},
onData: (data) => SliverList(
delegate: SliverChildBuilderDelegate(
childCount: data.items.length,
(context, i) => ActivityCard(
withHeader: true,
analogClock: options.analogClock,
highContrast: options.highContrast,
activity: data.items[i],
footer: ActivityFooter(
viewerId: viewerId,
activity: data.items[i],
toggleLike: () =>
ref.read(activitiesProvider(tag).notifier).toggleLike(data.items[i]),
toggleSubscription: () =>
ref.read(activitiesProvider(tag).notifier).toggleSubscription(data.items[i]),
togglePin: () =>
ref.read(activitiesProvider(tag).notifier).togglePin(data.items[i]),
remove: () => ref.read(activitiesProvider(tag).notifier).remove(data.items[i]),
onEdited: (map) {
final activity = Activity.maybe(map, viewerId, options.imageQuality);
if (activity == null) return;
ref.read(activitiesProvider(tag).notifier).replace(activity);
},
reply: () => context.push(Routes.activity(data.items[i].id, tag)),
),
),
),
),
);
},
);
}
}
================================================
FILE: lib/feature/activity/activity_card.dart
================================================
import 'dart:math';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:go_router/go_router.dart';
import 'package:ionicons/ionicons.dart';
import 'package:otraku/extension/build_context_extension.dart';
import 'package:otraku/extension/card_extension.dart';
import 'package:otraku/extension/snack_bar_extension.dart';
import 'package:otraku/feature/activity/activity_model.dart';
import 'package:otraku/feature/composition/composition_model.dart';
import 'package:otraku/feature/composition/composition_view.dart';
import 'package:otraku/feature/media/media_route_tile.dart';
import 'package:otraku/util/routes.dart';
import 'package:otraku/util/theming.dart';
import 'package:otraku/widget/cached_image.dart';
import 'package:otraku/widget/html_content.dart';
import 'package:otraku/widget/dialogs.dart';
import 'package:otraku/widget/sheets.dart';
import 'package:otraku/widget/timestamp.dart';
class ActivityCard extends StatelessWidget {
const ActivityCard({
required this.activity,
required this.footer,
required this.withHeader,
required this.analogClock,
required this.highContrast,
});
final Activity activity;
final ActivityFooter footer;
final bool withHeader;
final bool analogClock;
final bool highContrast;
@override
Widget build(BuildContext context) {
final body = CardExtension.highContrast(highContrast)(
margin: const .only(bottom: Theming.offset),
child: Padding(
padding: const .only(top: Theming.offset, left: Theming.offset, right: Theming.offset),
child: Column(
children: [
if (activity is MediaActivity)
_ActivityMediaBox(activity as MediaActivity)
else
HtmlContent(activity.text),
Row(
mainAxisAlignment: .spaceBetween,
spacing: 5,
children: [
Flexible(child: Timestamp(activity.createdAt, analogClock)),
footer,
],
),
],
),
),
);
if (!withHeader) return body;
const avatarSize = 50.0;
return Column(
crossAxisAlignment: .start,
children: [
Row(
children: [
Flexible(
child: GestureDetector(
behavior: .opaque,
onTap: () => context.push(Routes.user(activity.authorId, activity.authorAvatarUrl)),
child: Row(
mainAxisSize: .min,
spacing: Theming.offset,
children: [
ClipRRect(
borderRadius: Theming.borderRadiusSmall,
child: CachedImage(
activity.authorAvatarUrl,
height: avatarSize,
width: avatarSize,
),
),
Flexible(child: Text(activity.authorName, overflow: .ellipsis, maxLines: 1)),
],
),
),
),
...switch (activity) {
MessageActivity message => [
if (message.isPrivate)
const Padding(
padding: .only(left: Theming.offset),
child: Icon(Ionicons.eye_off_outline),
),
const Padding(
padding: .symmetric(horizontal: Theming.offset),
child: Icon(Icons.arrow_right_alt),
),
GestureDetector(
behavior: .opaque,
onTap: () =>
context.push(Routes.user(message.recipientId, message.recipientAvatarUrl)),
child: ClipRRect(
borderRadius: Theming.borderRadiusSmall,
child: CachedImage(
message.recipientAvatarUrl,
height: avatarSize,
width: avatarSize,
),
),
),
],
_ when activity.isPinned => const [
Padding(
padding: .only(left: Theming.offset),
child: Icon(Icons.push_pin_outlined),
),
],
_ => const [],
},
],
),
const SizedBox(height: 5),
body,
],
);
}
}
class _ActivityMediaBox extends StatelessWidget {
const _ActivityMediaBox(this.item);
final MediaActivity item;
@override
Widget build(BuildContext context) {
final textTheme = TextTheme.of(context);
final bodyMediumLineHeight = context.lineHeight(textTheme.bodyMedium!);
final labelMediumLineHeight = context.lineHeight(textTheme.labelMedium!);
final height = bodyMediumLineHeight * 3 + labelMediumLineHeight + 5;
return MediaRouteTile(
id: item.mediaId,
imageUrl: item.coverUrl,
child: SizedBox(
height: height,
child: Row(
children: [
ClipRRect(
borderRadius: Theming.borderRadiusSmall,
child: CachedImage(item.coverUrl, width: height / Theming.coverHtoWRatio),
),
Expanded(
child: Padding(
padding: const .symmetric(horizontal: Theming.offset),
child: Column(
mainAxisAlignment: .spaceEvenly,
crossAxisAlignment: .start,
spacing: 5,
children: [
Text.rich(
TextSpan(
children: [
TextSpan(text: item.text, style: textTheme.labelMedium),
TextSpan(text: item.title, style: textTheme.bodyMedium),
],
),
overflow: .ellipsis,
maxLines: 3,
),
if (item.format != null)
Text(
item.format!,
style: textTheme.labelMedium,
overflow: .ellipsis,
maxLines: 1,
),
],
),
),
),
],
),
),
);
}
}
class ActivityFooter extends StatefulWidget {
const ActivityFooter({
required this.viewerId,
required this.activity,
required this.remove,
required this.togglePin,
required this.toggleLike,
required this.toggleSubscription,
required this.reply,
required this.onEdited,
});
final int? viewerId;
final Activity activity;
final Future<Object?> Function() remove;
final Future<Object?> Function() toggleLike;
final Future<Object?> Function() toggleSubscription;
final Future<Object?> Function() togglePin;
final Future<Object?> Function()? reply;
final void Function(Map<String, dynamic>)? onEdited;
@override
State<ActivityFooter> createState() => _ActivityFooterState();
}
class _ActivityFooterState extends State<ActivityFooter> {
@override
Widget build(BuildContext context) {
final activity = widget.activity;
return Row(
children: [
SizedBox(
height: 40,
child: Tooltip(
message: 'More',
child: InkResponse(
radius: Theming.radiusSmall.x,
onTap: _showMoreSheet,
child: const Icon(Ionicons.ellipsis_horizontal, size: Theming.iconSmall),
),
),
),
const SizedBox(width: Theming.offset),
SizedBox(
height: 40,
child: Tooltip(
message: 'Replies',
child: InkResponse(
radius: Theming.radiusSmall.x,
onTap: widget.reply,
child: Row(
children: [
Text(activity.replyCount.toString(), style: TextTheme.of(context).labelSmall),
const SizedBox(width: 5),
const Icon(Icons.reply_all_rounded, size: Theming.iconSmall),
],
),
),
),
),
const SizedBox(width: Theming.offset),
SizedBox(
height: 40,
child: Tooltip(
message: !activity.isLiked ? 'Like' : 'Unlike',
child: InkResponse(
radius: Theming.radiusSmall.x,
onTap: _toggleLike,
child: Row(
children: [
Text(
activity.likeCount.toString(),
style: !activity.isLiked
? TextTheme.of(context).labelSmall
: TextTheme.of(
context,
).labelSmall!.copyWith(color: ColorScheme.of(context).primary),
),
const SizedBox(width: 5),
Icon(
!widget.activity.isLiked
? Icons.favorite_outline_rounded
: Icons.favorite_rounded,
size: Theming.iconSmall,
color: activity.isLiked ? ColorScheme.of(context).primary : null,
),
],
),
),
),
),
],
);
}
/// Show a sheet with additional options.
void _showMoreSheet() {
final activity = widget.activity;
showSheet(
context,
Consumer(
builder: (context, ref, _) {
final ownershipButtons = <Widget>[];
if (activity.isOwned) {
if (activity is! MessageActivity) {
ownershipButtons.add(
ListTile(
title: activity.isPinned ? const Text('Unpin') : const Text('Pin'),
leading: activity.isPinned
? const Icon(Icons.push_pin)
: const Icon(Icons.push_pin_outlined),
onTap: _togglePin,
),
);
}
if (activity.authorId == widget.viewerId) {
switch (activity) {
case StatusActivity _:
ownershipButtons.add(
ListTile(
title: const Text('Edit'),
leading: const Icon(Icons.edit_outlined),
onTap: () => showSheet(
context,
CompositionView(
tag: StatusActivityCompositionTag(id: activity.id),
onSaved: (map) {
widget.onEdited?.call(map);
Navigator.pop(context);
},
),
),
),
);
case MessageActivity _:
ownershipButtons.add(
ListTile(
title: const Text('Edit'),
leading: const Icon(Icons.edit_outlined),
onTap: () => showSheet(
context,
CompositionView(
tag: MessageActivityCompositionTag(
id: activity.id,
recipientId: activity.recipientId,
),
onSaved: (map) {
widget.onEdited?.call(map);
Navigator.pop(context);
},
),
),
),
);
case MediaActivity _:
break;
}
}
ownershipButtons.add(
ListTile(
title: const Text('Delete'),
leading: const Icon(Ionicons.trash_outline),
onTap: () => ConfirmationDialog.show(
context,
title: 'Delete?',
primaryAction: 'Yes',
secondaryAction: 'No',
onConfirm: _remove,
),
),
);
}
return SimpleSheet.link(context, activity.siteUrl, [
...ownershipButtons,
ListTile(
title: !activity.isSubscribed ? const Text('Subscribe') : const Text('Unsubscribe'),
leading: !activity.isSubscribed
? const Icon(Ionicons.notifications_outline)
: const Icon(Ionicons.notifications_off_outline),
onTap: _toggleSubscription,
),
]);
},
),
);
}
void _toggleLike() async {
final activity = widget.activity;
final isLiked = activity.isLiked;
setState(() {
activity.isLiked = !isLiked;
activity.likeCount += isLiked ? -1 : 1;
});
final err = await widget.toggleLike();
if (err == null) return;
setState(() {
activity.isLiked = isLiked;
activity.likeCount += isLiked ? 1 : -1;
});
if (mounted) SnackBarExtension.show(context, err.toString());
}
void _toggleSubscription() {
final activity = widget.activity;
activity.isSubscribed = !activity.isSubscribed;
widget.toggleSubscription().then((err) {
if (err == null) {
if (mounted) Navigator.pop(context);
return;
}
activity.isSubscribed = !activity.isSubscribed;
if (mounted) {
SnackBarExtension.show(context, err.toString());
Navigator.pop(context);
}
});
}
void _togglePin() {
final activity = widget.activity;
activity.isPinned = !activity.isPinned;
widget.togglePin().then((err) {
if (err == null) {
if (mounted) Navigator.pop(context);
return;
}
activity.isPinned = !activity.isPinned;
if (mounted) {
SnackBarExtension.show(context, err.toString());
Navigator.pop(context);
}
});
}
void _remove() {
widget.remove().then((err) {
if (err == null) {
if (mounted) Navigator.pop(context);
return;
}
if (mounted) {
SnackBarExtension.show(context, err.toString());
Navigator.pop(context);
}
});
}
}
================================================
FILE: lib/feature/activity/activity_filter_sheet.dart
================================================
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:ionicons/ionicons.dart';
import 'package:otraku/feature/activity/activities_filter_model.dart';
import 'package:otraku/feature/activity/activities_model.dart';
import 'package:otraku/util/theming.dart';
import 'package:otraku/widget/sheets.dart';
import 'package:otraku/feature/activity/activities_filter_provider.dart';
void showActivityFilterSheet(BuildContext context, WidgetRef ref, ActivitiesTag tag) {
ActivitiesFilter filter = ref.read(activitiesFilterProvider(tag));
double initialHeight = Theming.normalTapTarget * ActivityType.values.length + Theming.offset;
if (filter is HomeActivitiesFilter) {
initialHeight += Theming.normalTapTarget * 2.5;
}
showSheet(
context,
SimpleSheet(
initialHeight: initialHeight,
builder: (context, scrollCtrl) =>
_FilterList(filter: filter, onChanged: (v) => filter = v, scrollCtrl: scrollCtrl),
),
).then((_) {
ref.read(activitiesFilterProvider(tag).notifier).state = filter;
});
}
class _FilterList extends StatefulWidget {
const _FilterList({required this.filter, required this.onChanged, required this.scrollCtrl});
final ActivitiesFilter filter;
final void Function(ActivitiesFilter) onChanged;
final ScrollController scrollCtrl;
@override
State<_FilterList> createState() => _FilterListState();
}
class _FilterListState extends State<_FilterList> {
late var _filter = widget.filter.copy();
@override
Widget build(BuildContext context) {
final typeIn = switch (_filter) {
HomeActivitiesFilter(:final typeIn) => typeIn,
UserActivitiesFilter(:final typeIn) => typeIn,
MediaActivitiesFilter _ => [],
};
return ListView(
controller: widget.scrollCtrl,
physics: Theming.bouncyPhysics,
padding: const .symmetric(vertical: Theming.offset),
children: [
for (final a in ActivityType.values)
CheckboxListTile(
title: Text(a.label),
value: typeIn.contains(a),
onChanged: (val) {
setState(() {
if (val == true) {
typeIn.add(a);
} else if (val == false) {
typeIn.remove(a);
}
});
widget.onChanged(_filter.copy());
},
),
...switch (_filter) {
UserActivitiesFilter _ || MediaActivitiesFilter _ => const [],
HomeActivitiesFilter filter => [
const Divider(),
CheckboxListTile(
title: const Text('My Activities'),
value: filter.withViewerActivities,
onChanged: (v) {
setState(() => _filter = filter.copyWith(withViewerActivities: v!));
widget.onChanged(_filter.copy());
},
),
Padding(
padding: const .only(
top: Theming.offset,
left: Theming.offset,
right: Theming.offset,
),
child: SegmentedButton(
segments: const [
ButtonSegment(
value: true,
label: Text('Following'),
icon: Icon(Ionicons.people_outline),
),
ButtonSegment(
value: false,
label: Text('Global'),
icon: Icon(Ionicons.planet_outline),
),
],
selected: {filter.onFollowing},
onSelectionChanged: (v) {
setState(() => _filter = filter.copyWith(onFollowing: v.first));
widget.onChanged(_filter.copy());
},
),
),
],
},
],
);
}
}
================================================
FILE: lib/feature/activity/activity_model.dart
================================================
import 'package:otraku/extension/date_time_extension.dart';
import 'package:otraku/extension/string_extension.dart';
import 'package:otraku/feature/viewer/persistence_model.dart';
import 'package:otraku/util/paged.dart';
import 'package:otraku/util/markdown.dart';
class ExpandedActivity {
ExpandedActivity(this.activity, this.replies);
final Activity activity;
final Paged<ActivityReply> replies;
}
sealed class Activity {
Activity({
required this.id,
required this.authorId,
required this.authorName,
required this.authorAvatarUrl,
required this.createdAt,
required this.text,
required this.siteUrl,
required this.isOwned,
required this.replyCount,
required this.likeCount,
required this.isLiked,
required this.isSubscribed,
required this.isPinned,
});
static Activity? maybe(Map<String, dynamic> map, int? viewerId, ImageQuality imageQuality) {
try {
switch (map['type']) {
case 'TEXT':
if (map['user'] == null) return null;
return StatusActivity(
id: map['id'],
authorId: map['user']['id'],
authorName: map['user']['name'],
authorAvatarUrl: map['user']['avatar']['large'],
siteUrl: map['siteUrl'],
text: parseMarkdown(map['text'] ?? ''),
createdAt: DateTimeExtension.fromSecondsSinceEpoch(map['createdAt']),
isOwned: map['user']['id'] == viewerId,
replyCount: map['replyCount'] ?? 0,
likeCount: map['likeCount'] ?? 0,
isLiked: map['isLiked'] ?? false,
isSubscribed: map['isSubscribed'] ?? false,
isPinned: map['isPinned'] ?? false,
);
case 'MESSAGE':
if (map['messenger'] == null || map['recipient'] == null) return null;
return MessageActivity(
id: map['id'],
authorId: map['messenger']['id'],
authorName: map['messenger']['name'],
authorAvatarUrl: map['messenger']['avatar']['large'],
recipientId: map['recipient']['id'],
recipientName: map['recipient']['name'],
recipientAvatarUrl: map['recipient']['avatar']['large'],
siteUrl: map['siteUrl'],
text: parseMarkdown(map['message'] ?? ''),
createdAt: DateTimeExtension.fromSecondsSinceEpoch(map['createdAt']),
isOwned: map['messenger']['id'] == viewerId || map['recipient']['id'] == viewerId,
isPrivate: map['isPrivate'] ?? false,
replyCount: map['replyCount'] ?? 0,
likeCount: map['likeCount'] ?? 0,
isLiked: map['isLiked'] ?? false,
isSubscribed: map['isSubscribed'] ?? false,
isPinned: false,
);
case 'ANIME_LIST':
case 'MANGA_LIST':
if (map['user'] == null || map['media'] == null) return null;
final progress = map['progress'] != null ? '${map['progress']} of ' : '';
final status =
(map['status'] as String)[0].toUpperCase() + (map['status'] as String).substring(1);
return MediaActivity(
id: map['id'],
authorId: map['user']['id'],
authorName: map['user']['name'],
authorAvatarUrl: map['user']['avatar']['large'],
mediaId: map['media']['id'],
title: map['media']['title']['userPreferred'],
coverUrl: map['media']['coverImage'][imageQuality.value],
format: StringExtension.tryNoScreamingSnakeCase(map['media']['format']),
isAnime: map['type'] == 'ANIME_LIST',
siteUrl: map['siteUrl'],
text: '$status $progress',
createdAt: DateTimeExtension.fromSecondsSinceEpoch(map['createdAt']),
isOwned: map['user']['id'] == viewerId,
replyCount: map['replyCount'] ?? 0,
likeCount: map['likeCount'] ?? 0,
isLiked: map['isLiked'] ?? false,
isSubscribed: map['isSubscribed'] ?? false,
isPinned: map['isPinned'] ?? false,
);
default:
return null;
}
} catch (_) {
return null;
}
}
final int id;
final int authorId;
final String authorName;
final String authorAvatarUrl;
final String text;
final String siteUrl;
final DateTime createdAt;
final bool isOwned;
int replyCount;
int likeCount;
bool isLiked;
bool isSubscribed;
bool isPinned;
}
class StatusActivity extends Activity {
StatusActivity({
required super.id,
required super.authorId,
required super.authorName,
required super.authorAvatarUrl,
required super.createdAt,
required super.text,
required super.siteUrl,
required super.isOwned,
required super.replyCount,
required super.likeCount,
required super.isLiked,
required super.isSubscribed,
required super.isPinned,
});
}
class MessageActivity extends Activity {
MessageActivity({
required super.id,
required super.authorId,
required super.authorName,
required super.authorAvatarUrl,
required super.createdAt,
required super.text,
required super.siteUrl,
required super.isOwned,
required super.replyCount,
required super.likeCount,
required super.isLiked,
required super.isSubscribed,
required super.isPinned,
required this.recipientId,
required this.recipientName,
required this.recipientAvatarUrl,
required this.isPrivate,
});
final int recipientId;
final String recipientName;
final String recipientAvatarUrl;
final bool isPrivate;
}
class MediaActivity extends Activity {
MediaActivity({
required super.id,
required super.authorId,
required super.authorName,
required super.authorAvatarUrl,
required super.createdAt,
required super.text,
required super.siteUrl,
required super.isOwned,
required super.replyCount,
required super.likeCount,
required super.isLiked,
required super.isSubscribed,
required super.isPinned,
required this.mediaId,
required this.title,
required this.coverUrl,
required this.isAnime,
required this.format,
});
final int mediaId;
final String title;
final String coverUrl;
final bool isAnime;
final String? format;
}
class ActivityReply {
ActivityReply._({
required this.id,
required this.authorId,
required this.authorName,
required this.authorAvatarUrl,
required this.text,
required this.createdAt,
this.likeCount = 0,
this.isLiked = false,
});
static ActivityReply? maybe(Map<String, dynamic> map) {
if (map['id'] == null || map['user']?['id'] == null) return null;
return ActivityReply._(
id: map['id'],
authorId: map['user']['id'],
authorName: map['user']['name'],
authorAvatarUrl: map['user']['avatar']['large'],
text: parseMarkdown(map['text'] ?? ''),
createdAt: DateTimeExtension.fromSecondsSinceEpoch(map['createdAt']),
likeCount: map['likeCount'] ?? 0,
isLiked: map['isLiked'] ?? false,
);
}
final int id;
final int authorId;
final String authorName;
final String authorAvatarUrl;
final String text;
final DateTime createdAt;
int likeCount;
bool isLiked;
}
================================================
FILE: lib/feature/activity/activity_provider.dart
================================================
import 'dart:async';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:otraku/extension/future_extension.dart';
import 'package:otraku/feature/activity/activity_model.dart';
import 'package:otraku/feature/viewer/persistence_provider.dart';
import 'package:otraku/feature/viewer/repository_provider.dart';
import 'package:otraku/util/graphql.dart';
import 'package:otraku/util/paged.dart';
final activityProvider = AsyncNotifierProvider.autoDispose
.family<ActivityNotifier, ExpandedActivity, int>(ActivityNotifier.new);
class ActivityNotifier extends AsyncNotifier<ExpandedActivity> {
ActivityNotifier(this.arg);
final int arg;
int? _viewerId;
@override
FutureOr<ExpandedActivity> build() async {
_viewerId = ref.watch(viewerIdProvider);
return await _fetch(null);
}
Future<void> fetch() async {
if (!(state.value?.replies.hasNext ?? true)) return;
state = await AsyncValue.guard(() => _fetch(state.value));
}
Future<ExpandedActivity> _fetch(ExpandedActivity? oldState) async {
final replies = oldState?.replies ?? const Paged();
final data = await ref.read(repositoryProvider).request(GqlQuery.activity, {
'id': arg,
'page': replies.next,
if (replies.next == 1) 'withActivity': true,
});
final items = <ActivityReply>[];
for (final r in data['Page']['activityReplies']) {
final item = ActivityReply.maybe(r);
if (item != null) items.add(item);
}
final activity =
oldState?.activity ??
Activity.maybe(
data['Activity'],
_viewerId,
ref.read(persistenceProvider).options.imageQuality,
);
if (activity == null) throw StateError('Could not parse activity');
return ExpandedActivity(
activity,
replies.withNext(items, data['Page']['pageInfo']['hasNextPage'] ?? false),
);
}
void replace(Activity activity) {
final value = state.value;
if (value == null) return;
state = AsyncValue.data(ExpandedActivity(activity, value.replies));
}
void appendReply(Map<String, dynamic> map) {
final value = state.value;
if (value == null) return;
final reply = ActivityReply.maybe(map);
if (reply == null) return;
value.activity.replyCount++;
state = AsyncValue.data(
ExpandedActivity(
value.activity,
Paged(
items: [...value.replies.items, reply],
hasNext: value.replies.hasNext,
next: value.replies.next,
),
),
);
}
void replaceReply(Map<String, dynamic> map) {
final value = state.value;
if (value == null) return;
final reply = ActivityReply.maybe(map);
if (reply == null) return;
for (int i = 0; i < value.replies.items.length; i++) {
if (value.replies.items[i].id == reply.id) {
value.replies.items[i] = reply;
state = AsyncValue.data(
ExpandedActivity(
value.activity,
Paged(
items: value.replies.items,
hasNext: value.replies.hasNext,
next: value.replies.next,
),
),
);
return;
}
}
}
Future<Object?> toggleLike() {
return ref.read(repositoryProvider).request(GqlMutation.toggleLike, {
'id': arg,
'type': 'ACTIVITY',
}).getErrorOrNull();
}
Future<Object?> toggleSubscription() {
final isSubscribed = state.value?.activity.isSubscribed;
if (isSubscribed == null) return Future.value();
return ref.read(repositoryProvider).request(GqlMutation.toggleActivitySubscription, {
'id': arg,
'subscribe': isSubscribed,
}).getErrorOrNull();
}
Future<Object?> togglePin() {
final isPinned = state.value?.activity.isPinned;
if (isPinned == null) return Future.value();
return ref.read(repositoryProvider).request(GqlMutation.toggleActivityPin, {
'id': arg,
'pinned': isPinned,
}).getErrorOrNull();
}
Future<Object?> toggleReplyLike(int replyId) {
return ref.read(repositoryProvider).request(GqlMutation.toggleLike, {
'id': replyId,
'type': 'ACTIVITY_REPLY',
}).getErrorOrNull();
}
Future<Object?> remove() {
return ref.read(repositoryProvider).request(GqlMutation.deleteActivity, {
'id': arg,
}).getErrorOrNull();
}
Future<Object?> removeReply(int replyId) async {
final value = state.value;
if (value == null) return Future.value();
final err = await ref.read(repositoryProvider).request(GqlMutation.deleteActivityReply, {
'id': replyId,
}).getErrorOrNull();
if (err != null) return err;
for (int i = 0; i < value.replies.items.length; i++) {
if (value.replies.items[i].id == replyId) {
value.replies.items.removeAt(i);
value.activity.replyCount--;
state = AsyncValue.data(
ExpandedActivity(
value.activity,
Paged(
items: value.replies.items,
hasNext: value.replies.hasNext,
next: value.replies.next,
),
),
);
break;
}
}
return null;
}
}
================================================
FILE: lib/feature/activity/activity_view.dart
================================================
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:go_router/go_router.dart';
import 'package:ionicons/ionicons.dart';
import 'package:otraku/feature/activity/activities_model.dart';
import 'package:otraku/feature/viewer/persistence_provider.dart';
import 'package:otraku/util/routes.dart';
import 'package:otraku/util/theming.dart';
import 'package:otraku/extension/snack_bar_extension.dart';
import 'package:otraku/widget/layout/adaptive_scaffold.dart';
import 'package:otraku/widget/layout/constrained_view.dart';
import 'package:otraku/feature/activity/activities_provider.dart';
import 'package:otraku/feature/activity/activity_model.dart';
import 'package:otraku/feature/activity/activity_provider.dart';
import 'package:otraku/feature/activity/activity_card.dart';
import 'package:otraku/feature/activity/reply_card.dart';
import 'package:otraku/feature/composition/composition_model.dart';
import 'package:otraku/feature/composition/composition_view.dart';
import 'package:otraku/util/paged_controller.dart';
import 'package:otraku/widget/layout/hiding_floating_action_button.dart';
import 'package:otraku/widget/layout/top_bar.dart';
import 'package:otraku/widget/cached_image.dart';
import 'package:otraku/widget/loaders.dart';
import 'package:otraku/widget/sheets.dart';
class ActivityView extends ConsumerStatefulWidget {
const ActivityView(this.id, this.sourceTag);
final int id;
final ActivitiesTag? sourceTag;
@override
ConsumerState<ActivityView> createState() => _ActivityViewState();
}
class _ActivityViewState extends ConsumerState<ActivityView> {
late final _scrollCtrl = PagedController(
loadMore: () => ref.read(activityProvider(widget.id).notifier).fetch(),
);
@override
void dispose() {
_scrollCtrl.dispose();
super.dispose();
}
@override
Widget build(BuildContext context) {
final activity = ref.watch(activityProvider(widget.id).select((s) => s.value?.activity));
return AdaptiveScaffold(
topBar: TopBar(trailing: [if (activity != null) _TopBarContent(activity)]),
floatingAction: HidingFloatingActionButton(
key: const Key('Reply'),
scrollCtrl: _scrollCtrl,
child: FloatingActionButton(
tooltip: 'New Reply',
child: const Icon(Icons.edit_outlined),
onPressed: () => showSheet(
context,
CompositionView(
tag: ActivityReplyCompositionTag(id: null, activityId: widget.id),
onSaved: (map) => ref.read(activityProvider(widget.id).notifier).appendReply(map),
),
),
),
),
child: _View(id: widget.id, sourceTag: widget.sourceTag, scrollCtrl: _scrollCtrl),
);
}
}
class _TopBarContent extends StatelessWidget {
const _TopBarContent(this.activity);
final Activity activity;
@override
Widget build(BuildContext context) {
return Expanded(
child: Row(
children: [
Flexible(
child: GestureDetector(
behavior: .opaque,
onTap: () => context.push(Routes.user(activity.authorId, activity.authorAvatarUrl)),
child: Row(
mainAxisSize: .min,
children: [
Hero(
tag: activity.authorId,
child: ClipRRect(
borderRadius: Theming.borderRadiusSmall,
child: CachedImage(activity.authorAvatarUrl, height: 40, width: 40),
),
),
const SizedBox(width: Theming.offset),
Flexible(child: Text(activity.authorName, overflow: .ellipsis, maxLines: 1)),
],
),
),
),
...switch (activity) {
MessageActivity message => [
if (message.isPrivate)
const Padding(
padding: .only(left: Theming.offset),
child: Icon(Ionicons.eye_off_outline),
),
const Padding(
padding: .symmetric(horizontal: Theming.offset),
child: Icon(Icons.arrow_right_alt),
),
GestureDetector(
behavior: .opaque,
onTap: () =>
context.push(Routes.user(message.recipientId, message.recipientAvatarUrl)),
child: ClipRRect(
borderRadius: Theming.borderRadiusSmall,
child: CachedImage(message.recipientAvatarUrl, height: 40, width: 40),
),
),
],
_ when activity.isPinned => const [
Padding(
padding: .only(left: Theming.offset),
child: Icon(Icons.push_pin_outlined),
),
],
_ => const [],
},
],
),
);
}
}
class _View extends ConsumerWidget {
const _View({required this.id, required this.sourceTag, required this.scrollCtrl});
final int id;
final ActivitiesTag? sourceTag;
final PagedController scrollCtrl;
@override
Widget build(BuildContext context, WidgetRef ref) {
ref.listen<AsyncValue>(
activityProvider(id),
(_, s) =>
s.whenOrNull(error: (error, _) => SnackBarExtension.show(context, error.toString())),
);
final viewerId = ref.watch(viewerIdProvider);
final options = ref.watch(persistenceProvider.select((s) => s.options));
return ref
.watch(activityProvider(id))
.unwrapPrevious()
.when(
loading: () => const Center(child: Loader()),
error: (_, _) => const Center(child: Text('Failed to load activity')),
data: (data) {
return ConstrainedView(
child: CustomScrollView(
physics: Theming.bouncyPhysics,
controller: scrollCtrl,
slivers: [
SliverRefreshControl(onRefresh: () => ref.invalidate(activityProvider(id))),
SliverToBoxAdapter(
child: ActivityCard(
withHeader: false,
analogClock: options.analogClock,
highContrast: options.highContrast,
activity: data.activity,
footer: ActivityFooter(
viewerId: viewerId,
activity: data.activity,
toggleLike: () => _toggleLike(ref, data.activity),
toggleSubscription: () => _toggleSubscription(ref, data.activity),
togglePin: () => _togglePin(ref, data.activity),
remove: () => _remove(context, ref, data.activity),
onEdited: (map) => _onEdited(ref, map),
reply: () => _reply(context, ref, data.activity),
),
),
),
SliverList(
delegate: SliverChildBuilderDelegate(
childCount: data.replies.items.length,
(context, i) => ReplyCard(
activityId: id,
analogClock: options.analogClock,
highContrast: options.highContrast,
reply: data.replies.items[i],
toggleLike: () => ref
.read(activityProvider(id).notifier)
.toggleReplyLike(data.replies.items[i].id),
),
),
),
SliverFooter(loading: data.replies.hasNext),
],
),
);
},
);
}
Future<Object?> _toggleLike(WidgetRef ref, Activity activity) {
if (sourceTag != null) {
return ref.read(activitiesProvider(sourceTag!).notifier).toggleLike(activity);
}
return ref.read(activityProvider(id).notifier).toggleLike();
}
Future<Object?> _toggleSubscription(WidgetRef ref, Activity activity) {
if (sourceTag != null) {
return ref.read(activitiesProvider(sourceTag!).notifier).toggleSubscription(activity);
}
return ref.read(activityProvider(id).notifier).toggleSubscription();
}
Future<Object?> _togglePin(WidgetRef ref, Activity activity) {
if (sourceTag != null) {
return ref.read(activitiesProvider(sourceTag!).notifier).togglePin(activity);
}
return ref.read(activityProvider(id).notifier).togglePin();
}
Future<Object?> _remove(BuildContext context, WidgetRef ref, Activity activity) {
Navigator.pop(context);
if (sourceTag != null) {
return ref.read(activitiesProvider(sourceTag!).notifier).remove(activity);
}
return ref.read(activityProvider(id).notifier).remove();
}
void _onEdited(WidgetRef ref, Map<String, dynamic> map) {
final persistence = ref.read(persistenceProvider);
final activity = Activity.maybe(
map,
persistence.accountGroup.account?.id,
persistence.options.imageQuality,
);
if (activity == null) return;
ref.read(activityProvider(id).notifier).replace(activity);
if (sourceTag != null) {
ref.read(activitiesProvider(sourceTag!).notifier).replace(activity);
}
}
Future<void> _reply(BuildContext context, WidgetRef ref, Activity activity) {
return showSheet(
context,
CompositionView(
defaultText: '@${activity.authorName} ',
tag: ActivityReplyCompositionTag(id: null, activityId: id),
onSaved: (map) => ref.read(activityProvider(id).notifier).appendReply(map),
),
);
}
}
================================================
FILE: lib/feature/activity/reply_card.dart
================================================
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:go_router/go_router.dart';
import 'package:ionicons/ionicons.dart';
import 'package:otraku/extension/card_extension.dart';
import 'package:otraku/feature/activity/activity_model.dart';
import 'package:otraku/feature/activity/activity_provider.dart';
import 'package:otraku/feature/composition/composition_model.dart';
import 'package:otraku/feature/composition/composition_view.dart';
import 'package:otraku/feature/viewer/persistence_provider.dart';
import 'package:otraku/util/routes.dart';
import 'package:otraku/util/theming.dart';
import 'package:otraku/extension/snack_bar_extension.dart';
import 'package:otraku/widget/cached_image.dart';
import 'package:otraku/widget/html_content.dart';
import 'package:otraku/widget/dialogs.dart';
import 'package:otraku/widget/sheets.dart';
import 'package:otraku/widget/timestamp.dart';
class ReplyCard extends StatelessWidget {
const ReplyCard({
required this.activityId,
required this.reply,
required this.analogClock,
required this.highContrast,
required this.toggleLike,
});
final int activityId;
final ActivityReply reply;
final bool analogClock;
final bool highContrast;
final Future<Object?> Function() toggleLike;
@override
Widget build(BuildContext context) {
const avatarSize = 50.0;
return Column(
mainAxisSize: .min,
crossAxisAlignment: .start,
spacing: 5,
children: [
GestureDetector(
behavior: .opaque,
onTap: () => context.push(Routes.user(reply.authorId, reply.authorAvatarUrl)),
child: Row(
mainAxisSize: .min,
spacing: Theming.offset,
children: [
ClipRRect(
borderRadius: Theming.borderRadiusSmall,
child: CachedImage(reply.authorAvatarUrl, height: avatarSize, width: avatarSize),
),
Flexible(child: Text(reply.authorName, overflow: .ellipsis, maxLines: 1)),
],
),
),
CardExtension.highContrast(highContrast)(
margin: const .only(bottom: Theming.offset),
child: Padding(
padding: const .only(top: Theming.offset, left: Theming.offset, right: Theming.offset),
child: Column(
mainAxisSize: .min,
children: [
UnconstrainedBox(
constrainedAxis: Axis.horizontal,
alignment: Alignment.topLeft,
child: HtmlContent(reply.text),
),
Row(
mainAxisAlignment: .spaceBetween,
spacing: 5,
children: [
Expanded(child: Timestamp(reply.createdAt, analogClock)),
Consumer(
builder: (context, ref, _) => SizedBox(
height: 40,
child: reply.authorId == ref.watch(viewerIdProvider)
? Tooltip(
message: 'More',
child: InkResponse(
radius: Theming.radiusSmall.x,
onTap: () => _showMoreSheet(context, ref),
child: const Icon(
Ionicons.ellipsis_horizontal,
size: Theming.iconSmall,
),
),
)
: _ReplyMentionButton(ref, activityId, reply.authorName),
),
),
_ReplyLikeButton(reply: reply, toggleLike: toggleLike),
],
),
],
),
),
),
],
);
}
/// Show a sheet with additional options.
void _showMoreSheet(BuildContext context, WidgetRef ref) {
showSheet(
context,
SimpleSheet.list([
ListTile(
title: const Text('Edit'),
leading: const Icon(Icons.edit_outlined),
onTap: () => showSheet(
context,
CompositionView(
tag: ActivityReplyCompositionTag(id: reply.id, activityId: activityId),
onSaved: (map) {
ref.read(activityProvider(activityId).notifier).replaceReply(map);
Navigator.pop(context);
},
),
),
),
ListTile(
title: const Text('Delete'),
leading: const Icon(Ionicons.trash_outline),
onTap: () => ConfirmationDialog.show(
context,
title: 'Delete?',
primaryAction: 'Yes',
secondaryAction: 'No',
onConfirm: () async {
final err = await ref
.read(activityProvider(activityId).notifier)
.removeReply(reply.id);
if (err == null) {
if (context.mounted) Navigator.pop(context);
return;
}
if (context.mounted) {
SnackBarExtension.show(context, err.toString());
Navigator.pop(context);
}
},
),
),
]),
);
}
}
class _ReplyMentionButton extends StatelessWidget {
const _ReplyMentionButton(this.ref, this.activityId, this.username);
final WidgetRef ref;
final int activityId;
final String username;
@override
Widget build(BuildContext context) {
return SizedBox(
height: 40,
child: Tooltip(
message: 'Reply',
child: InkResponse(
radius: Theming.radiusSmall.x,
onTap: () => showSheet(
context,
CompositionView(
defaultText: '@$username ',
tag: ActivityReplyCompositionTag(id: null, activityId: activityId),
onSaved: (map) => ref.read(activityProvider(activityId).notifier).appendReply(map),
),
),
child: const Icon(Icons.reply_rounded, size: Theming.iconSmall),
),
),
);
}
}
class _ReplyLikeButton extends StatefulWidget {
const _ReplyLikeButton({required this.reply, required this.toggleLike});
final ActivityReply reply;
final Future<Object?> Function() toggleLike;
@override
_ReplyLikeButtonState createState() => _ReplyLikeButtonState();
}
class _ReplyLikeButtonState extends State<_ReplyLikeButton> {
@override
Widget build(BuildContext context) {
return SizedBox(
height: 40,
child: Tooltip(
message: !widget.reply.isLiked ? 'Like' : 'Unlike',
child: InkResponse(
radius: Theming.radiusSmall.x,
onTap: _toggleLike,
child: Row(
children: [
Text(
widget.reply.likeCount.toString(),
style: !widget.reply.isLiked
? TextTheme.of(context).labelSmall
: TextTheme.of(
context,
).labelSmall!.copyWith(color: ColorScheme.of(context).primary),
),
const SizedBox(width: 5),
Icon(
!widget.reply.isLiked ? Icons.favorite_outline_rounded : Icons.favorite_rounded,
size: Theming.iconSmall,
color: widget.reply.isLiked ? ColorScheme.of(context).primary : null,
),
],
),
),
),
);
}
void _toggleLike() async {
final reply = widget.reply;
final isLiked = reply.isLiked;
setState(() {
reply.isLiked = !isLiked;
reply.likeCount += isLiked ? -1 : 1;
});
final err = await widget.toggleLike();
if (err == null) return;
setState(() {
reply.isLiked = isLiked;
reply.likeCount += isLiked ? 1 : -1;
});
if (mounted) SnackBarExtension.show(context, err.toString());
}
}
================================================
FILE: lib/feature/calendar/calendar_filter_provider.dart
================================================
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:otraku/feature/viewer/persistence_provider.dart';
import 'package:otraku/feature/calendar/calendar_models.dart';
final calendarFilterProvider = NotifierProvider.autoDispose<CalendarFilterNotifier, CalendarFilter>(
CalendarFilterNotifier.new,
);
class CalendarFilterNotifier extends Notifier<CalendarFilter> {
@override
CalendarFilter build() => ref.watch(persistenceProvider.select((s) => s.calendarFilter));
@override
set state(CalendarFilter newState) {
ref.read(persistenceProvider.notifier).setCalendarFilter(newState);
}
}
================================================
FILE: lib/feature/calendar/calendar_filter_sheet.dart
================================================
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:otraku/feature/viewer/persistence_provider.dart';
import 'package:otraku/util/theming.dart';
import 'package:otraku/widget/sheets.dart';
import 'package:otraku/feature/calendar/calendar_filter_provider.dart';
import 'package:otraku/feature/calendar/calendar_models.dart';
import 'package:otraku/widget/input/chip_selector.dart';
void showCalendarFilterSheet(BuildContext context, WidgetRef ref) {
final highContrast = ref.read(persistenceProvider.select((s) => s.options.highContrast));
final filter = ref.read(calendarFilterProvider);
CalendarSeasonFilter season = filter.season;
CalendarStatusFilter status = filter.status;
showSheet(
context,
SimpleSheet(
initialHeight: Theming.normalTapTarget * 2 + MediaQuery.paddingOf(context).bottom + 40,
builder: (context, scrollCtrl) => ListView(
controller: scrollCtrl,
physics: Theming.bouncyPhysics,
padding: const .symmetric(horizontal: Theming.offset, vertical: 20),
children: [
ChipSelector(
title: 'Season',
items: CalendarSeasonFilter.values.skip(1).map((v) => (v.label, v)).toList(),
value: season != .all ? season : null,
onChanged: (v) => season = v ?? .all,
highContrast: highContrast,
),
ChipSelector(
title: 'Status',
items: CalendarStatusFilter.values.skip(1).map((v) => (v.label, v)).toList(),
value: status != .all ? status : null,
onChanged: (v) => status = v ?? .all,
highContrast: highContrast,
),
],
),
),
).then((_) {
if (season != filter.season || status != filter.status) {
ref.read(calendarFilterProvider.notifier).state = filter.copyWith(
season: season,
status: status,
);
}
});
}
================================================
FILE: lib/feature/calendar/calendar_models.dart
================================================
import 'package:flutter/widgets.dart';
import 'package:otraku/extension/color_extension.dart';
import 'package:otraku/extension/date_time_extension.dart';
import 'package:otraku/extension/enum_extension.dart';
import 'package:otraku/feature/viewer/persistence_model.dart';
import 'package:otraku/feature/collection/collection_models.dart';
class CalendarItem {
const CalendarItem._({
required this.mediaId,
required this.title,
required this.cover,
required this.episode,
required this.airingAt,
required this.entryStatus,
required this.streamingServices,
});
factory CalendarItem(Map<String, dynamic> map, ImageQuality imageQuality) {
final streamingServices = <StreamingService>[];
if (map['media']['externalLinks'] != null) {
for (final link in map['media']['externalLinks']) {
if (link['type'] == 'STREAMING') {
streamingServices.add((
url: link['url'],
site: link['site'],
color: link['color'] != null ? ColorExtension.fromHexString(link['color']) : null,
));
}
}
}
return CalendarItem._(
mediaId: map['mediaId'],
title: map['media']['title']['userPreferred'],
cover: map['media']['coverImage'][imageQuality.value],
episode: map['episode'],
airingAt: DateTimeExtension.fromSecondsSinceEpoch(map['airingAt']),
entryStatus: ListStatus.from(map['media']['mediaListEntry']?['status']),
streamingServices: streamingServices,
);
}
final int mediaId;
final String title;
final String cover;
final int episode;
final DateTime airingAt;
final ListStatus? entryStatus;
final List<StreamingService> streamingServices;
}
typedef StreamingService = ({String url, String
gitextract_qcbgjzcb/ ├── .gitattributes ├── .gitignore ├── .metadata ├── .vscode/ │ └── launch.json ├── LICENSE ├── README.md ├── analysis_options.yaml ├── android/ │ ├── .gitignore │ ├── app/ │ │ ├── build.gradle.kts │ │ └── src/ │ │ ├── debug/ │ │ │ └── AndroidManifest.xml │ │ ├── dev/ │ │ │ └── res/ │ │ │ ├── mipmap-anydpi-v26/ │ │ │ │ └── ic_launcher.xml │ │ │ └── values/ │ │ │ ├── colors.xml │ │ │ └── strings.xml │ │ ├── main/ │ │ │ ├── AndroidManifest.xml │ │ │ ├── kotlin/ │ │ │ │ └── com/ │ │ │ │ └── example/ │ │ │ │ └── otraku/ │ │ │ │ └── MainActivity.kt │ │ │ └── res/ │ │ │ ├── drawable/ │ │ │ │ └── launch_background.xml │ │ │ ├── drawable-v21/ │ │ │ │ └── launch_background.xml │ │ │ ├── mipmap-anydpi-v26/ │ │ │ │ └── ic_launcher.xml │ │ │ ├── values/ │ │ │ │ ├── colors.xml │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ │ ├── values-night/ │ │ │ │ ├── colors.xml │ │ │ │ └── styles.xml │ │ │ └── xml/ │ │ │ └── backup_rules.xml │ │ └── profile/ │ │ └── AndroidManifest.xml │ ├── build.gradle.kts │ ├── gradle/ │ │ └── wrapper/ │ │ └── gradle-wrapper.properties │ ├── gradle.properties │ └── settings.gradle.kts ├── fastlane/ │ └── metadata/ │ └── android/ │ ├── de/ │ │ ├── full_description.txt │ │ └── short_description.txt │ └── en-US/ │ ├── changelogs/ │ │ ├── 59.txt │ │ ├── 63.txt │ │ ├── 65.txt │ │ ├── 66.txt │ │ ├── 69.txt │ │ ├── 72.txt │ │ ├── 73.txt │ │ ├── 77.txt │ │ ├── 80.txt │ │ ├── 82.txt │ │ ├── 83.txt │ │ ├── 84.txt │ │ ├── 86.txt │ │ ├── 87.txt │ │ ├── 89.txt │ │ ├── 92.txt │ │ └── 94.txt │ ├── full_description.txt │ ├── short_description.txt │ └── title.txt ├── flutter_launcher_icons-dev.yaml ├── ios/ │ ├── .gitignore │ ├── Flutter/ │ │ ├── AppFrameworkInfo.plist │ │ ├── Debug.xcconfig │ │ ├── Profile.xcconfig │ │ └── Release.xcconfig │ ├── Podfile │ ├── Runner/ │ │ ├── AppDelegate.swift │ │ ├── Assets.xcassets/ │ │ │ ├── AppIcon-dev.appiconset/ │ │ │ │ └── Contents.json │ │ │ ├── AppIcon.appiconset/ │ │ │ │ └── Contents.json │ │ │ └── LaunchImage.imageset/ │ │ │ ├── Contents.json │ │ │ └── README.md │ │ ├── Base.lproj/ │ │ │ ├── LaunchScreen.storyboard │ │ │ └── Main.storyboard │ │ ├── Info.plist │ │ └── Runner-Bridging-Header.h │ ├── Runner.xcodeproj/ │ │ ├── project.pbxproj │ │ ├── project.xcworkspace/ │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata/ │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ └── WorkspaceSettings.xcsettings │ │ └── xcshareddata/ │ │ └── xcschemes/ │ │ └── Runner.xcscheme │ └── Runner.xcworkspace/ │ ├── contents.xcworkspacedata │ └── xcshareddata/ │ ├── IDEWorkspaceChecks.plist │ └── WorkspaceSettings.xcsettings ├── lib/ │ ├── extension/ │ │ ├── action_chip_extension.dart │ │ ├── build_context_extension.dart │ │ ├── card_extension.dart │ │ ├── color_extension.dart │ │ ├── date_time_extension.dart │ │ ├── enum_extension.dart │ │ ├── filter_chip_extension.dart │ │ ├── future_extension.dart │ │ ├── iterable_extension.dart │ │ ├── scroll_controller_extension.dart │ │ ├── snack_bar_extension.dart │ │ └── string_extension.dart │ ├── feature/ │ │ ├── activity/ │ │ │ ├── activities_filter_model.dart │ │ │ ├── activities_filter_provider.dart │ │ │ ├── activities_model.dart │ │ │ ├── activities_provider.dart │ │ │ ├── activities_view.dart │ │ │ ├── activity_card.dart │ │ │ ├── activity_filter_sheet.dart │ │ │ ├── activity_model.dart │ │ │ ├── activity_provider.dart │ │ │ ├── activity_view.dart │ │ │ └── reply_card.dart │ │ ├── calendar/ │ │ │ ├── calendar_filter_provider.dart │ │ │ ├── calendar_filter_sheet.dart │ │ │ ├── calendar_models.dart │ │ │ ├── calendar_provider.dart │ │ │ └── calendar_view.dart │ │ ├── character/ │ │ │ ├── character_anime_view.dart │ │ │ ├── character_filter_model.dart │ │ │ ├── character_filter_provider.dart │ │ │ ├── character_floating_actions.dart │ │ │ ├── character_header.dart │ │ │ ├── character_item_grid.dart │ │ │ ├── character_item_model.dart │ │ │ ├── character_manga_view.dart │ │ │ ├── character_model.dart │ │ │ ├── character_overview_view.dart │ │ │ ├── character_provider.dart │ │ │ └── character_view.dart │ │ ├── collection/ │ │ │ ├── collection_entries_provider.dart │ │ │ ├── collection_filter_model.dart │ │ │ ├── collection_filter_provider.dart │ │ │ ├── collection_filter_view.dart │ │ │ ├── collection_floating_action.dart │ │ │ ├── collection_grid.dart │ │ │ ├── collection_list.dart │ │ │ ├── collection_models.dart │ │ │ ├── collection_provider.dart │ │ │ ├── collection_top_bar.dart │ │ │ └── collection_view.dart │ │ ├── comment/ │ │ │ ├── comment_model.dart │ │ │ ├── comment_provider.dart │ │ │ ├── comment_tile.dart │ │ │ └── comment_view.dart │ │ ├── composition/ │ │ │ ├── composition_model.dart │ │ │ ├── composition_provider.dart │ │ │ └── composition_view.dart │ │ ├── discover/ │ │ │ ├── discover_filter_model.dart │ │ │ ├── discover_filter_provider.dart │ │ │ ├── discover_floating_action.dart │ │ │ ├── discover_media_filter_view.dart │ │ │ ├── discover_media_grid.dart │ │ │ ├── discover_media_simple_grid.dart │ │ │ ├── discover_model.dart │ │ │ ├── discover_provider.dart │ │ │ ├── discover_recommendations_filter_sheet.dart │ │ │ ├── discover_recommendations_grid.dart │ │ │ ├── discover_top_bar.dart │ │ │ └── discover_view.dart │ │ ├── edit/ │ │ │ ├── edit_buttons.dart │ │ │ ├── edit_model.dart │ │ │ ├── edit_provider.dart │ │ │ ├── edit_view.dart │ │ │ └── score_field.dart │ │ ├── favorites/ │ │ │ ├── favorites_model.dart │ │ │ ├── favorites_provider.dart │ │ │ └── favorites_view.dart │ │ ├── feed/ │ │ │ ├── feed_floating_action.dart │ │ │ └── feed_top_bar.dart │ │ ├── forum/ │ │ │ ├── forum_filter_model.dart │ │ │ ├── forum_filter_provider.dart │ │ │ ├── forum_filter_view.dart │ │ │ ├── forum_model.dart │ │ │ ├── forum_provider.dart │ │ │ ├── forum_view.dart │ │ │ └── thread_item_list.dart │ │ ├── home/ │ │ │ ├── home_model.dart │ │ │ ├── home_provider.dart │ │ │ └── home_view.dart │ │ ├── media/ │ │ │ ├── media_activities_view.dart │ │ │ ├── media_characters_view.dart │ │ │ ├── media_floating_actions.dart │ │ │ ├── media_following_view.dart │ │ │ ├── media_header.dart │ │ │ ├── media_item_grid.dart │ │ │ ├── media_item_model.dart │ │ │ ├── media_models.dart │ │ │ ├── media_overview_view.dart │ │ │ ├── media_provider.dart │ │ │ ├── media_recommendations_view.dart │ │ │ ├── media_related_view.dart │ │ │ ├── media_reviews_view.dart │ │ │ ├── media_route_tile.dart │ │ │ ├── media_staff_view.dart │ │ │ ├── media_stats_view.dart │ │ │ ├── media_threads_view.dart │ │ │ └── media_view.dart │ │ ├── notification/ │ │ │ ├── notifications_filter_model.dart │ │ │ ├── notifications_filter_provider.dart │ │ │ ├── notifications_model.dart │ │ │ ├── notifications_provider.dart │ │ │ └── notifications_view.dart │ │ ├── review/ │ │ │ ├── review_grid.dart │ │ │ ├── review_header.dart │ │ │ ├── review_models.dart │ │ │ ├── review_provider.dart │ │ │ ├── review_view.dart │ │ │ ├── reviews_filter_provider.dart │ │ │ ├── reviews_filter_sheet.dart │ │ │ ├── reviews_provider.dart │ │ │ └── reviews_view.dart │ │ ├── settings/ │ │ │ ├── settings_about_view.dart │ │ │ ├── settings_app_view.dart │ │ │ ├── settings_content_view.dart │ │ │ ├── settings_model.dart │ │ │ ├── settings_notifications_view.dart │ │ │ ├── settings_provider.dart │ │ │ ├── settings_view.dart │ │ │ └── theme_preview.dart │ │ ├── social/ │ │ │ ├── social_model.dart │ │ │ ├── social_provider.dart │ │ │ └── social_view.dart │ │ ├── staff/ │ │ │ ├── staff_characters_view.dart │ │ │ ├── staff_filter_model.dart │ │ │ ├── staff_filter_provider.dart │ │ │ ├── staff_floating_actions.dart │ │ │ ├── staff_header.dart │ │ │ ├── staff_item_grid.dart │ │ │ ├── staff_item_model.dart │ │ │ ├── staff_model.dart │ │ │ ├── staff_overview_view.dart │ │ │ ├── staff_provider.dart │ │ │ ├── staff_roles_view.dart │ │ │ └── staff_view.dart │ │ ├── statistics/ │ │ │ ├── charts.dart │ │ │ ├── statistics_model.dart │ │ │ └── statistics_view.dart │ │ ├── studio/ │ │ │ ├── studio_filter_model.dart │ │ │ ├── studio_filter_provider.dart │ │ │ ├── studio_floating_actions.dart │ │ │ ├── studio_header.dart │ │ │ ├── studio_item_grid.dart │ │ │ ├── studio_item_model.dart │ │ │ ├── studio_model.dart │ │ │ ├── studio_provider.dart │ │ │ └── studio_view.dart │ │ ├── tag/ │ │ │ ├── tag_model.dart │ │ │ ├── tag_picker.dart │ │ │ └── tag_provider.dart │ │ ├── thread/ │ │ │ ├── thread_model.dart │ │ │ ├── thread_provider.dart │ │ │ └── thread_view.dart │ │ ├── user/ │ │ │ ├── user_header.dart │ │ │ ├── user_item_grid.dart │ │ │ ├── user_item_model.dart │ │ │ ├── user_model.dart │ │ │ ├── user_providers.dart │ │ │ └── user_view.dart │ │ └── viewer/ │ │ ├── persistence_model.dart │ │ ├── persistence_provider.dart │ │ ├── repository_model.dart │ │ └── repository_provider.dart │ ├── main.dart │ ├── util/ │ │ ├── background_handler.dart │ │ ├── debounce.dart │ │ ├── graphql.dart │ │ ├── markdown.dart │ │ ├── paged.dart │ │ ├── paged_controller.dart │ │ ├── routes.dart │ │ ├── theming.dart │ │ └── tile_modelable.dart │ └── widget/ │ ├── cached_image.dart │ ├── dialogs.dart │ ├── grid/ │ │ ├── chip_grid.dart │ │ ├── dual_relation_grid.dart │ │ ├── mono_relation_grid.dart │ │ └── sliver_grid_delegates.dart │ ├── html_content.dart │ ├── input/ │ │ ├── chip_selector.dart │ │ ├── date_field.dart │ │ ├── note_label.dart │ │ ├── number_field.dart │ │ ├── pill_selector.dart │ │ ├── score_label.dart │ │ ├── search_field.dart │ │ ├── stateful_tiles.dart │ │ └── year_range_picker.dart │ ├── layout/ │ │ ├── adaptive_scaffold.dart │ │ ├── constrained_view.dart │ │ ├── content_header.dart │ │ ├── dual_pane_with_tab_bar.dart │ │ ├── hiding_floating_action_button.dart │ │ ├── navigation_tool.dart │ │ └── top_bar.dart │ ├── loaders.dart │ ├── paged_view.dart │ ├── shadowed_overflow_list.dart │ ├── sheets.dart │ ├── shimmer.dart │ ├── swipe_switcher.dart │ ├── table_list.dart │ ├── text_rail.dart │ └── timestamp.dart └── pubspec.yaml
SYMBOL INDEX (1288 symbols across 211 files)
FILE: lib/extension/build_context_extension.dart
function back (line 7) | void back()
function lineHeight (line 9) | double lineHeight(TextStyle style)
FILE: lib/extension/color_extension.dart
function fromHexString (line 4) | Color? fromHexString(String src)
FILE: lib/extension/date_time_extension.dart
function fromSecondsSinceEpoch (line 4) | DateTime fromSecondsSinceEpoch(int seconds)
function tryFromSecondsSinceEpoch (line 7) | DateTime? tryFromSecondsSinceEpoch(int? seconds)
function formattedDateTimeFromSeconds (line 10) | String formattedDateTimeFromSeconds(bool analogClock)
function fromFuzzyDate (line 13) | DateTime? fromFuzzyDate(Map<String, dynamic>? map)
function fuzzyDateString (line 18) | String? fuzzyDateString(Map<String, dynamic>? map)
function formattedTime (line 36) | String formattedTime(bool analogClock)
function monthName (line 60) | String monthName(int month)
function _weekdayName (line 75) | String _weekdayName(int weekday)
FILE: lib/extension/enum_extension.dart
function getOrNull (line 2) | T? getOrNull(int? index)
function getOrFirst (line 10) | T getOrFirst(int? index)
FILE: lib/extension/future_extension.dart
function getErrorOrNull (line 2) | Future<Object?> getErrorOrNull()
FILE: lib/extension/iterable_extension.dart
function firstWhereOrNull (line 2) | E? firstWhereOrNull(bool Function(E) test)
FILE: lib/extension/scroll_controller_extension.dart
function scrollToTop (line 5) | Future<void> scrollToTop()
FILE: lib/extension/snack_bar_extension.dart
function show (line 6) | ScaffoldFeatureController<SnackBar, SnackBarClosedReason> show(
function copy (line 28) | void copy(BuildContext context, String text)
function launch (line 34) | Future<bool> launch(BuildContext context, String link)
FILE: lib/extension/string_extension.dart
function languageToCode (line 4) | String? languageToCode(String? language)
function tryNoScreamingSnakeCase (line 16) | String? tryNoScreamingSnakeCase(dynamic str)
function fromFuzzyDate (line 45) | String? fromFuzzyDate(Map<String, dynamic>? map)
FILE: lib/feature/activity/activities_filter_model.dart
class ActivitiesFilter (line 3) | sealed class ActivitiesFilter {
method copy (line 6) | ActivitiesFilter copy()
method toGraphQlVariables (line 8) | Map<String, dynamic> toGraphQlVariables()
class HomeActivitiesFilter (line 11) | class HomeActivitiesFilter extends ActivitiesFilter {
method copy (line 41) | HomeActivitiesFilter copy()
method copyWith (line 44) | HomeActivitiesFilter copyWith({
method toGraphQlVariables (line 56) | Map<String, dynamic> toGraphQlVariables()
method toPersistenceMap (line 63) | Map<String, dynamic> toPersistenceMap()
class UserActivitiesFilter (line 70) | class UserActivitiesFilter extends ActivitiesFilter {
method copy (line 77) | UserActivitiesFilter copy()
method copyWithTypeIn (line 79) | UserActivitiesFilter copyWithTypeIn(List<ActivityType> typeIn)
method toGraphQlVariables (line 83) | Map<String, dynamic> toGraphQlVariables()
class MediaActivitiesFilter (line 89) | class MediaActivitiesFilter extends ActivitiesFilter {
method copy (line 99) | MediaActivitiesFilter copy()
method copyWith (line 101) | MediaActivitiesFilter copyWith({
method toGraphQlVariables (line 112) | Map<String, dynamic> toGraphQlVariables()
method toPersistenceMap (line 121) | Map<String, dynamic> toPersistenceMap()
method fromPersistence (line 123) | MediaActivitiesFilter fromPersistence(
type ActivityType (line 134) | enum ActivityType {
type ActivitySocialGroup (line 146) | enum ActivitySocialGroup { global, followed, self }
FILE: lib/feature/activity/activities_filter_provider.dart
class ActivitiesFilterNotifier (line 11) | class ActivitiesFilterNotifier extends Notifier<ActivitiesFilter> {
method build (line 17) | ActivitiesFilter build()
FILE: lib/feature/activity/activities_model.dart
class ActivitiesTag (line 1) | sealed class ActivitiesTag {
method toQueryParam (line 4) | String toQueryParam()
method fromQueryParam (line 10) | ActivitiesTag? fromQueryParam(String param)
class HomeActivitiesTag (line 29) | class HomeActivitiesTag extends ActivitiesTag {
class UserActivitiesTag (line 35) | class UserActivitiesTag extends ActivitiesTag {
class MediaActivitiesTag (line 47) | class MediaActivitiesTag extends ActivitiesTag {
FILE: lib/feature/activity/activities_provider.dart
class ActivitiesNotifier (line 17) | class ActivitiesNotifier extends AsyncNotifier<Paged<Activity>> {
method build (line 29) | FutureOr<Paged<Activity>> build()
method fetch (line 43) | Future<void> fetch()
method _fetch (line 49) | Future<Paged<Activity>> _fetch(Paged<Activity> oldState)
method prepend (line 72) | void prepend(Map<String, dynamic> map)
method replace (line 88) | void replace(Activity activity)
method toggleLike (line 104) | Future<Object?> toggleLike(Activity activity)
method toggleSubscription (line 116) | Future<Object?> toggleSubscription(Activity activity)
method togglePin (line 128) | Future<Object?> togglePin(Activity activity)
method remove (line 162) | Future<Object?> remove(Activity activity)
FILE: lib/feature/activity/activities_view.dart
class ActivitiesView (line 22) | class ActivitiesView extends ConsumerStatefulWidget {
method createState (line 28) | ConsumerState<ActivitiesView> createState()
class _ActivitiesViewState (line 31) | class _ActivitiesViewState extends ConsumerState<ActivitiesView> {
method dispose (line 37) | void dispose()
method build (line 43) | Widget build(BuildContext context)
class ActivitiesSubView (line 84) | class ActivitiesSubView extends StatelessWidget {
method build (line 91) | Widget build(BuildContext context)
FILE: lib/feature/activity/activity_card.dart
class ActivityCard (line 22) | class ActivityCard extends StatelessWidget {
method build (line 38) | Widget build(BuildContext context)
class _ActivityMediaBox (line 134) | class _ActivityMediaBox extends StatelessWidget {
method build (line 140) | Widget build(BuildContext context)
class ActivityFooter (line 193) | class ActivityFooter extends StatefulWidget {
method createState (line 215) | State<ActivityFooter> createState()
class _ActivityFooterState (line 218) | class _ActivityFooterState extends State<ActivityFooter> {
method build (line 220) | Widget build(BuildContext context)
method _showMoreSheet (line 290) | void _showMoreSheet()
method _toggleLike (line 386) | void _toggleLike()
method _toggleSubscription (line 406) | void _toggleSubscription()
method _togglePin (line 424) | void _togglePin()
method _remove (line 442) | void _remove()
FILE: lib/feature/activity/activity_filter_sheet.dart
function showActivityFilterSheet (line 10) | void showActivityFilterSheet(BuildContext context, WidgetRef ref, Activi...
class _FilterList (line 30) | class _FilterList extends StatefulWidget {
method createState (line 38) | State<_FilterList> createState()
function build (line 45) | Widget build(BuildContext context)
FILE: lib/feature/activity/activity_model.dart
class ExpandedActivity (line 7) | class ExpandedActivity {
class Activity (line 14) | sealed class Activity {
method maybe (line 31) | Activity? maybe(Map<String, dynamic> map, int? viewerId, ImageQuality ...
class StatusActivity (line 125) | class StatusActivity extends Activity {
class MessageActivity (line 143) | class MessageActivity extends Activity {
class MediaActivity (line 170) | class MediaActivity extends Activity {
class ActivityReply (line 199) | class ActivityReply {
method maybe (line 211) | ActivityReply? maybe(Map<String, dynamic> map)
FILE: lib/feature/activity/activity_provider.dart
class ActivityNotifier (line 14) | class ActivityNotifier extends AsyncNotifier<ExpandedActivity> {
method build (line 22) | FutureOr<ExpandedActivity> build()
method fetch (line 27) | Future<void> fetch()
method _fetch (line 32) | Future<ExpandedActivity> _fetch(ExpandedActivity? oldState)
method replace (line 62) | void replace(Activity activity)
method appendReply (line 69) | void appendReply(Map<String, dynamic> map)
method replaceReply (line 89) | void replaceReply(Map<String, dynamic> map)
method toggleLike (line 114) | Future<Object?> toggleLike()
method toggleSubscription (line 121) | Future<Object?> toggleSubscription()
method togglePin (line 131) | Future<Object?> togglePin()
method toggleReplyLike (line 141) | Future<Object?> toggleReplyLike(int replyId)
method remove (line 148) | Future<Object?> remove()
method removeReply (line 154) | Future<Object?> removeReply(int replyId)
FILE: lib/feature/activity/activity_view.dart
class ActivityView (line 26) | class ActivityView extends ConsumerStatefulWidget {
method createState (line 33) | ConsumerState<ActivityView> createState()
class _ActivityViewState (line 36) | class _ActivityViewState extends ConsumerState<ActivityView> {
method dispose (line 42) | void dispose()
method build (line 48) | Widget build(BuildContext context)
class _TopBarContent (line 73) | class _TopBarContent extends StatelessWidget {
method build (line 79) | Widget build(BuildContext context)
class _View (line 138) | class _View extends ConsumerWidget {
method build (line 146) | Widget build(BuildContext context, WidgetRef ref)
method _toggleLike (line 210) | Future<Object?> _toggleLike(WidgetRef ref, Activity activity)
method _toggleSubscription (line 218) | Future<Object?> _toggleSubscription(WidgetRef ref, Activity activity)
method _togglePin (line 226) | Future<Object?> _togglePin(WidgetRef ref, Activity activity)
method _remove (line 234) | Future<Object?> _remove(BuildContext context, WidgetRef ref, Activity ...
method _onEdited (line 244) | void _onEdited(WidgetRef ref, Map<String, dynamic> map)
method _reply (line 261) | Future<void> _reply(BuildContext context, WidgetRef ref, Activity acti...
FILE: lib/feature/activity/reply_card.dart
class ReplyCard (line 20) | class ReplyCard extends StatelessWidget {
method build (line 36) | Widget build(BuildContext context)
class _ReplyLikeButton (line 184) | class _ReplyLikeButton extends StatefulWidget {
method createState (line 191) | _ReplyLikeButtonState createState()
class _ReplyLikeButtonState (line 194) | class _ReplyLikeButtonState extends State<_ReplyLikeButton> {
method build (line 196) | Widget build(BuildContext context)
method _toggleLike (line 227) | void _toggleLike()
FILE: lib/feature/calendar/calendar_filter_provider.dart
class CalendarFilterNotifier (line 9) | class CalendarFilterNotifier extends Notifier<CalendarFilter> {
method build (line 11) | CalendarFilter build()
FILE: lib/feature/calendar/calendar_filter_sheet.dart
function showCalendarFilterSheet (line 10) | void showCalendarFilterSheet(BuildContext context, WidgetRef ref)
FILE: lib/feature/calendar/calendar_models.dart
class CalendarItem (line 8) | class CalendarItem {
type StreamingService (line 53) | typedef StreamingService = ({String url, String site, Color? color});
class CalendarFilter (line 55) | class CalendarFilter {
method copyWith (line 72) | CalendarFilter copyWith({
method toPersistenceMap (line 82) | Map<String, dynamic> toPersistenceMap()
type CalendarSeasonFilter (line 85) | enum CalendarSeasonFilter {
type CalendarStatusFilter (line 96) | enum CalendarStatusFilter {
FILE: lib/feature/calendar/calendar_provider.dart
class CalendarNotifier (line 17) | class CalendarNotifier extends AsyncNotifier<Paged<CalendarItem>> {
method build (line 21) | FutureOr<Paged<CalendarItem>> build()
method fetch (line 26) | Future<void> fetch(bool onAnime)
method _fetch (line 32) | Future<Paged<CalendarItem>> _fetch(Paged<CalendarItem> oldState)
method _previousAndCurrentSeason (line 90) | (String, String) _previousAndCurrentSeason()
FILE: lib/feature/calendar/calendar_view.dart
class CalendarView (line 23) | class CalendarView extends StatefulWidget {
method createState (line 27) | State<CalendarView> createState()
class _CalendarViewState (line 30) | class _CalendarViewState extends State<CalendarView> {
method dispose (line 34) | void dispose()
method build (line 40) | Widget build(BuildContext context)
method _setDate (line 125) | void _setDate(WidgetRef ref, DateTime date)
class _Tile (line 131) | class _Tile extends StatelessWidget {
method build (line 140) | Widget build(BuildContext context)
class _ExternalLinkList (line 204) | class _ExternalLinkList extends StatelessWidget {
method build (line 210) | Widget build(BuildContext context)
FILE: lib/feature/character/character_anime_view.dart
class CharacterAnimeSubview (line 12) | class CharacterAnimeSubview extends StatelessWidget {
method build (line 24) | Widget build(BuildContext context)
class _LanguageSelected (line 48) | class _LanguageSelected extends StatelessWidget {
method build (line 54) | Widget build(BuildContext context)
FILE: lib/feature/character/character_filter_model.dart
class CharacterFilter (line 3) | class CharacterFilter {
method copyWith (line 9) | CharacterFilter copyWith({MediaSort? sort, (bool?,)? inLists})
FILE: lib/feature/character/character_filter_provider.dart
class CharacterFilterNotifier (line 7) | class CharacterFilterNotifier extends Notifier<CharacterFilter> {
method build (line 13) | CharacterFilter build()
FILE: lib/feature/character/character_floating_actions.dart
class CharacterMediaFilterButton (line 11) | class CharacterMediaFilterButton extends StatelessWidget {
method build (line 18) | Widget build(BuildContext context)
FILE: lib/feature/character/character_header.dart
class CharacterHeader (line 8) | class CharacterHeader extends StatelessWidget {
method build (line 37) | Widget build(BuildContext context)
class _FavoriteButton (line 64) | class _FavoriteButton extends StatefulWidget {
method createState (line 71) | State<_FavoriteButton> createState()
class __FavoriteButtonState (line 74) | class __FavoriteButtonState extends State<_FavoriteButton> {
method build (line 76) | Widget build(BuildContext context)
FILE: lib/feature/character/character_item_grid.dart
class CharacterItemGrid (line 11) | class CharacterItemGrid extends StatelessWidget {
method build (line 18) | Widget build(BuildContext context)
class _Tile (line 36) | class _Tile extends StatelessWidget {
method build (line 44) | Widget build(BuildContext context)
FILE: lib/feature/character/character_item_model.dart
class CharacterItem (line 1) | class CharacterItem {
FILE: lib/feature/character/character_manga_view.dart
class CharacterMangaSubview (line 10) | class CharacterMangaSubview extends StatelessWidget {
method build (line 22) | Widget build(BuildContext context)
FILE: lib/feature/character/character_model.dart
class Character (line 8) | class Character {
class CharacterMedia (line 85) | class CharacterMedia {
method assembleAnimeWithVoiceActors (line 104) | Paged<(CharacterRelatedItem, CharacterRelatedItem?)> assembleAnimeWith...
class CharacterRelatedItem (line 132) | class CharacterRelatedItem implements TileModelable {
type CharacterLanguageMapping (line 177) | typedef CharacterLanguageMapping = ({
FILE: lib/feature/character/character_overview_view.dart
class CharacterOverviewSubview (line 10) | class CharacterOverviewSubview extends StatelessWidget {
method build (line 32) | Widget build(BuildContext context)
class _NameTable (line 72) | class _NameTable extends StatefulWidget {
method createState (line 79) | State<_NameTable> createState()
class __NameTableState (line 82) | class __NameTableState extends State<_NameTable> {
method build (line 86) | Widget build(BuildContext context)
FILE: lib/feature/character/character_provider.dart
class CharacterNotifier (line 21) | class CharacterNotifier extends AsyncNotifier<Character> {
method build (line 27) | FutureOr<Character> build()
method toggleFavorite (line 38) | Future<Object?> toggleFavorite()
class CharacterMediaNotifier (line 45) | class CharacterMediaNotifier extends AsyncNotifier<CharacterMedia> {
method build (line 53) | FutureOr<CharacterMedia> build()
method fetch (line 58) | Future<void> fetch(bool onAnime)
method _fetch (line 68) | Future<CharacterMedia> _fetch(CharacterMedia oldState, bool? onAnime)
method changeLanguage (line 159) | void changeLanguage(int selectedLanguage)
FILE: lib/feature/character/character_view.dart
class CharacterView (line 21) | class CharacterView extends ConsumerStatefulWidget {
method createState (line 28) | ConsumerState<CharacterView> createState()
class _CharacterViewState (line 31) | class _CharacterViewState extends ConsumerState<CharacterView> {
method dispose (line 35) | void dispose()
method build (line 41) | Widget build(BuildContext context)
class _CompactView (line 83) | class _CompactView extends StatefulWidget {
method createState (line 103) | State<_CompactView> createState()
class _CompactViewState (line 106) | class _CompactViewState extends State<_CompactView> with SingleTickerPro...
method initState (line 110) | void initState()
method dispose (line 120) | void dispose()
method build (line 126) | Widget build(BuildContext context)
class _LargeView (line 159) | class _LargeView extends StatefulWidget {
method createState (line 179) | State<_LargeView> createState()
class _LargeViewState (line 182) | class _LargeViewState extends State<_LargeView> with SingleTickerProvide...
method initState (line 189) | void initState()
method dispose (line 197) | void dispose()
method build (line 203) | Widget build(BuildContext context)
class _CharacterTabs (line 252) | class _CharacterTabs extends ConsumerStatefulWidget {
method createState (line 277) | ConsumerState<_CharacterTabs> createState()
class __CharacterViewContentState (line 280) | class __CharacterViewContentState extends ConsumerState<_CharacterTabs> {
method initState (line 285) | void initState()
method dispose (line 296) | void dispose()
method _tabListener (line 302) | void _tabListener()
method _scrollListener (line 316) | void _scrollListener()
method _loadNextPage (line 325) | void _loadNextPage()
method build (line 334) | Widget build(BuildContext context)
FILE: lib/feature/collection/collection_entries_provider.dart
function _filter (line 32) | List<EntryList> _filter(
FILE: lib/feature/collection/collection_filter_model.dart
class CollectionFilter (line 4) | class CollectionFilter {
method copyWith (line 12) | CollectionFilter copyWith({String? search, CollectionMediaFilter? medi...
class CollectionMediaFilter (line 19) | class CollectionMediaFilter {
method copy (line 84) | CollectionMediaFilter copy()
method toPersistenceMap (line 99) | Map<String, dynamic> toPersistenceMap()
FILE: lib/feature/collection/collection_filter_provider.dart
class CollectionFilterNotifier (line 11) | class CollectionFilterNotifier extends Notifier<CollectionFilter> {
method build (line 17) | CollectionFilter build()
method update (line 27) | CollectionFilter update(CollectionFilter Function(CollectionFilter) ca...
FILE: lib/feature/collection/collection_filter_view.dart
class CollectionFilterView (line 17) | class CollectionFilterView extends ConsumerStatefulWidget {
method createState (line 25) | ConsumerState<CollectionFilterView> createState()
class _FilterCollectionViewState (line 28) | class _FilterCollectionViewState extends ConsumerState<CollectionFilterV...
method build (line 32) | Widget build(BuildContext context)
FILE: lib/feature/collection/collection_floating_action.dart
class CollectionFloatingAction (line 11) | class CollectionFloatingAction extends StatelessWidget {
method build (line 17) | Widget build(BuildContext context)
method _fullCollectionActionButton (line 37) | Widget _fullCollectionActionButton(
function buildFullCollectionSelectionItems (line 73) | List<Widget> buildFullCollectionSelectionItems(BuildContext context, Lis...
FILE: lib/feature/collection/collection_grid.dart
class CollectionGrid (line 16) | class CollectionGrid extends StatelessWidget {
method build (line 28) | Widget build(BuildContext context)
class _IncrementButton (line 73) | class _IncrementButton extends StatefulWidget {
method createState (line 80) | State<_IncrementButton> createState()
function build (line 88) | Widget build(BuildContext context)
FILE: lib/feature/collection/collection_list.dart
class CollectionList (line 22) | class CollectionList extends StatelessWidget {
method build (line 36) | Widget build(BuildContext context)
class _Tile (line 58) | class _Tile extends StatelessWidget {
method build (line 74) | Widget build(BuildContext context)
class _TileContent (line 106) | class _TileContent extends StatefulWidget {
method createState (line 114) | State<_TileContent> createState()
class __TileContentState (line 117) | class __TileContentState extends State<_TileContent> {
method build (line 122) | Widget build(BuildContext context)
method _buildProgressButton (line 202) | Widget _buildProgressButton(BuildContext context)
method _update (line 254) | void _update()
method _resetProgress (line 284) | void _resetProgress()
FILE: lib/feature/collection/collection_models.dart
type CollectionTag (line 6) | typedef CollectionTag = ({int userId, bool ofAnime});
type CollectionItemView (line 8) | enum CollectionItemView { detailed, simple }
class Collection (line 10) | sealed class Collection {
method sort (line 17) | void sort(EntrySort s)
class PreviewCollection (line 20) | class PreviewCollection extends Collection {
method sort (line 50) | void sort(EntrySort s)
class FullCollection (line 55) | class FullCollection extends Collection {
method sort (line 98) | void sort(EntrySort s)
method withIndex (line 105) | FullCollection withIndex(int newIndex)
class EntryList (line 110) | class EntryList {
method setByMediaId (line 142) | bool setByMediaId(Entry entry)
method removeByMediaId (line 152) | void removeByMediaId(int id)
method insertSorted (line 161) | void insertSorted(Entry entry, EntrySort s)
method sort (line 172) | void sort(EntrySort s)
method copyWithEntries (line 174) | EntryList copyWithEntries(List<Entry> entries)
function _entryComparator (line 183) | int Function(Entry, Entry) _entryComparator(EntrySort s)
class Entry (line 378) | class Entry {
type ListStatus (line 476) | enum ListStatus {
FILE: lib/feature/collection/collection_provider.dart
class CollectionNotifier (line 15) | class CollectionNotifier extends AsyncNotifier<Collection> {
method build (line 23) | FutureOr<Collection> build()
method ensureSorted (line 59) | void ensureSorted(EntrySort sort, EntrySort previewSort)
method changeIndex (line 74) | void changeIndex(int newIndex)
method removeEntry (line 81) | void removeEntry(int mediaId)
method saveEntry (line 95) | Future<void> saveEntry(int mediaId, ListStatus? oldStatus)
method saveEntryProgress (line 122) | Future<String?> saveEntryProgress(Entry oldEntry, bool setAsCurrent)
method _saveEntryInFullCollection (line 141) | FullCollection _saveEntryInFullCollection(
method _saveEntryInPreviewCollection (line 195) | PreviewCollection _saveEntryInPreviewCollection(
method _withRemovedEmptyLists (line 215) | FullCollection _withRemovedEmptyLists(FullCollection collection)
method _updateState (line 229) | void _updateState(Collection? Function(Collection) mutator)
FILE: lib/feature/collection/collection_top_bar.dart
class CollectionTopBarTrailingContent (line 18) | class CollectionTopBarTrailingContent extends StatelessWidget {
method build (line 25) | Widget build(BuildContext context)
FILE: lib/feature/collection/collection_view.dart
class CollectionView (line 25) | class CollectionView extends StatefulWidget {
method createState (line 32) | State<CollectionView> createState()
class _CollectionViewState (line 35) | class _CollectionViewState extends State<CollectionView> {
method dispose (line 39) | void dispose()
method build (line 45) | Widget build(BuildContext context)
class CollectionSubview (line 63) | class CollectionSubview extends StatelessWidget {
method build (line 76) | Widget build(BuildContext context)
class _Content (line 148) | class _Content extends StatelessWidget {
method build (line 155) | Widget build(BuildContext context)
method _searchGlobally (line 248) | void _searchGlobally(BuildContext context, WidgetRef ref)
FILE: lib/feature/comment/comment_model.dart
class Comment (line 4) | class Comment {
method _copyWith (line 58) | Comment _copyWith({String? text, List<Comment>? childComments})
method withEditedText (line 74) | Comment withEditedText(String text)
method withAppendedChildComment (line 76) | Comment withAppendedChildComment(Map<String, dynamic> map, int parentC...
method append (line 90) | bool append(Map<String, dynamic> map, int parentCommentId)
FILE: lib/feature/comment/comment_provider.dart
class CommentNotifier (line 14) | class CommentNotifier extends AsyncNotifier<Comment> {
method build (line 20) | FutureOr<Comment> build()
method edit (line 49) | void edit(Map<String, dynamic> map)
method toggleCommentLike (line 52) | Future<Object?> toggleCommentLike(int commentId)
method appendComment (line 59) | void appendComment(Map<String, dynamic> map, int parentCommentId)
method delete (line 66) | Future<Object?> delete()
FILE: lib/feature/comment/comment_tile.dart
type CommentTileInteraction (line 16) | typedef CommentTileInteraction = ({
function build (line 39) | Widget build(BuildContext context)
FILE: lib/feature/comment/comment_view.dart
class CommentView (line 22) | class CommentView extends ConsumerStatefulWidget {
method createState (line 28) | ConsumerState<CommentView> createState()
class _CommentViewState (line 31) | class _CommentViewState extends ConsumerState<CommentView> {
method dispose (line 35) | void dispose()
method build (line 41) | Widget build(BuildContext context)
method _topBarTrailingContent (line 102) | List<Widget> _topBarTrailingContent(
class _Content (line 168) | class _Content extends StatelessWidget {
method build (line 177) | Widget build(BuildContext context)
FILE: lib/feature/composition/composition_model.dart
class CompositionTag (line 4) | sealed class CompositionTag {
class StatusActivityCompositionTag (line 10) | class StatusActivityCompositionTag extends CompositionTag {
class MessageActivityCompositionTag (line 20) | class MessageActivityCompositionTag extends CompositionTag {
class ActivityReplyCompositionTag (line 33) | class ActivityReplyCompositionTag extends CompositionTag {
class CommentCompositionTag (line 46) | class CommentCompositionTag extends CompositionTag {
class Composition (line 67) | class Composition {
class PrivateComposition (line 74) | class PrivateComposition extends Composition {
FILE: lib/feature/composition/composition_provider.dart
class CompositionNotifier (line 12) | class CompositionNotifier extends AsyncNotifier<Composition> {
method build (line 18) | FutureOr<Composition> build()
method _findComment (line 52) | String _findComment(Map<String, dynamic> map)
method save (line 65) | Future<AsyncValue<Map<String, dynamic>>> save()
FILE: lib/feature/composition/composition_view.dart
class CompositionView (line 14) | class CompositionView extends StatelessWidget {
method build (line 25) | Widget build(BuildContext context)
class _CompositionView (line 64) | class _CompositionView extends StatefulWidget {
method createState (line 71) | State<_CompositionView> createState()
class __CompositionViewState (line 74) | class __CompositionViewState extends State<_CompositionView> with Single...
method initState (line 81) | void initState()
method dispose (line 95) | void dispose()
method build (line 103) | Widget build(BuildContext context)
class _CompositionBody (line 122) | class _CompositionBody extends StatelessWidget {
method build (line 138) | Widget build(BuildContext context)
class _BottomBar (line 206) | class _BottomBar extends StatefulWidget {
method createState (line 220) | State<_BottomBar> createState()
class _BottomBarState (line 223) | class _BottomBarState extends State<_BottomBar> {
method build (line 227) | Widget build(BuildContext context)
class _FormatButton (line 361) | class _FormatButton extends StatelessWidget {
method build (line 377) | Widget build(BuildContext context)
class _PrivateButton (line 404) | class _PrivateButton extends StatefulWidget {
method createState (line 410) | State<_PrivateButton> createState()
class __PrivateButtonState (line 413) | class __PrivateButtonState extends State<_PrivateButton> {
method build (line 415) | Widget build(BuildContext context)
FILE: lib/feature/discover/discover_filter_model.dart
class DiscoverFilter (line 7) | class DiscoverFilter {
method copyWith (line 30) | DiscoverFilter copyWith({
class DiscoverMediaFilter (line 47) | class DiscoverMediaFilter {
method copy (line 132) | DiscoverMediaFilter copy()
method fromCollection (line 149) | DiscoverMediaFilter fromCollection({
method toGraphQlVariables (line 165) | Map<String, dynamic> toGraphQlVariables({required bool ofAnime})
method toPersistenceMap (line 184) | Map<String, dynamic> toPersistenceMap()
class DiscoverRecommendationsFilter (line 204) | class DiscoverRecommendationsFilter {
method copyWith (line 210) | DiscoverRecommendationsFilter copyWith({RecommendationsSort? sort, (bo...
type RecommendationsSort (line 217) | enum RecommendationsSort {
FILE: lib/feature/discover/discover_filter_provider.dart
class DiscoverFilterNotifier (line 9) | class DiscoverFilterNotifier extends Notifier<DiscoverFilter> {
method build (line 11) | DiscoverFilter build()
method update (line 25) | DiscoverFilter update(DiscoverFilter Function(DiscoverFilter) callback)
FILE: lib/feature/discover/discover_floating_action.dart
class DiscoverFloatingAction (line 10) | class DiscoverFloatingAction extends StatelessWidget {
method build (line 14) | Widget build(BuildContext context)
method _typeIcon (line 52) | IconData _typeIcon(DiscoverType type)
FILE: lib/feature/discover/discover_media_filter_view.dart
class DiscoverMediaFilterView (line 16) | class DiscoverMediaFilterView extends ConsumerStatefulWidget {
method createState (line 28) | ConsumerState<DiscoverMediaFilterView> createState()
class _DiscoverFilterViewState (line 31) | class _DiscoverFilterViewState extends ConsumerState<DiscoverMediaFilter...
method build (line 35) | Widget build(BuildContext context)
FILE: lib/feature/discover/discover_media_grid.dart
class DiscoverMediaGrid (line 11) | class DiscoverMediaGrid extends StatelessWidget {
method build (line 18) | Widget build(BuildContext context)
class _Tile (line 39) | class _Tile extends StatelessWidget {
method build (line 47) | Widget build(BuildContext context)
FILE: lib/feature/discover/discover_media_simple_grid.dart
class DiscoverMediaSimpleGrid (line 10) | class DiscoverMediaSimpleGrid extends StatelessWidget {
method build (line 17) | Widget build(BuildContext context)
class _Tile (line 35) | class _Tile extends StatelessWidget {
method build (line 43) | Widget build(BuildContext context)
FILE: lib/feature/discover/discover_model.dart
type DiscoverType (line 12) | enum DiscoverType {
type DiscoverItemView (line 27) | enum DiscoverItemView { detailed, simple }
class DiscoverItems (line 29) | sealed class DiscoverItems {
class DiscoverAnimeItems (line 33) | class DiscoverAnimeItems extends DiscoverItems {
class DiscoverMangaItems (line 39) | class DiscoverMangaItems extends DiscoverItems {
class DiscoverCharacterItems (line 45) | class DiscoverCharacterItems extends DiscoverItems {
class DiscoverStaffItems (line 51) | class DiscoverStaffItems extends DiscoverItems {
class DiscoverStudioItems (line 57) | class DiscoverStudioItems extends DiscoverItems {
class DiscoverUserItems (line 63) | class DiscoverUserItems extends DiscoverItems {
class DiscoverReviewItems (line 69) | class DiscoverReviewItems extends DiscoverItems {
class DiscoverRecommendationItems (line 75) | class DiscoverRecommendationItems extends DiscoverItems {
class DiscoverMediaItem (line 81) | class DiscoverMediaItem {
class DiscoverRecommendationItem (line 124) | class DiscoverRecommendationItem {
FILE: lib/feature/discover/discover_provider.dart
class DiscoverNotifier (line 21) | class DiscoverNotifier extends AsyncNotifier<DiscoverItems> {
method build (line 25) | FutureOr<DiscoverItems> build()
method fetch (line 39) | Future<void> fetch()
method _fetchAnime (line 73) | Future<DiscoverItems> _fetchAnime(DiscoverAnimeItems oldValue)
method _fetchManga (line 96) | Future<DiscoverItems> _fetchManga(DiscoverMangaItems oldValue)
method _fetchCharacters (line 119) | Future<DiscoverItems> _fetchCharacters(DiscoverCharacterItems oldValue)
method _fetchStaff (line 136) | Future<DiscoverItems> _fetchStaff(DiscoverStaffItems oldValue)
method _fetchStudios (line 153) | Future<DiscoverItems> _fetchStudios(DiscoverStudioItems oldValue)
method _fetchUsers (line 169) | Future<DiscoverItems> _fetchUsers(DiscoverUserItems oldValue)
method _fetchReviews (line 185) | Future<DiscoverItems> _fetchReviews(DiscoverReviewItems oldValue)
method _fetchRecommendations (line 203) | Future<DiscoverItems> _fetchRecommendations(DiscoverRecommendationItem...
method rateRecommendation (line 223) | Future<Object?> rateRecommendation(int mediaId, int recommendedMediaId...
FILE: lib/feature/discover/discover_recommendations_filter_sheet.dart
function showRecommendationsFilterSheet (line 7) | Future<void> showRecommendationsFilterSheet({
FILE: lib/feature/discover/discover_recommendations_grid.dart
type OnRateRecommendation (line 15) | typedef OnRateRecommendation =
class DiscoverRecommendationsGrid (line 18) | class DiscoverRecommendationsGrid extends StatelessWidget {
method build (line 26) | Widget build(BuildContext context)
class _Tile (line 46) | class _Tile extends StatelessWidget {
method build (line 55) | Widget build(BuildContext context)
class _RecommendationButtons (line 148) | class _RecommendationButtons extends StatefulWidget {
method createState (line 155) | State<_RecommendationButtons> createState()
class __RecommendationButtonsState (line 158) | class __RecommendationButtonsState extends State<_RecommendationButtons> {
method build (line 160) | Widget build(BuildContext context)
FILE: lib/feature/discover/discover_top_bar.dart
class DiscoverTopBarTrailingContent (line 17) | class DiscoverTopBarTrailingContent extends StatelessWidget {
method build (line 23) | Widget build(BuildContext context)
method _filterIcon (line 117) | Widget _filterIcon(BuildContext context, WidgetRef ref, DiscoverFilter...
class _BirthdayFilter (line 135) | class _BirthdayFilter extends StatelessWidget {
method build (line 141) | Widget build(BuildContext context)
FILE: lib/feature/discover/discover_view.dart
class DiscoverSubview (line 19) | class DiscoverSubview extends StatelessWidget {
method build (line 26) | Widget build(BuildContext context)
FILE: lib/feature/edit/edit_buttons.dart
class EditButtons (line 11) | class EditButtons extends StatelessWidget {
method build (line 20) | Widget build(BuildContext context)
FILE: lib/feature/edit/edit_model.dart
type EditTag (line 5) | typedef EditTag = ({int id, bool setComplete});
class EntryEdit (line 7) | class EntryEdit {
method copyWith (line 96) | EntryEdit copyWith({
method toGraphQlVariables (line 125) | Map<String, dynamic> toGraphQlVariables()
class BaseEntry (line 142) | class BaseEntry {
FILE: lib/feature/edit/edit_provider.dart
class EntryEditNotifier (line 16) | class EntryEditNotifier extends AsyncNotifier<EntryEdit> {
method build (line 22) | FutureOr<EntryEdit> build()
method updateBy (line 34) | void updateBy(EntryEdit Function(EntryEdit) callback)
method save (line 39) | Future<Object?> save()
method remove (line 66) | Future<Object?> remove()
FILE: lib/feature/edit/edit_view.dart
class EditView (line 22) | class EditView extends ConsumerWidget {
method build (line 29) | Widget build(BuildContext context, WidgetRef ref)
function build (line 71) | Widget build(BuildContext context, WidgetRef ref)
FILE: lib/feature/edit/score_field.dart
class ScoreField (line 6) | class ScoreField extends StatefulWidget {
method createState (line 14) | State<ScoreField> createState()
class _ScoreFieldState (line 17) | class _ScoreFieldState extends State<ScoreField> {
method didUpdateWidget (line 21) | void didUpdateWidget(covariant ScoreField oldWidget)
method build (line 27) | Widget build(BuildContext context)
method build (line 139) | Widget build(BuildContext context)
method build (line 164) | Widget build(BuildContext context)
FILE: lib/feature/favorites/favorites_model.dart
class Favorites (line 4) | class Favorites {
method getCount (line 21) | int getCount(FavoritesType type)
method withEdit (line 29) | Favorites withEdit(FavoritesEdit? edit)
class FavoritesEdit (line 39) | class FavoritesEdit {
class FavoriteItem (line 49) | class FavoriteItem {
type FavoritesType (line 80) | enum FavoritesType {
FILE: lib/feature/favorites/favorites_provider.dart
class FavoritesNotifier (line 13) | class FavoritesNotifier extends AsyncNotifier<Favorites> {
method build (line 19) | FutureOr<Favorites> build()
method fetch (line 21) | Future<void> fetch(FavoritesType type)
method _fetch (line 38) | Future<Favorites> _fetch(Favorites oldState, FavoritesType? type)
method startEdit (line 176) | void startEdit(FavoritesType type)
method cancelEdit (line 191) | void cancelEdit()
method saveEdit (line 219) | Future<Object?> saveEdit()
method toggleFavorite (line 266) | Future<Object?> toggleFavorite(int id)
FILE: lib/feature/favorites/favorites_view.dart
class FavoritesView (line 26) | class FavoritesView extends ConsumerStatefulWidget {
method createState (line 32) | ConsumerState<FavoritesView> createState()
class _FavoritesViewState (line 35) | class _FavoritesViewState extends ConsumerState<FavoritesView> with Sing...
method initState (line 44) | void initState()
method dispose (line 50) | void dispose()
method build (line 57) | Widget build(BuildContext context)
class _ImageGrid (line 250) | class _ImageGrid extends StatefulWidget {
method createState (line 259) | State<_ImageGrid> createState()
class _ImageGridState (line 262) | class _ImageGridState extends State<_ImageGrid> {
method initState (line 266) | void initState()
method didUpdateWidget (line 272) | void didUpdateWidget(covariant _ImageGrid oldWidget)
method build (line 280) | Widget build(BuildContext context)
class _TextGrid (line 326) | class _TextGrid extends StatefulWidget {
method createState (line 334) | State<_TextGrid> createState()
class _TextGridState (line 337) | class _TextGridState extends State<_TextGrid> {
method initState (line 341) | void initState()
method didUpdateWidget (line 347) | void didUpdateWidget(covariant _TextGrid oldWidget)
method build (line 355) | Widget build(BuildContext context)
class _EditList (line 390) | class _EditList extends StatefulWidget {
method createState (line 408) | State<_EditList> createState()
function build (line 413) | Widget build(BuildContext context)
FILE: lib/feature/feed/feed_floating_action.dart
class FeedFloatingAction (line 9) | class FeedFloatingAction extends StatelessWidget {
method build (line 15) | Widget build(BuildContext context)
FILE: lib/feature/feed/feed_top_bar.dart
class FeedTopBarTrailingContent (line 12) | class FeedTopBarTrailingContent extends StatelessWidget {
method build (line 16) | Widget build(BuildContext context)
FILE: lib/feature/forum/forum_filter_model.dart
class ForumFilter (line 3) | class ForumFilter {
method copyWith (line 16) | ForumFilter copyWith({
method toGraphQlVariables (line 28) | Map<String, dynamic> toGraphQlVariables()
type ThreadCategory (line 36) | enum ThreadCategory {
type ThreadSort (line 63) | enum ThreadSort {
FILE: lib/feature/forum/forum_filter_provider.dart
class ForumFilterNotifier (line 8) | class ForumFilterNotifier extends Notifier<ForumFilter> {
method build (line 10) | ForumFilter build()
method update (line 13) | void update(ForumFilter Function(ForumFilter) callback)
FILE: lib/feature/forum/forum_filter_view.dart
function showForumFilterSheet (line 11) | void showForumFilterSheet(BuildContext context, WidgetRef ref)
FILE: lib/feature/forum/forum_model.dart
class ThreadItem (line 3) | class ThreadItem {
FILE: lib/feature/forum/forum_provider.dart
class ForumNotifier (line 15) | class ForumNotifier extends AsyncNotifier<Paged<ThreadItem>> {
method build (line 19) | FutureOr<Paged<ThreadItem>> build()
method fetch (line 24) | Future<void> fetch()
method _fetch (line 30) | Future<Paged<ThreadItem>> _fetch(Paged<ThreadItem> oldState)
FILE: lib/feature/forum/forum_view.dart
class ForumView (line 16) | class ForumView extends ConsumerStatefulWidget {
method createState (line 20) | ConsumerState<ForumView> createState()
class _ForumViewState (line 23) | class _ForumViewState extends ConsumerState<ForumView> {
method dispose (line 29) | void dispose()
method build (line 35) | Widget build(BuildContext context)
FILE: lib/feature/forum/thread_item_list.dart
function build (line 19) | Widget build(BuildContext context)
FILE: lib/feature/home/home_model.dart
class Home (line 1) | class Home {
method withExpandedCollection (line 12) | Home withExpandedCollection(bool ofAnime)
type HomeTab (line 17) | enum HomeTab {
FILE: lib/feature/home/home_provider.dart
class HomeNotifier (line 7) | class HomeNotifier extends Notifier<Home> {
method build (line 9) | Home build()
method expandCollection (line 21) | void expandCollection(bool ofAnime)
FILE: lib/feature/home/home_view.dart
class HomeView (line 34) | class HomeView extends ConsumerStatefulWidget {
method createState (line 40) | ConsumerState<HomeView> createState()
class _HomeViewState (line 43) | class _HomeViewState extends ConsumerState<HomeView> with SingleTickerPr...
method initState (line 60) | void initState()
method didUpdateWidget (line 79) | void didUpdateWidget(covariant HomeView oldWidget)
method dispose (line 85) | void dispose()
method build (line 103) | Widget build(BuildContext context)
method _toggleSearchFocus (line 265) | void _toggleSearchFocus(FocusNode node)
FILE: lib/feature/media/media_activities_view.dart
class MediaActivitiesSubview (line 15) | class MediaActivitiesSubview extends StatelessWidget {
method build (line 31) | Widget build(BuildContext context)
class _FollowingFilterButton (line 70) | class _FollowingFilterButton extends StatelessWidget {
method build (line 77) | Widget build(BuildContext context)
FILE: lib/feature/media/media_characters_view.dart
class MediaCharactersSubview (line 12) | class MediaCharactersSubview extends StatelessWidget {
method build (line 24) | Widget build(BuildContext context)
class _LanguageSelector (line 49) | class _LanguageSelector extends StatelessWidget {
method build (line 55) | Widget build(BuildContext context)
FILE: lib/feature/media/media_floating_actions.dart
class MediaEditButton (line 6) | class MediaEditButton extends StatefulWidget {
method createState (line 12) | State<MediaEditButton> createState()
class _MediaEditButtonState (line 15) | class _MediaEditButtonState extends State<MediaEditButton> {
method build (line 17) | Widget build(BuildContext context)
FILE: lib/feature/media/media_following_view.dart
class MediaFollowingSubview (line 17) | class MediaFollowingSubview extends StatelessWidget {
method build (line 29) | Widget build(BuildContext context)
class _MediaFollowingGrid (line 39) | class _MediaFollowingGrid extends StatelessWidget {
method build (line 46) | Widget build(BuildContext context)
FILE: lib/feature/media/media_header.dart
class MediaHeader (line 9) | class MediaHeader extends StatelessWidget {
method build (line 35) | Widget build(BuildContext context)
class _FavoriteButton (line 98) | class _FavoriteButton extends StatefulWidget {
method createState (line 105) | State<_FavoriteButton> createState()
class __FavoriteButtonState (line 108) | class __FavoriteButtonState extends State<_FavoriteButton> {
method build (line 110) | Widget build(BuildContext context)
FILE: lib/feature/media/media_item_grid.dart
class MediaItemGrid (line 8) | class MediaItemGrid extends StatelessWidget {
method build (line 14) | Widget build(BuildContext context)
class _Tile (line 26) | class _Tile extends StatelessWidget {
method build (line 32) | Widget build(BuildContext context)
FILE: lib/feature/media/media_item_model.dart
class MediaItem (line 3) | class MediaItem {
FILE: lib/feature/media/media_models.dart
class Media (line 13) | class Media {
class MediaConnections (line 22) | class MediaConnections {
method getCharactersAndVoiceActors (line 45) | Paged<(MediaRelatedItem, MediaRelatedItem?)> getCharactersAndVoiceActo...
method copyWith (line 76) | MediaConnections copyWith({
type MediaLanguageMapping (line 93) | typedef MediaLanguageMapping = ({String language, Map<int, List<MediaRel...
class RelatedMedia (line 95) | class RelatedMedia {
class MediaRelatedItem (line 128) | class MediaRelatedItem implements TileModelable {
class RelatedReview (line 161) | class RelatedReview {
method maybe (line 172) | RelatedReview? maybe(Map<String, dynamic> map)
class MediaFollowing (line 195) | class MediaFollowing {
class Recommendation (line 225) | class Recommendation {
class MediaInfo (line 269) | class MediaInfo {
type ExternalLink (line 439) | typedef ExternalLink = ({
type ExternalLinkType (line 447) | enum ExternalLinkType {
class MediaRank (line 459) | class MediaRank {
class MediaStats (line 473) | class MediaStats {
type MediaTab (line 549) | enum MediaTab {
type MediaType (line 562) | enum MediaType {
type ReleaseStatus (line 572) | enum ReleaseStatus {
type MediaFormat (line 588) | enum MediaFormat {
type MediaSeason (line 613) | enum MediaSeason {
type MediaSource (line 628) | enum MediaSource {
type OriginCountry (line 654) | enum OriginCountry {
type ScoreFormat (line 669) | enum ScoreFormat {
type MediaSort (line 685) | enum MediaSort {
type EntrySort (line 705) | enum EntrySort {
FILE: lib/feature/media/media_overview_view.dart
class MediaOverviewSubview (line 20) | class MediaOverviewSubview extends StatelessWidget {
method build (line 42) | Widget build(BuildContext context)
method _buildGenreActionChip (line 189) | Widget _buildGenreActionChip(BuildContext context, String genre, bool ...
method _buildStudioActionChip (line 207) | Widget _buildStudioActionChip(BuildContext context, String name, int i...
method _buildExternalLinkChip (line 215) | Widget _buildExternalLinkChip(BuildContext context, ExternalLink link,...
class _Description (line 232) | class _Description extends StatefulWidget {
method createState (line 239) | State<_Description> createState()
class _DescriptionState (line 242) | class _DescriptionState extends State<_Description> {
method build (line 246) | Widget build(BuildContext context)
class _IconTile (line 280) | class _IconTile extends StatelessWidget {
method build (line 288) | Widget build(BuildContext context)
class _Wrap (line 304) | class _Wrap extends StatelessWidget {
method build (line 312) | Widget build(BuildContext context)
class _TagsWrap (line 334) | class _TagsWrap extends StatefulWidget {
method createState (line 348) | State<_TagsWrap> createState()
class __TagsWrapState (line 351) | class __TagsWrapState extends State<_TagsWrap> {
method initState (line 355) | void initState()
method build (line 366) | Widget build(BuildContext context)
method _buildTagChip (line 388) | Widget _buildTagChip(Tag tag, Color spoilerColor)
class _Chip (line 416) | class _Chip extends StatelessWidget {
method build (line 436) | Widget build(BuildContext context)
FILE: lib/feature/media/media_provider.dart
class MediaNotifier (line 33) | class MediaNotifier extends AsyncNotifier<Media> {
method build (line 39) | FutureOr<Media> build()
method toggleFavorite (line 65) | Future<Object?> toggleFavorite()
class MediaRelationsNotifier (line 76) | class MediaRelationsNotifier extends AsyncNotifier<MediaConnections> {
method build (line 82) | FutureOr<MediaConnections> build()
method fetch (line 84) | Future<void> fetch(MediaTab tab)
function _fetch (line 101) | Future<MediaConnections> _fetch(MediaConnections oldState, MediaTab? tab)
function changeLanguage (line 215) | void changeLanguage(int selectedLanguage)
function rateRecommendation (line 230) | Future<Object?> rateRecommendation(int recId, bool? rating)
class MediaThreadsNotifier (line 243) | class MediaThreadsNotifier extends AsyncNotifier<Paged<ThreadItem>> {
method build (line 249) | FutureOr<Paged<ThreadItem>> build()
method fetch (line 251) | Future<void> fetch()
method _fetch (line 257) | Future<Paged<ThreadItem>> _fetch(Paged<ThreadItem> oldState)
class MediaFollowingNotifier (line 273) | class MediaFollowingNotifier extends AsyncNotifier<Paged<MediaFollowing>> {
method build (line 279) | FutureOr<Paged<MediaFollowing>> build()
method fetch (line 281) | Future<void> fetch()
method _fetch (line 287) | Future<Paged<MediaFollowing>> _fetch(Paged<MediaFollowing> oldState)
FILE: lib/feature/media/media_recommendations_view.dart
class MediaRecommendationsSubview (line 17) | class MediaRecommendationsSubview extends StatelessWidget {
method build (line 31) | Widget build(BuildContext context)
class _MediaRecommendationsGrid (line 43) | class _MediaRecommendationsGrid extends StatelessWidget {
method build (line 57) | Widget build(BuildContext context)
class _RecommendationRating (line 127) | class _RecommendationRating extends StatefulWidget {
method createState (line 135) | State<_RecommendationRating> createState()
class _RecommendationRatingState (line 138) | class _RecommendationRatingState extends State<_RecommendationRating> {
method build (line 140) | Widget build(BuildContext context)
FILE: lib/feature/media/media_related_view.dart
class MediaRelatedSubview (line 13) | class MediaRelatedSubview extends StatelessWidget {
method build (line 27) | Widget build(BuildContext context)
class _MediaRelatedGrid (line 42) | class _MediaRelatedGrid extends StatelessWidget {
method build (line 49) | Widget build(BuildContext context)
FILE: lib/feature/media/media_reviews_view.dart
class MediaReviewsSubview (line 16) | class MediaReviewsSubview extends StatelessWidget {
method build (line 30) | Widget build(BuildContext context)
class _MediaReviewGrid (line 42) | class _MediaReviewGrid extends StatelessWidget {
method build (line 50) | Widget build(BuildContext context)
FILE: lib/feature/media/media_route_tile.dart
class MediaRouteTile (line 8) | class MediaRouteTile extends StatelessWidget {
method build (line 16) | Widget build(BuildContext context)
FILE: lib/feature/media/media_staff_view.dart
class MediaStaffSubview (line 10) | class MediaStaffSubview extends StatelessWidget {
method build (line 18) | Widget build(BuildContext context)
FILE: lib/feature/media/media_stats_view.dart
class MediaStatsSubview (line 19) | class MediaStatsSubview extends StatelessWidget {
method build (line 35) | Widget build(BuildContext context)
function build (line 87) | Widget build(BuildContext context)
FILE: lib/feature/media/media_threads_view.dart
class MediaThreadsSubview (line 6) | class MediaThreadsSubview extends StatelessWidget {
method build (line 20) | Widget build(BuildContext context)
FILE: lib/feature/media/media_view.dart
class MediaView (line 30) | class MediaView extends StatefulWidget {
method createState (line 37) | State<MediaView> createState()
class _MediaViewState (line 40) | class _MediaViewState extends State<MediaView> {
method dispose (line 44) | void dispose()
method build (line 50) | Widget build(BuildContext context)
class _CompactView (line 94) | class _CompactView extends StatefulWidget {
method createState (line 110) | State<_CompactView> createState()
class _CompactViewState (line 113) | class _CompactViewState extends State<_CompactView> with SingleTickerPro...
method dispose (line 117) | void dispose()
method build (line 123) | Widget build(BuildContext context)
class _LargeView (line 150) | class _LargeView extends StatefulWidget {
method createState (line 168) | State<_LargeView> createState()
class _LargeViewState (line 171) | class _LargeViewState extends State<_LargeView> with SingleTickerProvide...
method dispose (line 175) | void dispose()
method build (line 181) | Widget build(BuildContext context)
class _MediaTabs (line 236) | class _MediaTabs extends ConsumerStatefulWidget {
method createState (line 255) | ConsumerState<_MediaTabs> createState()
class __MediaSubViewState (line 258) | class __MediaSubViewState extends ConsumerState<_MediaTabs> {
method initState (line 264) | void initState()
method deactivate (line 275) | void deactivate()
method dispose (line 284) | void dispose()
method _tabListener (line 290) | void _tabListener()
method _scrollListener (line 304) | void _scrollListener()
method _loadNextPage (line 313) | void _loadNextPage()
method build (line 330) | Widget build(BuildContext context)
FILE: lib/feature/notification/notifications_filter_model.dart
type NotificationsFilter (line 1) | enum NotificationsFilter {
FILE: lib/feature/notification/notifications_filter_provider.dart
class NotificationsFilterNotifier (line 9) | class NotificationsFilterNotifier extends Notifier<NotificationsFilter> {
method build (line 11) | NotificationsFilter build()
FILE: lib/feature/notification/notifications_model.dart
type NotificationType (line 5) | enum NotificationType {
class SiteNotification (line 36) | sealed class SiteNotification {
method maybe (line 45) | SiteNotification? maybe(Map<String, dynamic> map, ImageQuality imageQu...
class FollowNotification (line 78) | class FollowNotification extends SiteNotification {
class ActivityNotification (line 99) | class ActivityNotification extends SiteNotification {
class ThreadNotification (line 137) | class ThreadNotification extends SiteNotification {
class ThreadCommentNotification (line 164) | class ThreadCommentNotification extends SiteNotification {
class MediaReleaseNotification (line 228) | class MediaReleaseNotification extends SiteNotification {
class MediaChangeNotification (line 268) | class MediaChangeNotification extends SiteNotification {
class MediaDeletionNotification (line 310) | class MediaDeletionNotification extends SiteNotification {
class SubmissionUpdateNotification (line 331) | sealed class SubmissionUpdateNotification extends SiteNotification {
class MediaSubmissionUpdateNotification (line 344) | class MediaSubmissionUpdateNotification extends SubmissionUpdateNotifica...
class CharacterSubmissionUpdateNotification (line 367) | class CharacterSubmissionUpdateNotification extends SubmissionUpdateNoti...
class StaffSubmissionUpdateNotification (line 392) | class StaffSubmissionUpdateNotification extends SubmissionUpdateNotifica...
FILE: lib/feature/notification/notifications_provider.dart
class NotificationsNotifier (line 17) | class NotificationsNotifier extends AsyncNotifier<PagedWithTotal<SiteNot...
method build (line 21) | FutureOr<PagedWithTotal<SiteNotification>> build()
method fetch (line 26) | Future<void> fetch()
method _fetch (line 32) | Future<PagedWithTotal<SiteNotification>> _fetch(PagedWithTotal<SiteNot...
FILE: lib/feature/notification/notifications_view.dart
class NotificationsView (line 30) | class NotificationsView extends ConsumerStatefulWidget {
method createState (line 34) | ConsumerState<NotificationsView> createState()
class _NotificationsViewState (line 37) | class _NotificationsViewState extends ConsumerState<NotificationsView> {
method initState (line 43) | void initState()
method dispose (line 49) | void dispose()
method build (line 55) | Widget build(BuildContext context)
method _showFilterSheet (line 101) | void _showFilterSheet()
class _Content (line 127) | class _Content extends StatelessWidget {
method build (line 141) | Widget build(BuildContext context)
class _NotificationItem (line 157) | class _NotificationItem extends StatelessWidget {
method build (line 166) | Widget build(BuildContext context)
class _NotificationDialog (line 298) | class _NotificationDialog extends StatelessWidget {
method build (line 304) | Widget build(BuildContext context)
FILE: lib/feature/review/review_grid.dart
class ReviewGrid (line 13) | class ReviewGrid extends StatelessWidget {
method build (line 20) | Widget build(BuildContext context)
class _Tile (line 42) | class _Tile extends StatelessWidget {
method build (line 49) | Widget build(BuildContext context)
FILE: lib/feature/review/review_header.dart
class ReviewHeader (line 7) | class ReviewHeader extends StatelessWidget {
method build (line 15) | Widget build(BuildContext context)
FILE: lib/feature/review/review_models.dart
class ReviewItem (line 6) | class ReviewItem {
class Review (line 33) | class Review {
class ReviewsFilter (line 96) | class ReviewsFilter {
method copyWith (line 102) | ReviewsFilter copyWith({(MediaType?,)? mediaType, ReviewsSort? sort})
type ReviewsSort (line 108) | enum ReviewsSort {
FILE: lib/feature/review/review_provider.dart
class ReviewNotifier (line 14) | class ReviewNotifier extends AsyncNotifier<Review> {
method build (line 20) | FutureOr<Review> build()
method rate (line 28) | Future<Object?> rate(bool? rating)
FILE: lib/feature/review/review_view.dart
class ReviewView (line 12) | class ReviewView extends StatelessWidget {
method build (line 19) | Widget build(BuildContext context)
class _RateButtons (line 82) | class _RateButtons extends StatefulWidget {
method createState (line 89) | _RateButtonsState createState()
class _RateButtonsState (line 92) | class _RateButtonsState extends State<_RateButtons> {
method build (line 94) | Widget build(BuildContext context)
method _rate (line 128) | void _rate(bool? rating)
FILE: lib/feature/review/reviews_filter_provider.dart
class ReviewsFilterNotifier (line 7) | class ReviewsFilterNotifier extends Notifier<ReviewsFilter> {
method build (line 13) | ReviewsFilter build()
FILE: lib/feature/review/reviews_filter_sheet.dart
function showReviewsFilterSheet (line 8) | Future<void> showReviewsFilterSheet({
FILE: lib/feature/review/reviews_provider.dart
class ReviewsNotifier (line 13) | class ReviewsNotifier extends AsyncNotifier<PagedWithTotal<ReviewItem>> {
method build (line 21) | FutureOr<PagedWithTotal<ReviewItem>> build()
method fetch (line 26) | Future<void> fetch()
method _fetch (line 32) | Future<PagedWithTotal<ReviewItem>> _fetch(PagedWithTotal<ReviewItem> o...
FILE: lib/feature/review/reviews_view.dart
class ReviewsView (line 17) | class ReviewsView extends ConsumerStatefulWidget {
method createState (line 23) | ConsumerState<ReviewsView> createState()
class _ReviewsViewState (line 26) | class _ReviewsViewState extends ConsumerState<ReviewsView> {
method dispose (line 32) | void dispose()
method build (line 38) | Widget build(BuildContext context)
FILE: lib/feature/settings/settings_about_view.dart
class SettingsAboutSubview (line 11) | class SettingsAboutSubview extends StatelessWidget {
method build (line 17) | Widget build(BuildContext context)
FILE: lib/feature/settings/settings_app_view.dart
class SettingsAppSubview (line 13) | class SettingsAppSubview extends ConsumerWidget {
method build (line 19) | Widget build(BuildContext context, WidgetRef ref)
FILE: lib/feature/settings/settings_content_view.dart
class SettingsContentSubview (line 11) | class SettingsContentSubview extends StatelessWidget {
method build (line 19) | Widget build(BuildContext context)
class _ListManagement (line 209) | class _ListManagement extends StatefulWidget {
method createState (line 223) | State<_ListManagement> createState()
class _ListManagementState (line 226) | class _ListManagementState extends State<_ListManagement> {
method build (line 228) | Widget build(BuildContext context)
FILE: lib/feature/settings/settings_model.dart
class Settings (line 7) | class Settings {
method copy (line 101) | Settings copy({int unreadNotifications = 0})
method toGraphQlVariables (line 121) | Map<String, dynamic> toGraphQlVariables()
type TitleLanguage (line 145) | enum TitleLanguage {
type PersonNaming (line 159) | enum PersonNaming {
FILE: lib/feature/settings/settings_notifications_view.dart
class SettingsNotificationsSubview (line 6) | class SettingsNotificationsSubview extends StatelessWidget {
method build (line 13) | Widget build(BuildContext context)
FILE: lib/feature/settings/settings_provider.dart
class SettingsNotifier (line 15) | class SettingsNotifier extends AsyncNotifier<Settings> {
method build (line 17) | FutureOr<Settings> build()
method updateSettings (line 27) | Future<void> updateSettings(Settings other)
method refetchUnread (line 70) | Future<void> refetchUnread()
method clearUnread (line 81) | void clearUnread()
FILE: lib/feature/settings/settings_view.dart
class SettingsView (line 20) | class SettingsView extends ConsumerStatefulWidget {
method createState (line 24) | ConsumerState<SettingsView> createState()
class _SettingsViewState (line 27) | class _SettingsViewState extends ConsumerState<SettingsView> with Single...
method initState (line 33) | void initState()
method dispose (line 39) | void dispose()
method build (line 46) | Widget build(BuildContext context)
class _SaveButton (line 135) | class _SaveButton extends StatefulWidget {
method createState (line 141) | State<_SaveButton> createState()
class __SaveButtonState (line 144) | class __SaveButtonState extends State<_SaveButton> {
method build (line 148) | Widget build(BuildContext context)
FILE: lib/feature/settings/theme_preview.dart
class ThemePreview (line 11) | class ThemePreview extends StatelessWidget {
method build (line 18) | Widget build(BuildContext context)
class _ThemeCard (line 80) | class _ThemeCard extends StatelessWidget {
method build (line 94) | Widget build(BuildContext context)
FILE: lib/feature/social/social_model.dart
class Social (line 6) | class Social {
method getCount (line 19) | int getCount(SocialTab tab)
type SocialTab (line 27) | enum SocialTab {
FILE: lib/feature/social/social_provider.dart
class SocialNotifier (line 15) | class SocialNotifier extends AsyncNotifier<Social> {
method build (line 21) | FutureOr<Social> build()
method fetch (line 23) | Future<void> fetch(SocialTab tab)
method _fetch (line 38) | Future<Social> _fetch(Social oldState, SocialTab? tab)
FILE: lib/feature/social/social_view.dart
class SocialView (line 20) | class SocialView extends ConsumerStatefulWidget {
method createState (line 26) | ConsumerState<SocialView> createState()
class _SocialViewState (line 29) | class _SocialViewState extends ConsumerState<SocialView> with SingleTick...
method initState (line 37) | void initState()
method dispose (line 43) | void dispose()
method build (line 50) | Widget build(BuildContext context)
class _CommentItemList (line 127) | class _CommentItemList extends StatelessWidget {
method build (line 136) | Widget build(BuildContext context)
FILE: lib/feature/staff/staff_characters_view.dart
class StaffCharactersSubview (line 10) | class StaffCharactersSubview extends StatelessWidget {
method build (line 22) | Widget build(BuildContext context)
FILE: lib/feature/staff/staff_filter_model.dart
class StaffFilter (line 3) | class StaffFilter {
method copyWith (line 10) | StaffFilter copyWith({MediaSort? sort, (bool?,)? ofAnime, (bool?,)? in...
FILE: lib/feature/staff/staff_filter_provider.dart
class StaffFilterNotifier (line 7) | class StaffFilterNotifier extends Notifier<StaffFilter> {
method build (line 13) | StaffFilter build()
FILE: lib/feature/staff/staff_floating_actions.dart
class StaffFilterButton (line 11) | class StaffFilterButton extends StatelessWidget {
method build (line 18) | Widget build(BuildContext context)
FILE: lib/feature/staff/staff_header.dart
class StaffHeader (line 8) | class StaffHeader extends StatelessWidget {
method build (line 37) | Widget build(BuildContext context)
class _FavoriteButton (line 64) | class _FavoriteButton extends StatefulWidget {
method createState (line 71) | State<_FavoriteButton> createState()
class __FavoriteButtonState (line 74) | class __FavoriteButtonState extends State<_FavoriteButton> {
method build (line 76) | Widget build(BuildContext context)
FILE: lib/feature/staff/staff_item_grid.dart
class StaffItemGrid (line 11) | class StaffItemGrid extends StatelessWidget {
method build (line 18) | Widget build(BuildContext context)
class _Tile (line 36) | class _Tile extends StatelessWidget {
method build (line 44) | Widget build(BuildContext context)
FILE: lib/feature/staff/staff_item_model.dart
class StaffItem (line 1) | class StaffItem {
FILE: lib/feature/staff/staff_model.dart
class Staff (line 8) | class Staff {
class StaffRelations (line 95) | class StaffRelations {
class StaffRelatedItem (line 102) | class StaffRelatedItem implements TileModelable {
FILE: lib/feature/staff/staff_overview_view.dart
class StaffOverviewSubview (line 9) | class StaffOverviewSubview extends StatelessWidget {
method build (line 31) | Widget build(BuildContext context)
FILE: lib/feature/staff/staff_provider.dart
class StaffNotifier (line 21) | class StaffNotifier extends AsyncNotifier<Staff> {
method build (line 27) | FutureOr<Staff> build()
method toggleFavorite (line 40) | Future<Object?> toggleFavorite()
class StaffRelationsNotifier (line 47) | class StaffRelationsNotifier extends AsyncNotifier<StaffRelations> {
method build (line 55) | FutureOr<StaffRelations> build()
method fetch (line 60) | Future<void> fetch(bool onCharacters)
method _fetch (line 70) | Future<StaffRelations> _fetch(StaffRelations oldState, bool? onCharact...
FILE: lib/feature/staff/staff_roles_view.dart
class StaffRolesSubview (line 10) | class StaffRolesSubview extends StatelessWidget {
method build (line 18) | Widget build(BuildContext context)
FILE: lib/feature/staff/staff_view.dart
class StaffView (line 21) | class StaffView extends ConsumerStatefulWidget {
method createState (line 28) | ConsumerState<StaffView> createState()
class _StaffViewState (line 31) | class _StaffViewState extends ConsumerState<StaffView> {
method dispose (line 35) | void dispose()
method build (line 41) | Widget build(BuildContext context)
class _CompactView (line 83) | class _CompactView extends StatefulWidget {
method createState (line 103) | State<_CompactView> createState()
class _CompactViewState (line 106) | class _CompactViewState extends State<_CompactView> with SingleTickerPro...
method initState (line 110) | void initState()
method dispose (line 120) | void dispose()
method build (line 126) | Widget build(BuildContext context)
class _LargeView (line 159) | class _LargeView extends StatefulWidget {
method createState (line 179) | State<_LargeView> createState()
class _LargeViewState (line 182) | class _LargeViewState extends State<_LargeView> with SingleTickerProvide...
method initState (line 186) | void initState()
method dispose (line 194) | void dispose()
method build (line 200) | Widget build(BuildContext context)
class _StaffTabs (line 249) | class _StaffTabs extends ConsumerStatefulWidget {
method createState (line 274) | ConsumerState<_StaffTabs> createState()
class __StaffViewContentState (line 277) | class __StaffViewContentState extends ConsumerState<_StaffTabs> {
method initState (line 282) | void initState()
method dispose (line 293) | void dispose()
method _tabListener (line 299) | void _tabListener()
method _scrollListener (line 313) | void _scrollListener()
method _loadNextPage (line 322) | void _loadNextPage()
method build (line 331) | Widget build(BuildContext context)
FILE: lib/feature/statistics/charts.dart
function build (line 17) | Widget build(BuildContext context)
function scale (line 24) | double scale(num value)
FILE: lib/feature/statistics/statistics_model.dart
class Statistics (line 4) | class Statistics {
class AmountStatistics (line 82) | class AmountStatistics {
class TypeStatistics (line 104) | class TypeStatistics {
FILE: lib/feature/statistics/statistics_view.dart
class StatisticsView (line 22) | class StatisticsView extends StatefulWidget {
method createState (line 28) | State<StatisticsView> createState()
class _StatisticsViewState (line 31) | class _StatisticsViewState extends State<StatisticsView> with SingleTick...
method initState (line 40) | void initState()
method dispose (line 46) | void dispose()
method build (line 53) | Widget build(BuildContext context)
class _StatisticsView (line 119) | class _StatisticsView extends StatelessWidget {
method build (line 141) | Widget build(BuildContext context)
class _Details (line 193) | class _Details extends StatelessWidget {
method build (line 229) | Widget build(BuildContext context)
class _BarChart (line 281) | class _BarChart extends StatefulWidget {
method createState (line 299) | State<_BarChart> createState()
class _BarChartState (line 302) | class _BarChartState extends State<_BarChart> {
method build (line 306) | Widget build(BuildContext context)
class _PieChart (line 358) | class _PieChart extends StatelessWidget {
method build (line 366) | Widget build(BuildContext context)
FILE: lib/feature/studio/studio_filter_model.dart
class StudioFilter (line 3) | class StudioFilter {
method copyWith (line 10) | StudioFilter copyWith({MediaSort? sort, (bool?,)? inLists, (bool?,)? i...
FILE: lib/feature/studio/studio_filter_provider.dart
class StudioFilterNotifier (line 7) | class StudioFilterNotifier extends Notifier<StudioFilter> {
method build (line 13) | StudioFilter build()
FILE: lib/feature/studio/studio_floating_actions.dart
class StudioFilterButton (line 11) | class StudioFilterButton extends StatelessWidget {
method build (line 18) | Widget build(BuildContext context)
FILE: lib/feature/studio/studio_header.dart
class StudioHeader (line 6) | class StudioHeader extends StatelessWidget {
method build (line 20) | Widget build(BuildContext context)
class _FavoriteButton (line 56) | class _FavoriteButton extends StatefulWidget {
method createState (line 63) | State<_FavoriteButton> createState()
class __FavoriteButtonState (line 66) | class __FavoriteButtonState extends State<_FavoriteButton> {
method build (line 68) | Widget build(BuildContext context)
FILE: lib/feature/studio/studio_item_grid.dart
class StudioItemGrid (line 10) | class StudioItemGrid extends StatelessWidget {
method build (line 17) | Widget build(BuildContext context)
FILE: lib/feature/studio/studio_item_model.dart
class StudioItem (line 1) | class StudioItem {
FILE: lib/feature/studio/studio_model.dart
class Studio (line 6) | class Studio {
class StudioMedia (line 30) | class StudioMedia {
FILE: lib/feature/studio/studio_provider.dart
class StudioNotifier (line 20) | class StudioNotifier extends AsyncNotifier<Studio> {
method build (line 26) | FutureOr<Studio> build()
method toggleFavorite (line 34) | Future<Object?> toggleFavorite()
class StudioMediaNotifier (line 41) | class StudioMediaNotifier extends AsyncNotifier<Paged<StudioMedia>> {
method build (line 49) | FutureOr<Paged<StudioMedia>> build()
method fetch (line 54) | Future<void> fetch()
method _fetch (line 60) | Future<Paged<StudioMedia>> _fetch(Paged<StudioMedia> oldState)
FILE: lib/feature/studio/studio_view.dart
class StudioView (line 24) | class StudioView extends ConsumerStatefulWidget {
method createState (line 31) | ConsumerState<StudioView> createState()
class _StudioViewState (line 34) | class _StudioViewState extends ConsumerState<StudioView> {
method dispose (line 42) | void dispose()
method build (line 48) | Widget build(BuildContext context)
class _StudioMediaGrid (line 120) | class _StudioMediaGrid extends StatelessWidget {
method build (line 127) | Widget build(BuildContext context)
class _MediaTile (line 146) | class _MediaTile extends StatelessWidget {
method build (line 154) | Widget build(BuildContext context)
FILE: lib/feature/tag/tag_model.dart
class Tag (line 5) | class Tag {
class TagCollection (line 27) | class TagCollection {
FILE: lib/feature/tag/tag_picker.dart
class TagPicker (line 14) | class TagPicker extends StatefulWidget {
method createState (line 28) | TagPickerState createState()
class TagPickerState (line 31) | class TagPickerState extends State<TagPicker> {
method build (line 33) | Widget build(BuildContext context)
method _toggleGenre (line 130) | void _toggleGenre(String name, bool positive)
method _toggleTag (line 140) | void _toggleTag(String name, bool positive)
class _DualStateTagChip (line 151) | class _DualStateTagChip extends StatefulWidget {
method createState (line 166) | State<_DualStateTagChip> createState()
class _DualStateTagChipState (line 169) | class _DualStateTagChipState extends State<_DualStateTagChip> {
method build (line 173) | Widget build(BuildContext context)
class _FilterTagSheet (line 196) | class _FilterTagSheet extends ConsumerStatefulWidget {
method createState (line 214) | ConsumerState<_FilterTagSheet> createState()
class _FilterTagSheetState (line 217) | class _FilterTagSheetState extends ConsumerState<_FilterTagSheet> {
method initState (line 224) | void initState()
method build (line 231) | Widget build(BuildContext context)
method _onSearch (line 312) | void _onSearch(String val)
method _categoryChipBuilder (line 347) | Widget _categoryChipBuilder(BuildContext context, int i)
class _TagCategoryChip (line 371) | class _TagCategoryChip extends StatelessWidget {
method build (line 379) | Widget build(BuildContext context)
FILE: lib/feature/thread/thread_model.dart
class Thread (line 6) | class Thread {
method withChangingCommentPage (line 36) | Thread withChangingCommentPage(int commentPage)
method withChangedCommentPage (line 43) | Thread withChangedCommentPage(Map<String, dynamic> map)
method withAppendedComment (line 45) | Thread withAppendedComment(Map<String, dynamic> map, int? parentCommen...
class ThreadInfo (line 70) | class ThreadInfo {
type ThreadMedia (line 146) | typedef ThreadMedia = ({int id, String title, String coverUrl});
FILE: lib/feature/thread/thread_provider.dart
class ThreadNotifier (line 14) | class ThreadNotifier extends AsyncNotifier<Thread> {
method build (line 20) | FutureOr<Thread> build()
method changePage (line 31) | Future<void> changePage(int page)
method appendComment (line 46) | void appendComment(Map<String, dynamic> map, int? parentCommentId)
method toggleThreadLike (line 58) | Future<Object?> toggleThreadLike()
method toggleCommentLike (line 68) | Future<Object?> toggleCommentLike(int commentId)
method toggleThreadSubscription (line 75) | Future<Object?> toggleThreadSubscription()
method delete (line 96) | Future<Object?> delete()
FILE: lib/feature/thread/thread_view.dart
class ThreadView (line 30) | class ThreadView extends ConsumerStatefulWidget {
method createState (line 36) | ConsumerState<ThreadView> createState()
class _ThreadViewState (line 39) | class _ThreadViewState extends ConsumerState<ThreadView> {
method dispose (line 43) | void dispose()
method build (line 49) | Widget build(BuildContext context)
method _topBarTrailingContent (line 110) | List<Widget> _topBarTrailingContent(Thread thread, int? viewerId)
method _toggleSubscription (line 165) | void _toggleSubscription()
method _delete (line 179) | void _delete()
class _BottomBar (line 193) | class _BottomBar extends StatefulWidget {
method createState (line 200) | State<_BottomBar> createState()
class __BottomBarState (line 203) | class __BottomBarState extends State<_BottomBar> {
method didUpdateWidget (line 207) | void didUpdateWidget(covariant _BottomBar oldWidget)
method build (line 213) | Widget build(BuildContext context)
function build (line 257) | Widget build(BuildContext context)
FILE: lib/feature/user/user_header.dart
class UserHeader (line 20) | class UserHeader extends StatelessWidget {
method build (line 36) | Widget build(BuildContext context)
class _AccountPicker (line 87) | class _AccountPicker extends StatefulWidget {
method createState (line 91) | State<_AccountPicker> createState()
function build (line 101) | Widget build(BuildContext context)
FILE: lib/feature/user/user_item_grid.dart
class UserItemGrid (line 11) | class UserItemGrid extends StatelessWidget {
method build (line 18) | Widget build(BuildContext context)
class _Tile (line 35) | class _Tile extends StatelessWidget {
method build (line 43) | Widget build(BuildContext context)
FILE: lib/feature/user/user_item_model.dart
class UserItem (line 1) | class UserItem {
FILE: lib/feature/user/user_model.dart
class User (line 6) | class User {
FILE: lib/feature/user/user_providers.dart
type UserTag (line 9) | typedef UserTag = ({int? id, String? name});
function idUserTag (line 11) | UserTag idUserTag(int id)
function nameUserTag (line 13) | UserTag nameUserTag(String name)
class UserNotifier (line 19) | class UserNotifier extends AsyncNotifier<User> {
method build (line 25) | FutureOr<User> build()
method toggleFollow (line 32) | Future<Object?> toggleFollow(int userId)
FILE: lib/feature/user/user_view.dart
class UserView (line 20) | class UserView extends StatelessWidget {
method build (line 27) | Widget build(BuildContext context)
class UserHomeView (line 33) | class UserHomeView extends StatelessWidget {
method build (line 47) | Widget build(BuildContext context)
class _UserView (line 86) | class _UserView extends StatelessWidget {
method build (line 94) | Widget build(BuildContext context)
function build (line 183) | Widget build(BuildContext context)
FILE: lib/feature/viewer/persistence_model.dart
class Persistence (line 14) | class Persistence {
method copyWith (line 86) | Persistence copyWith({
type SystemColors (line 111) | typedef SystemColors = ({Color? lightPrimaryColor, Color? darkPrimaryCol...
class AccountGroup (line 113) | class AccountGroup {
method toPersistenceMap (line 145) | Map<String, dynamic> toPersistenceMap()
class Account (line 151) | class Account {
method accessTokenKeyById (line 174) | String accessTokenKeyById(int id)
method toPersistenceMap (line 176) | Map<String, dynamic> toPersistenceMap()
class Options (line 184) | class Options {
method copyWith (line 251) | Options copyWith({
method toPersistenceMap (line 283) | Map<String, dynamic> toPersistenceMap()
type ImageQuality (line 301) | enum ImageQuality {
type ButtonOrientation (line 318) | enum ButtonOrientation { auto, left, right }
class AppMeta (line 320) | class AppMeta {
method toPersistenceMap (line 340) | Map<String, dynamic> toPersistenceMap()
FILE: lib/feature/viewer/persistence_provider.dart
class PersistenceNotifier (line 20) | class PersistenceNotifier extends Notifier<Persistence> {
method build (line 24) | Persistence build()
method init (line 26) | Future<void> init()
method cacheSystemPrimaryColors (line 38) | void cacheSystemPrimaryColors(SystemColors systemColors)
method setOptions (line 42) | void setOptions(Options options)
method setAppMeta (line 47) | void setAppMeta(AppMeta appMeta)
method setAnimeCollectionMediaFilter (line 52) | void setAnimeCollectionMediaFilter(CollectionMediaFilter mediaFilter)
method setMangaCollectionMediaFilter (line 57) | void setMangaCollectionMediaFilter(CollectionMediaFilter mediaFilter)
method setDiscoverMediaFilter (line 62) | void setDiscoverMediaFilter(DiscoverMediaFilter discoverMediaFilter)
method setHomeActivitiesFilter (line 67) | void setHomeActivitiesFilter(HomeActivitiesFilter homeActivitiesFilter)
method setMediaActivitiesFilter (line 72) | void setMediaActivitiesFilter(MediaActivitiesFilter mediaActivitiesFil...
method setCalendarFilter (line 77) | void setCalendarFilter(CalendarFilter calendarFilter)
method refreshViewerDetails (line 82) | void refreshViewerDetails(String newName, String newAvatarUrl)
method switchAccount (line 111) | void switchAccount(int? index)
method addAccount (line 124) | Future<void> addAccount(Account account)
method removeAccount (line 152) | Future<void> removeAccount(int index)
method _setAccountGroup (line 174) | void _setAccountGroup(AccountGroup accountGroup)
FILE: lib/feature/viewer/repository_model.dart
class Repository (line 7) | class Repository {
method request (line 19) | Future<Map<String, dynamic>> request(
FILE: lib/feature/viewer/repository_provider.dart
class RepositoryNotifier (line 8) | class RepositoryNotifier extends Notifier<Repository> {
method build (line 10) | Repository build()
method initAccount (line 18) | Future<Account?> initAccount(String token, int secondsUntilExpiration)
FILE: lib/main.dart
function main (line 14) | Future<void> main()
class _App (line 34) | class _App extends ConsumerStatefulWidget {
method createState (line 38) | AppState createState()
class AppState (line 41) | class AppState extends ConsumerState<_App> {
method initState (line 48) | void initState()
method dispose (line 74) | void dispose()
method build (line 80) | Widget build(BuildContext context)
FILE: lib/util/background_handler.dart
class BackgroundHandler (line 16) | class BackgroundHandler {
method init (line 19) | Future<void> init(StreamController<String> notificationCtrl)
method requestPermissionForNotifications (line 49) | Future<void> requestPermissionForNotifications()
method clearNotifications (line 75) | void clearNotifications()
function _fetch (line 79) | void _fetch()
function _show (line 226) | () _show(SiteNotification notification, String title, String payload)
FILE: lib/util/debounce.dart
class Debounce (line 5) | class Debounce {
method cancel (line 10) | void cancel()
method run (line 12) | void run(void Function() callback)
FILE: lib/util/graphql.dart
class GqlQuery (line 1) | abstract class GqlQuery {
class GqlMutation (line 867) | abstract class GqlMutation {
class _GqlFragment (line 1054) | abstract class _GqlFragment {
FILE: lib/util/markdown.dart
function parseMarkdown (line 3) | String parseMarkdown(String markdown)
class _HeaderSyntax (line 43) | class _HeaderSyntax extends HeaderSyntax {
method parse (line 52) | Node parse(BlockParser parser)
class _DelimitedBlockSyntax (line 70) | abstract class _DelimitedBlockSyntax extends BlockSyntax {
method finalizeElement (line 81) | void finalizeElement(Element element)
method parse (line 84) | Node parse(BlockParser parser)
method parseChildLines (line 104) | List<Line> parseChildLines(BlockParser parser)
method _close (line 126) | bool _close(BlockParser parser, List<Line> childLines, Line line)
class _SpoilerBlockSyntax (line 144) | class _SpoilerBlockSyntax extends _DelimitedBlockSyntax {
method finalizeElement (line 155) | void finalizeElement(Element element)
class _CenterBlockSyntax (line 160) | class _CenterBlockSyntax extends _DelimitedBlockSyntax {
method finalizeElement (line 171) | void finalizeElement(Element element)
class _FencedCodeBlockSyntax (line 176) | class _FencedCodeBlockSyntax extends FencedCodeBlockSyntax {
class _LineBreakSyntax (line 186) | class _LineBreakSyntax extends InlineSyntax {
method onMatch (line 190) | bool onMatch(InlineParser parser, Match match)
class _ImageSyntax (line 198) | class _ImageSyntax extends InlineSyntax {
method onMatch (line 202) | bool onMatch(InlineParser parser, Match match)
class _YouTubeSyntax (line 213) | class _YouTubeSyntax extends InlineSyntax {
method onMatch (line 221) | bool onMatch(InlineParser parser, Match match)
class _VideoSyntax (line 227) | class _VideoSyntax extends InlineSyntax {
method onMatch (line 231) | bool onMatch(InlineParser parser, Match match)
class _MentionSyntax (line 239) | class _MentionSyntax extends InlineSyntax {
method onMatch (line 243) | bool onMatch(InlineParser parser, Match match)
FILE: lib/util/paged.dart
class Paged (line 2) | class Paged<T> {
method withNext (line 14) | Paged<T> withNext(List<T> items, bool hasNext)
class PagedWithTotal (line 18) | class PagedWithTotal<T> extends Paged<T> {
method withNext (line 25) | PagedWithTotal<T> withNext(List<T> items, bool hasNext, [int? total])
FILE: lib/util/paged_controller.dart
class PagedController (line 5) | class PagedController extends ScrollController {
method _listener (line 21) | void _listener()
method detach (line 33) | void detach(ScrollPosition position)
FILE: lib/util/routes.dart
class Routes (line 37) | class Routes {
method home (line 48) | String home([HomeTab? tab])
method media (line 50) | String media(int id, [String? imageUrl])
method character (line 53) | String character(int id, [String? imageUrl])
method staff (line 56) | String staff(int id, [String? imageUrl])
method user (line 59) | String user(int id, [String? imageUrl])
method userByName (line 62) | String userByName(String name, [String? imageUrl])
method studio (line 65) | String studio(int id, [String? name])
method review (line 67) | String review(int id, [String? imageUrl])
method activity (line 70) | String activity(int id, [ActivitiesTag? tag])
method thread (line 75) | String thread(int id)
method comment (line 77) | String comment(int id)
method animeCollection (line 79) | String animeCollection(int id)
method mangaCollection (line 81) | String mangaCollection(int id)
method activities (line 83) | String activities(int id)
method favorites (line 85) | String favorites(int id)
method social (line 87) | String social(int id)
method reviews (line 89) | String reviews(int id)
method statistics (line 91) | String statistics(int id)
method buildRouter (line 93) | GoRouter buildRouter(bool Function() mustConfirmExit)
function _parseIdOr404 (line 305) | String? _parseIdOr404(BuildContext context, GoRouterState state)
class NotFoundView (line 308) | class NotFoundView extends StatelessWidget {
method build (line 312) | Widget build(BuildContext context)
class _AuthView (line 328) | class _AuthView extends ConsumerStatefulWidget {
method createState (line 334) | ConsumerState<_AuthView> createState()
class __AuthViewState (line 337) | class __AuthViewState extends ConsumerState<_AuthView> {
method initState (line 339) | void initState()
method didUpdateWidget (line 356) | void didUpdateWidget(covariant _AuthView oldWidget)
method build (line 365) | Widget build(BuildContext context)
method _attemptToFinishAccountSetup (line 376) | void _attemptToFinishAccountSetup()
FILE: lib/util/theming.dart
type FormFactor (line 5) | enum FormFactor { phone, tablet }
type ThemeBase (line 7) | enum ThemeBase {
class Theming (line 22) | class Theming extends ThemeExtension<Theming> {
method of (line 33) | Theming of(BuildContext context)
method copyWith (line 38) | ThemeExtension<Theming> copyWith({FormFactor? formFactor, bool? rightB...
method lerp (line 45) | ThemeExtension<Theming> lerp(covariant ThemeExtension<Theming>? other,...
method generateThemeData (line 74) | ThemeData generateThemeData(ColorScheme scheme)
FILE: lib/util/tile_modelable.dart
class TileModelable (line 3) | abstract class TileModelable {
FILE: lib/widget/cached_image.dart
function clearImageCache (line 12) | void clearImageCache()
class CachedImage (line 16) | class CachedImage extends StatelessWidget {
method build (line 30) | Widget build(BuildContext context)
FILE: lib/widget/dialogs.dart
class TextInputDialog (line 7) | class TextInputDialog extends StatefulWidget {
method createState (line 15) | State<TextInputDialog> createState()
class _TextInputDialogState (line 18) | class _TextInputDialogState extends State<TextInputDialog> {
method dispose (line 23) | void dispose()
method build (line 29) | Widget build(BuildContext context)
class DialogBox (line 74) | class DialogBox extends StatelessWidget {
method build (line 80) | Widget build(BuildContext context)
class ConfirmationDialog (line 91) | class ConfirmationDialog extends StatelessWidget {
method show (line 104) | Future<void> show(
method build (line 122) | Widget build(BuildContext context)
class ImageDialog (line 135) | class ImageDialog extends StatefulWidget {
method createState (line 141) | State<ImageDialog> createState()
class _ImageDialogState (line 144) | class _ImageDialogState extends State<ImageDialog> with SingleTickerProv...
method initState (line 154) | void initState()
method dispose (line 161) | void dispose()
method _updateState (line 167) | void _updateState()
method _endAnimation (line 169) | void _endAnimation()
method _animateMatrixTo (line 175) | void _animateMatrixTo(Matrix4 goal)
method build (line 183) | Widget build(BuildContext context)
class TextDialog (line 216) | class TextDialog extends StatelessWidget {
method build (line 223) | Widget build(BuildContext context)
class HtmlDialog (line 226) | class HtmlDialog extends StatelessWidget {
method build (line 233) | Widget build(BuildContext context)
class _DialogColumn (line 236) | class _DialogColumn extends StatelessWidget {
method build (line 243) | Widget build(BuildContext context)
FILE: lib/widget/grid/chip_grid.dart
class ChipGrid (line 5) | class ChipGrid extends StatelessWidget {
method build (line 21) | Widget build(BuildContext context)
FILE: lib/widget/grid/dual_relation_grid.dart
class DualRelationGrid (line 9) | class DualRelationGrid extends StatelessWidget {
method build (line 23) | Widget build(BuildContext context)
class _Tile (line 49) | class _Tile extends StatelessWidget {
method build (line 67) | Widget build(BuildContext context)
FILE: lib/widget/grid/mono_relation_grid.dart
class MonoRelationGrid (line 9) | class MonoRelationGrid extends StatelessWidget {
method build (line 17) | Widget build(BuildContext context)
class _Tile (line 37) | class _Tile extends StatelessWidget {
method build (line 51) | Widget build(BuildContext context)
FILE: lib/widget/grid/sliver_grid_delegates.dart
class SliverGridDelegateWithMinWidthAndFixedHeight (line 6) | class SliverGridDelegateWithMinWidthAndFixedHeight extends SliverGridDel...
method _debugAssertIsValid (line 22) | bool _debugAssertIsValid()
method getLayout (line 31) | SliverGridLayout getLayout(SliverConstraints constraints)
method shouldRelayout (line 56) | bool shouldRelayout(SliverGridDelegateWithMinWidthAndFixedHeight oldDe...
class SliverGridDelegateWithMinWidthAndExtraHeight (line 66) | class SliverGridDelegateWithMinWidthAndExtraHeight extends SliverGridDel...
method _debugAssertIsValid (line 85) | bool _debugAssertIsValid()
method getLayout (line 95) | SliverGridLayout getLayout(SliverConstraints constraints)
method shouldRelayout (line 121) | bool shouldRelayout(SliverGridDelegateWithMinWidthAndExtraHeight oldDe...
FILE: lib/widget/html_content.dart
class HtmlContent (line 13) | class HtmlContent extends StatelessWidget {
method build (line 20) | Widget build(BuildContext context)
FILE: lib/widget/input/chip_selector.dart
class ChipSelector (line 8) | class ChipSelector<T> extends StatefulWidget {
method createState (line 58) | State<ChipSelector<T>> createState()
class _ChipSelectorState (line 61) | class _ChipSelectorState<T> extends State<ChipSelector<T>> {
method didUpdateWidget (line 65) | void didUpdateWidget(covariant ChipSelector<T> oldWidget)
method build (line 71) | Widget build(BuildContext context)
class ChipMultiSelector (line 96) | class ChipMultiSelector<T> extends StatefulWidget {
method createState (line 110) | State<ChipMultiSelector<T>> createState()
class _ChipMultiSelectorState (line 113) | class _ChipMultiSelectorState<T> extends State<ChipMultiSelector<T>> {
method build (line 115) | Widget build(BuildContext context)
class EntrySortChipSelector (line 134) | class EntrySortChipSelector extends StatefulWidget {
method createState (line 148) | State<EntrySortChipSelector> createState()
class _EntrySortChipSelectorState (line 151) | class _EntrySortChipSelectorState extends State<EntrySortChipSelector> {
method initState (line 156) | void initState()
method didUpdateWidget (line 164) | void didUpdateWidget(covariant EntrySortChipSelector oldWidget)
method build (line 170) | Widget build(BuildContext context)
class _ChipSelector (line 205) | class _ChipSelector extends StatelessWidget {
method build (line 213) | Widget build(BuildContext context)
FILE: lib/widget/input/date_field.dart
class DateField (line 6) | class DateField extends StatefulWidget {
method createState (line 14) | State<DateField> createState()
class _DateFieldState (line 17) | class _DateFieldState extends State<DateField> {
method didUpdateWidget (line 22) | void didUpdateWidget(covariant DateField oldWidget)
method dispose (line 30) | void dispose()
method build (line 36) | Widget build(BuildContext context)
FILE: lib/widget/input/note_label.dart
class NotesLabel (line 6) | class NotesLabel extends StatelessWidget {
method build (line 12) | Widget build(BuildContext context)
FILE: lib/widget/input/number_field.dart
class NumberField (line 5) | class NumberField extends StatefulWidget {
method createState (line 57) | State<NumberField> createState()
class _NumberFieldState (line 60) | class _NumberFieldState extends State<NumberField> {
method didUpdateWidget (line 65) | void didUpdateWidget(covariant NumberField oldWidget)
method dispose (line 77) | void dispose()
method build (line 83) | Widget build(BuildContext context)
method _validateInput (line 137) | void _validateInput(String value, [num? add])
FILE: lib/widget/input/pill_selector.dart
class PillSelector (line 4) | class PillSelector extends StatelessWidget {
method expectedMinHeight (line 23) | double expectedMinHeight(int itemCount)
method build (line 27) | Widget build(BuildContext context)
FILE: lib/widget/input/score_label.dart
class ScoreLabel (line 5) | class ScoreLabel extends StatelessWidget {
method build (line 12) | Widget build(BuildContext context)
FILE: lib/widget/input/search_field.dart
class SearchField (line 5) | class SearchField extends StatefulWidget {
method createState (line 21) | State<SearchField> createState()
class _SearchFieldState (line 24) | class _SearchFieldState extends State<SearchField> {
method didUpdateWidget (line 28) | void didUpdateWidget(covariant SearchField oldWidget)
method dispose (line 34) | void dispose()
method build (line 40) | Widget build(BuildContext context)
FILE: lib/widget/input/stateful_tiles.dart
class StatefulSwitchListTile (line 4) | class StatefulSwitchListTile extends StatefulWidget {
method createState (line 18) | State<StatefulSwitchListTile> createState()
class _StatefulSwitchListTileState (line 21) | class _StatefulSwitchListTileState extends State<StatefulSwitchListTile> {
method didUpdateWidget (line 25) | void didUpdateWidget(covariant StatefulSwitchListTile oldWidget)
method build (line 31) | Widget build(BuildContext context)
class StatefulCheckboxListTile (line 48) | class StatefulCheckboxListTile extends StatefulWidget {
method createState (line 62) | State<StatefulCheckboxListTile> createState()
class _StatefulCheckboxListTileState (line 65) | class _StatefulCheckboxListTileState extends State<StatefulCheckboxListT...
method didUpdateWidget (line 69) | void didUpdateWidget(covariant StatefulCheckboxListTile oldWidget)
method build (line 75) | Widget build(BuildContext context)
class StatefulSegmentedButton (line 91) | class StatefulSegmentedButton<T> extends StatefulWidget {
method createState (line 104) | State<StatefulSegmentedButton<T>> createState()
class _StatefulSegmentedButtonState (line 107) | class _StatefulSegmentedButtonState<T> extends State<StatefulSegmentedBu...
method didUpdateWidget (line 111) | void didUpdateWidget(covariant StatefulSegmentedButton<T> oldWidget)
method build (line 117) | Widget build(BuildContext context)
FILE: lib/widget/input/year_range_picker.dart
class YearRangePicker (line 7) | class YearRangePicker extends StatefulWidget {
method createState (line 21) | State<YearRangePicker> createState()
class _YearRangePickerState (line 24) | class _YearRangePickerState extends State<YearRangePicker> {
method initState (line 30) | void initState()
method didUpdateWidget (line 36) | void didUpdateWidget(covariant YearRangePicker oldWidget)
method _init (line 41) | void _init()
method build (line 51) | Widget build(BuildContext context)
FILE: lib/widget/layout/adaptive_scaffold.dart
class AdaptiveScaffold (line 6) | class AdaptiveScaffold extends StatelessWidget {
method build (line 27) | Widget build(BuildContext context)
class NavigationConfig (line 92) | class NavigationConfig {
class _StartFloatFabLocation (line 106) | class _StartFloatFabLocation extends StandardFabLocation with FabStartOf...
method getOffsetX (line 116) | double getOffsetX(ScaffoldPrelayoutGeometry scaffoldGeometry, double a...
method toString (line 124) | String toString()
FILE: lib/widget/layout/constrained_view.dart
class ConstrainedView (line 5) | class ConstrainedView extends StatelessWidget {
method build (line 12) | Widget build(BuildContext context)
class SliverConstrainedView (line 26) | class SliverConstrainedView extends StatelessWidget {
method build (line 32) | Widget build(BuildContext context)
FILE: lib/widget/layout/content_header.dart
class CustomContentHeader (line 11) | class CustomContentHeader extends StatelessWidget {
method build (line 29) | Widget build(BuildContext context)
class ContentHeader (line 45) | class ContentHeader extends StatelessWidget {
method build (line 73) | Widget build(BuildContext context)
type TabBarConfig (line 106) | typedef TabBarConfig = ({TabController tabCtrl, List<Tab> tabs, void Fun...
class _ImageContent (line 108) | class _ImageContent extends StatelessWidget implements PreferredSizeWidg...
method build (line 133) | Widget build(BuildContext context)
class _Delegate (line 181) | class _Delegate extends SliverPersistentHeaderDelegate {
method shouldRebuild (line 208) | bool shouldRebuild(covariant _Delegate oldDelegate)
method build (line 212) | Widget build(BuildContext context, double shrinkOffset, bool overlapsC...
FILE: lib/widget/layout/dual_pane_with_tab_bar.dart
class DualPaneWithTabBar (line 6) | class DualPaneWithTabBar extends StatelessWidget {
method build (line 22) | Widget build(BuildContext context)
FILE: lib/widget/layout/hiding_floating_action_button.dart
class HidingFloatingActionButton (line 4) | class HidingFloatingActionButton extends StatefulWidget {
method createState (line 15) | State<HidingFloatingActionButton> createState()
class _HidingFloatingActionButtonState (line 18) | class _HidingFloatingActionButtonState extends State<HidingFloatingActio...
method _visibility (line 27) | void _visibility()
method initState (line 44) | void initState()
method dispose (line 58) | void dispose()
method didUpdateWidget (line 65) | void didUpdateWidget(covariant HidingFloatingActionButton oldWidget)
method build (line 75) | Widget build(BuildContext context)
FILE: lib/widget/layout/navigation_tool.dart
class BottomNavigation (line 4) | class BottomNavigation extends StatefulWidget {
method createState (line 18) | State<BottomNavigation> createState()
class _BottomNavigationState (line 21) | class _BottomNavigationState extends State<BottomNavigation> {
method didUpdateWidget (line 25) | void didUpdateWidget(covariant BottomNavigation oldWidget)
method build (line 31) | Widget build(BuildContext context)
class SideNavigation (line 56) | class SideNavigation extends StatefulWidget {
method createState (line 70) | State<SideNavigation> createState()
class _SideNavigationState (line 73) | class _SideNavigationState extends State<SideNavigation> {
method didUpdateWidget (line 77) | void didUpdateWidget(covariant SideNavigation oldWidget)
method build (line 83) | Widget build(BuildContext context)
class BottomBar (line 107) | class BottomBar extends StatelessWidget {
method build (line 115) | Widget build(BuildContext context)
class BottomBarButton (line 139) | class BottomBarButton extends StatelessWidget {
method build (line 153) | Widget build(BuildContext context)
FILE: lib/widget/layout/top_bar.dart
class TopBar (line 9) | class TopBar extends StatelessWidget implements PreferredSizeWidget {
method build (line 19) | Widget build(BuildContext context)
class EmptyTopBar (line 60) | class EmptyTopBar extends StatelessWidget implements PreferredSizeWidget {
method build (line 67) | Widget build(BuildContext context)
class TopBarAnimatedSwitcher (line 74) | class TopBarAnimatedSwitcher extends StatelessWidget implements Preferre...
method build (line 83) | Widget build(BuildContext context)
FILE: lib/widget/loaders.dart
class Loader (line 6) | class Loader extends StatelessWidget {
method build (line 10) | Widget build(BuildContext context)
class SliverRefreshControl (line 24) | class SliverRefreshControl extends StatelessWidget {
method build (line 30) | Widget build(BuildContext context)
class SliverFooter (line 63) | class SliverFooter extends StatelessWidget {
method build (line 69) | Widget build(BuildContext context)
FILE: lib/widget/paged_view.dart
class PagedView (line 10) | class PagedView<T> extends StatelessWidget {
method build (line 39) | Widget build(BuildContext context)
FILE: lib/widget/shadowed_overflow_list.dart
class ShadowedOverflowList (line 6) | class ShadowedOverflowList extends StatelessWidget {
method build (line 20) | Widget build(BuildContext context)
FILE: lib/widget/sheets.dart
function showSheet (line 8) | Future<T?> showSheet<T>(BuildContext context, Widget sheet)
class SimpleSheet (line 17) | class SimpleSheet extends StatelessWidget {
method build (line 54) | Widget build(BuildContext context)
class SheetWithButtonRow (line 85) | class SheetWithButtonRow extends StatelessWidget {
method build (line 92) | Widget build(BuildContext context)
method _sheetBody (line 107) | Widget _sheetBody(BuildContext context, ScrollController scrollCtrl)
FILE: lib/widget/shimmer.dart
class Shimmer (line 3) | class Shimmer extends StatefulWidget {
method of (line 4) | ShimmerState? of(BuildContext context)
method createState (line 11) | ShimmerState createState()
class ShimmerState (line 14) | class ShimmerState extends State<Shimmer> with SingleTickerProviderState...
method initState (line 19) | void initState()
method didChangeDependencies (line 26) | void didChangeDependencies()
method dispose (line 42) | void dispose()
method getOffset (line 63) | Offset getOffset(RenderBox descendant)
method build (line 67) | Widget build(BuildContext context)
class ShimmerItem (line 70) | class ShimmerItem extends StatefulWidget {
method createState (line 76) | ShimmerItemState createState()
class ShimmerItemState (line 79) | class ShimmerItemState extends State<ShimmerItem> {
method _update (line 82) | void _update()
method didChangeDependencies (line 85) | void didChangeDependencies()
method dispose (line 92) | void dispose()
method build (line 98) | Widget build(BuildContext context)
class _SlidingGradientTransform (line 117) | class _SlidingGradientTransform extends GradientTransform {
method transform (line 123) | Matrix4 transform(Rect bounds, {TextDirection? textDirection})
FILE: lib/widget/swipe_switcher.dart
class SwipeSwitcher (line 4) | class SwipeSwitcher extends StatelessWidget {
method build (line 14) | Widget build(BuildContext context)
FILE: lib/widget/table_list.dart
class TableList (line 6) | class TableList extends StatelessWidget {
method build (line 13) | Widget build(BuildContext context)
class SliverTableList (line 46) | class SliverTableList extends StatelessWidget {
method build (line 53) | Widget build(BuildContext context)
FILE: lib/widget/text_rail.dart
class TextRail (line 5) | class TextRail extends StatelessWidget {
method build (line 13) | Widget build(BuildContext context)
FILE: lib/widget/timestamp.dart
class Timestamp (line 6) | class Timestamp extends StatelessWidget {
method build (line 18) | Widget build(BuildContext context)
method _relativeTime (line 48) | String _relativeTime()
Condensed preview — 291 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (1,112K chars).
[
{
"path": ".gitattributes",
"chars": 66,
"preview": "# Auto detect text files and perform LF normalization\n* text=auto\n"
},
{
"path": ".gitignore",
"chars": 761,
"preview": "# Miscellaneous\n*.class\n*.log\n*.pyc\n*.swp\n.DS_Store\n.atom/\n.build/\n.buildlog/\n.history\n.svn/\n.swiftpm/\nmigrate_working_d"
},
{
"path": ".metadata",
"chars": 305,
"preview": "# This file tracks properties of this Flutter project.\n# Used by Flutter tool to assess capabilities and perform upgrade"
},
{
"path": ".vscode/launch.json",
"chars": 574,
"preview": "{\n // Use IntelliSense to learn about possible attributes.\n // Hover to view descriptions of existing attributes.\n"
},
{
"path": "LICENSE",
"chars": 35149,
"preview": " GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007 Free "
},
{
"path": "README.md",
"chars": 2141,
"preview": "# Otraku\nAn unofficial AniList app.\n\n<p align='center'>\n<img src='https://user-images.githubusercontent.com/35681808/115"
},
{
"path": "analysis_options.yaml",
"chars": 235,
"preview": "include: package:flutter_lints/flutter.yaml\n\nlinter:\n rules:\n # Often unnecessary.\n use_key_in_widget_constructor"
},
{
"path": "android/.gitignore",
"chars": 150,
"preview": "gradle-wrapper.jar\n/.gradle\n/captures/\n/gradlew\n/gradlew.bat\n/keystore.jks\n/keystore.properties\n/local.properties\nGenera"
},
{
"path": "android/app/build.gradle.kts",
"chars": 1946,
"preview": "import java.util.Properties\nimport java.io.FileInputStream\n\nplugins {\n id(\"com.android.application\")\n id(\"kotlin-a"
},
{
"path": "android/app/src/debug/AndroidManifest.xml",
"chars": 318,
"preview": "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\" package=\"com.otraku.app\">\n <!-- Flutter needs it"
},
{
"path": "android/app/src/dev/res/mipmap-anydpi-v26/ic_launcher.xml",
"chars": 264,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<adaptive-icon xmlns:android=\"http://schemas.android.com/apk/res/android\">\n <bac"
},
{
"path": "android/app/src/dev/res/values/colors.xml",
"chars": 119,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n <color name=\"ic_launcher_background\">#E3F2FF</color>\n</resources>\n"
},
{
"path": "android/app/src/dev/res/values/strings.xml",
"chars": 107,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n <string name=\"app_name\">Otraku</string>\n</resources>"
},
{
"path": "android/app/src/main/AndroidManifest.xml",
"chars": 4237,
"preview": "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\" package=\"com.otraku.app\">\n <!-- Note: Set the a"
},
{
"path": "android/app/src/main/kotlin/com/example/otraku/MainActivity.kt",
"chars": 118,
"preview": "package com.otraku.app\n\nimport io.flutter.embedding.android.FlutterActivity\n\nclass MainActivity: FlutterActivity() {\n}"
},
{
"path": "android/app/src/main/res/drawable/launch_background.xml",
"chars": 351,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<layer-list xmlns:android=\"http://schemas.android.com/apk/res/android\">\n <item"
},
{
"path": "android/app/src/main/res/drawable-v21/launch_background.xml",
"chars": 350,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<layer-list xmlns:android=\"http://schemas.android.com/apk/res/android\">\n <item"
},
{
"path": "android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml",
"chars": 333,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<adaptive-icon xmlns:android=\"http://schemas.android.com/apk/res/android\">\n <bac"
},
{
"path": "android/app/src/main/res/values/colors.xml",
"chars": 117,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n\t<color name=\"ic_launcher_background\">#ffffff</color>\n</resources>"
},
{
"path": "android/app/src/main/res/values/strings.xml",
"chars": 107,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n <string name=\"app_name\">Otraku</string>\n</resources>"
},
{
"path": "android/app/src/main/res/values/styles.xml",
"chars": 1091,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n <!-- Theme applied to the Android Window while the process is sta"
},
{
"path": "android/app/src/main/res/values-night/colors.xml",
"chars": 117,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n\t<color name=\"ic_launcher_background\">#0D161E</color>\n</resources>"
},
{
"path": "android/app/src/main/res/values-night/styles.xml",
"chars": 1128,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n <!-- Theme applied to the Android Window while the process is sta"
},
{
"path": "android/app/src/main/res/xml/backup_rules.xml",
"chars": 146,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<full-backup-content>\n <exclude domain=\"sharedpref\" path=\"FlutterSecureStorage"
},
{
"path": "android/app/src/profile/AndroidManifest.xml",
"chars": 2599,
"preview": "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\" package=\"com.otraku.app\">\n <!-- Note: Set the a"
},
{
"path": "android/build.gradle.kts",
"chars": 537,
"preview": "allprojects {\n repositories {\n google()\n mavenCentral()\n }\n}\n\nval newBuildDir: Directory =\n rootP"
},
{
"path": "android/gradle/wrapper/gradle-wrapper.properties",
"chars": 203,
"preview": "distributionBase=GRADLE_USER_HOME\ndistributionPath=wrapper/dists\nzipStoreBase=GRADLE_USER_HOME\nzipStorePath=wrapper/dist"
},
{
"path": "android/gradle.properties",
"chars": 165,
"preview": "org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m -XX:+HeapDumpOnOutOfMemoryError\nandroid"
},
{
"path": "android/settings.gradle.kts",
"chars": 773,
"preview": "pluginManagement {\n val flutterSdkPath =\n run {\n val properties = java.util.Properties()\n "
},
{
"path": "fastlane/metadata/android/de/full_description.txt",
"chars": 646,
"preview": "<i>Otraku</i> möchte ein voll funktionsfähiger und anpassbarer Client für AniList sein, ohne Werbung. Die App ermöglicht"
},
{
"path": "fastlane/metadata/android/de/short_description.txt",
"chars": 58,
"preview": "Inoffizieller AniList-Client für Anime- und Manga-Tracking"
},
{
"path": "fastlane/metadata/android/en-US/changelogs/59.txt",
"chars": 271,
"preview": "- Added calendar in discover to view and filter new episode schedules\n- Option for pure background in settings now not o"
},
{
"path": "fastlane/metadata/android/en-US/changelogs/63.txt",
"chars": 500,
"preview": "- Collection searching goes through both titles and notes\n- Activity replies have a \"Reply\" button for automatic mention"
},
{
"path": "fastlane/metadata/android/en-US/changelogs/65.txt",
"chars": 506,
"preview": "- Added collection filters for public/private entries and for entries with/without notes\n- Changed release year filter d"
},
{
"path": "fastlane/metadata/android/en-US/changelogs/66.txt",
"chars": 499,
"preview": "- Added collection filters for public/private entries and for entries with/without notes\n- Changed release year filter d"
},
{
"path": "fastlane/metadata/android/en-US/changelogs/69.txt",
"chars": 479,
"preview": "- AniList Markdown is supported almost fully\n- AniList links in markdown text are opened within the app\n- More markdown "
},
{
"path": "fastlane/metadata/android/en-US/changelogs/72.txt",
"chars": 498,
"preview": "- If your filtered collections are empty, a button can redirect you to discover with copied filters\n- Tag categories in "
},
{
"path": "fastlane/metadata/android/en-US/changelogs/73.txt",
"chars": 416,
"preview": "- Toggled activity/reply like buttons use the primary color\n- Cleaner error messages for failed connection/requests that"
},
{
"path": "fastlane/metadata/android/en-US/changelogs/77.txt",
"chars": 436,
"preview": "- Tablet support with better layout on wide screens\n- New studio page design\n- New recommendations design in the media p"
},
{
"path": "fastlane/metadata/android/en-US/changelogs/80.txt",
"chars": 460,
"preview": "- In the filter sheets for collections and discover, you can set a custom default configuration\n- Basic AniList interact"
},
{
"path": "fastlane/metadata/android/en-US/changelogs/82.txt",
"chars": 338,
"preview": "- Chips on the media page are now a grid, not a scrollable row\n- Fixed the the favorites editing button appearing in oth"
},
{
"path": "fastlane/metadata/android/en-US/changelogs/83.txt",
"chars": 494,
"preview": "- In the collection filter sheets for both your anime and manga collection, you can explicitly set the preview collectio"
},
{
"path": "fastlane/metadata/android/en-US/changelogs/84.txt",
"chars": 354,
"preview": "- Added forum page with thread filters\n- Added thread pages with navigation, commenting, liking and subscribing (thread "
},
{
"path": "fastlane/metadata/android/en-US/changelogs/86.txt",
"chars": 487,
"preview": "- Added recommendations to discover.\n- Improved the recommendations tab design in the media page.\n- Replaced left-handed"
},
{
"path": "fastlane/metadata/android/en-US/changelogs/87.txt",
"chars": 77,
"preview": "- Fix home page tab scrolling.\n- Use new material page transition on Android."
},
{
"path": "fastlane/metadata/android/en-US/changelogs/89.txt",
"chars": 413,
"preview": "- Added activities to a tab in the media page, with the ability to filter them by people you follow.\n- Added custom list"
},
{
"path": "fastlane/metadata/android/en-US/changelogs/92.txt",
"chars": 242,
"preview": "- Expanded collections now show and filter all lists at once, though you can still view individual lists.\n- High contras"
},
{
"path": "fastlane/metadata/android/en-US/changelogs/94.txt",
"chars": 437,
"preview": "- Added: support for the new AniList notification types - this fixes the media and other parts of the app not loading.\n-"
},
{
"path": "fastlane/metadata/android/en-US/full_description.txt",
"chars": 361,
"preview": "Otraku aims to support most AniList features and it already covers:\n\n- Tracking media and managing/filtering collections"
},
{
"path": "fastlane/metadata/android/en-US/short_description.txt",
"chars": 48,
"preview": "An unofficial AniList client for Android and iOS"
},
{
"path": "fastlane/metadata/android/en-US/title.txt",
"chars": 6,
"preview": "Otraku"
},
{
"path": "flutter_launcher_icons-dev.yaml",
"chars": 172,
"preview": "flutter_icons:\n ios: true\n android: true\n image_path: \"assets/icons/ios.png\"\n adaptive_icon_background: \"#E3F2FF\"\n "
},
{
"path": "ios/.gitignore",
"chars": 569,
"preview": "**/dgph\n*.mode1v3\n*.mode2v3\n*.moved-aside\n*.pbxuser\n*.perspectivev3\n**/*sync/\n.sconsign.dblite\n.tags*\n**/.vagrant/\n**/De"
},
{
"path": "ios/Flutter/AppFrameworkInfo.plist",
"chars": 795,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
},
{
"path": "ios/Flutter/Debug.xcconfig",
"chars": 106,
"preview": "#include \"Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig\"\n#include \"Generated.xcconfig\"\n"
},
{
"path": "ios/Flutter/Profile.xcconfig",
"chars": 106,
"preview": "#include \"Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig\"\n#include \"Generated.xcconfig\"\n"
},
{
"path": "ios/Flutter/Release.xcconfig",
"chars": 108,
"preview": "#include \"Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig\"\n#include \"Generated.xcconfig\"\n"
},
{
"path": "ios/Podfile",
"chars": 1353,
"preview": "# Uncomment this line to define a global platform for your project\nplatform :ios, '18.0'\n\n# CocoaPods analytics sends ne"
},
{
"path": "ios/Runner/AppDelegate.swift",
"chars": 539,
"preview": "import UIKit\nimport Flutter\n\n@main\n@objc class AppDelegate: FlutterAppDelegate, FlutterImplicitEngineDelegate {\n overri"
},
{
"path": "ios/Runner/Assets.xcassets/AppIcon-dev.appiconset/Contents.json",
"chars": 1670,
"preview": "{\"images\":[{\"size\":\"20x20\",\"idiom\":\"iphone\",\"filename\":\"AppIcon-dev-20x20@2x.png\",\"scale\":\"2x\"},{\"size\":\"20x20\",\"idiom\":"
},
{
"path": "ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json",
"chars": 2519,
"preview": "{\n \"images\" : [\n {\n \"size\" : \"20x20\",\n \"idiom\" : \"iphone\",\n \"filename\" : \"Icon-App-20x20@2x.png\",\n "
},
{
"path": "ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json",
"chars": 389,
"preview": "{\n \"images\" : [\n {\n \"filename\" : \"splash_icon-2.png\",\n \"idiom\" : \"universal\",\n \"scale\" : \"1x\"\n },\n"
},
{
"path": "ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md",
"chars": 336,
"preview": "# Launch Screen Assets\n\nYou can customize the launch screen with your own desired assets by replacing the image files in"
},
{
"path": "ios/Runner/Base.lproj/LaunchScreen.storyboard",
"chars": 2738,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3"
},
{
"path": "ios/Runner/Base.lproj/Main.storyboard",
"chars": 1605,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard"
},
{
"path": "ios/Runner/Info.plist",
"chars": 2757,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
},
{
"path": "ios/Runner/Runner-Bridging-Header.h",
"chars": 38,
"preview": "#import \"GeneratedPluginRegistrant.h\"\n"
},
{
"path": "ios/Runner.xcodeproj/project.pbxproj",
"chars": 23443,
"preview": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 54;\n\tobjects = {\n\n/* Begin PBXBuildFile section *"
},
{
"path": "ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
"chars": 135,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n version = \"1.0\">\n <FileRef\n location = \"self:\">\n </FileRef"
},
{
"path": "ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
"chars": 238,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
},
{
"path": "ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings",
"chars": 226,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
},
{
"path": "ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme",
"chars": 3371,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n LastUpgradeVersion = \"1510\"\n version = \"1.3\">\n <BuildAction\n "
},
{
"path": "ios/Runner.xcworkspace/contents.xcworkspacedata",
"chars": 224,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n version = \"1.0\">\n <FileRef\n location = \"group:Runner.xcodepr"
},
{
"path": "ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
"chars": 238,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
},
{
"path": "ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings",
"chars": 226,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
},
{
"path": "lib/extension/action_chip_extension.dart",
"chars": 201,
"preview": "import 'package:flutter/material.dart';\n\nextension ActionChipExtension on ActionChip {\n static final highContrast = (bo"
},
{
"path": "lib/extension/build_context_extension.dart",
"chars": 496,
"preview": "import 'package:flutter/widgets.dart';\nimport 'package:go_router/go_router.dart';\nimport 'package:otraku/util/routes.dar"
},
{
"path": "lib/extension/card_extension.dart",
"chars": 171,
"preview": "import 'package:flutter/material.dart';\n\nextension CardExtension on Card {\n static final highContrast = (bool highContr"
},
{
"path": "lib/extension/color_extension.dart",
"chars": 255,
"preview": "import 'package:flutter/widgets.dart';\n\nextension ColorExtension on Color {\n static Color? fromHexString(String src) {\n"
},
{
"path": "lib/extension/date_time_extension.dart",
"chars": 2370,
"preview": "extension DateTimeExtension on DateTime {\n int get secondsSinceEpoch => millisecondsSinceEpoch ~/ 1000;\n\n static DateT"
},
{
"path": "lib/extension/enum_extension.dart",
"chars": 351,
"preview": "extension EnumExtension<T extends Enum> on Iterable<T> {\n T? getOrNull(int? index) {\n if (index != null && index >= "
},
{
"path": "lib/extension/filter_chip_extension.dart",
"chars": 201,
"preview": "import 'package:flutter/material.dart';\n\nextension FilterChipExtension on FilterChip {\n static final highContrast = (bo"
},
{
"path": "lib/extension/future_extension.dart",
"chars": 125,
"preview": "extension FutureExtension on Future {\n Future<Object?> getErrorOrNull() => then<Object?>((_) => null, onError: (e) => e"
},
{
"path": "lib/extension/iterable_extension.dart",
"chars": 195,
"preview": "extension IterableExtension<E> on Iterable<E> {\n E? firstWhereOrNull(bool Function(E) test) {\n for (E element in thi"
},
{
"path": "lib/extension/scroll_controller_extension.dart",
"chars": 445,
"preview": "import 'package:flutter/widgets.dart';\n\nextension ScrollControllerExtension on ScrollController {\n /// Scroll to the to"
},
{
"path": "lib/extension/snack_bar_extension.dart",
"chars": 1503,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter/services.dart';\nimport 'package:url_launcher/url_launche"
},
{
"path": "lib/extension/string_extension.dart",
"chars": 1658,
"preview": "import 'package:otraku/extension/date_time_extension.dart';\n\nextension StringExtension on String {\n static String? lang"
},
{
"path": "lib/feature/activity/activities_filter_model.dart",
"chars": 4119,
"preview": "import 'package:otraku/extension/enum_extension.dart';\n\nsealed class ActivitiesFilter {\n const ActivitiesFilter();\n\n A"
},
{
"path": "lib/feature/activity/activities_filter_provider.dart",
"chars": 1525,
"preview": "import 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/feature/activity/activities_filter_model"
},
{
"path": "lib/feature/activity/activities_model.dart",
"chars": 1441,
"preview": "sealed class ActivitiesTag {\n const ActivitiesTag();\n\n String toQueryParam() => switch (this) {\n HomeActivitiesTag("
},
{
"path": "lib/feature/activity/activities_provider.dart",
"chars": 5406,
"preview": "import 'dart:async';\n\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/extension/future_e"
},
{
"path": "lib/feature/activity/activities_view.dart",
"chars": 5274,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:go_rout"
},
{
"path": "lib/feature/activity/activity_card.dart",
"chars": 14386,
"preview": "import 'dart:math';\n\nimport 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nim"
},
{
"path": "lib/feature/activity/activity_filter_sheet.dart",
"chars": 3890,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:ionicon"
},
{
"path": "lib/feature/activity/activity_model.dart",
"chars": 7273,
"preview": "import 'package:otraku/extension/date_time_extension.dart';\nimport 'package:otraku/extension/string_extension.dart';\nimp"
},
{
"path": "lib/feature/activity/activity_provider.dart",
"chars": 5150,
"preview": "import 'dart:async';\n\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/extension/future_e"
},
{
"path": "lib/feature/activity/activity_view.dart",
"chars": 9721,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:go_rout"
},
{
"path": "lib/feature/activity/reply_card.dart",
"chars": 8042,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:go_rout"
},
{
"path": "lib/feature/calendar/calendar_filter_provider.dart",
"chars": 620,
"preview": "import 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/feature/viewer/persistence_provider.dart"
},
{
"path": "lib/feature/calendar/calendar_filter_sheet.dart",
"chars": 1947,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/"
},
{
"path": "lib/feature/calendar/calendar_models.dart",
"chars": 3139,
"preview": "import 'package:flutter/widgets.dart';\nimport 'package:otraku/extension/color_extension.dart';\nimport 'package:otraku/ex"
},
{
"path": "lib/feature/calendar/calendar_provider.dart",
"chars": 3465,
"preview": "import 'dart:async';\n\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/extension/date_tim"
},
{
"path": "lib/feature/calendar/calendar_view.dart",
"chars": 8523,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:ionicon"
},
{
"path": "lib/feature/character/character_anime_view.dart",
"chars": 2982,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:go_rout"
},
{
"path": "lib/feature/character/character_filter_model.dart",
"chars": 378,
"preview": "import 'package:otraku/feature/media/media_models.dart';\n\nclass CharacterFilter {\n const CharacterFilter({this.sort = ."
},
{
"path": "lib/feature/character/character_filter_provider.dart",
"chars": 548,
"preview": "import 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/feature/character/character_filter_model"
},
{
"path": "lib/feature/character/character_floating_actions.dart",
"chars": 2250,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:ionicon"
},
{
"path": "lib/feature/character/character_header.dart",
"chars": 3077,
"preview": "import 'package:flutter/material.dart';\nimport 'package:otraku/extension/snack_bar_extension.dart';\nimport 'package:otra"
},
{
"path": "lib/feature/character/character_item_grid.dart",
"chars": 2287,
"preview": "import 'package:flutter/material.dart';\nimport 'package:go_router/go_router.dart';\nimport 'package:otraku/extension/buil"
},
{
"path": "lib/feature/character/character_item_model.dart",
"chars": 348,
"preview": "class CharacterItem {\n const CharacterItem._({required this.id, required this.name, required this.imageUrl});\n\n factor"
},
{
"path": "lib/feature/character/character_manga_view.dart",
"chars": 1217,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:go_rout"
},
{
"path": "lib/feature/character/character_model.dart",
"chars": 5187,
"preview": "import 'package:otraku/extension/string_extension.dart';\nimport 'package:otraku/feature/viewer/persistence_model.dart';\n"
},
{
"path": "lib/feature/character/character_overview_view.dart",
"chars": 3664,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_widget_from_html_core/flutter_widget_from_html_core.dart"
},
{
"path": "lib/feature/character/character_provider.dart",
"chars": 5508,
"preview": "import 'dart:async';\n\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/extension/future_e"
},
{
"path": "lib/feature/character/character_view.dart",
"chars": 11091,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/"
},
{
"path": "lib/feature/collection/collection_entries_provider.dart",
"chars": 4388,
"preview": "import 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/feature/collection/collection_filter_mod"
},
{
"path": "lib/feature/collection/collection_filter_model.dart",
"chars": 3398,
"preview": "import 'package:otraku/extension/enum_extension.dart';\nimport 'package:otraku/feature/media/media_models.dart';\n\nclass C"
},
{
"path": "lib/feature/collection/collection_filter_provider.dart",
"chars": 964,
"preview": "import 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/feature/collection/collection_filter_mod"
},
{
"path": "lib/feature/collection/collection_filter_view.dart",
"chars": 7014,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/"
},
{
"path": "lib/feature/collection/collection_floating_action.dart",
"chars": 2959,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:ionicon"
},
{
"path": "lib/feature/collection/collection_grid.dart",
"chars": 6004,
"preview": "import 'package:flutter/material.dart';\nimport 'package:ionicons/ionicons.dart';\nimport 'package:otraku/extension/build_"
},
{
"path": "lib/feature/collection/collection_list.dart",
"chars": 8945,
"preview": "import 'dart:math';\n\nimport 'package:flutter/material.dart';\nimport 'package:ionicons/ionicons.dart';\nimport 'package:ot"
},
{
"path": "lib/feature/collection/collection_models.dart",
"chars": 15310,
"preview": "import 'package:otraku/extension/date_time_extension.dart';\nimport 'package:otraku/extension/iterable_extension.dart';\ni"
},
{
"path": "lib/feature/collection/collection_provider.dart",
"chars": 6838,
"preview": "import 'dart:async';\n\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/extension/date_tim"
},
{
"path": "lib/feature/collection/collection_top_bar.dart",
"chars": 3435,
"preview": "import 'dart:math';\n\nimport 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nim"
},
{
"path": "lib/feature/collection/collection_view.dart",
"chars": 9327,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:go_rout"
},
{
"path": "lib/feature/comment/comment_model.dart",
"chars": 2839,
"preview": "import 'package:otraku/extension/date_time_extension.dart';\nimport 'package:otraku/util/markdown.dart';\n\nclass Comment {"
},
{
"path": "lib/feature/comment/comment_provider.dart",
"chars": 2173,
"preview": "import 'dart:async';\nimport 'dart:collection';\n\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package"
},
{
"path": "lib/feature/comment/comment_tile.dart",
"chars": 9418,
"preview": "import 'package:flutter/material.dart';\nimport 'package:go_router/go_router.dart';\nimport 'package:otraku/extension/snac"
},
{
"path": "lib/feature/comment/comment_view.dart",
"chars": 7131,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:go_rout"
},
{
"path": "lib/feature/composition/composition_model.dart",
"chars": 2191,
"preview": "/// Each type of composition is represented by a different tag class that\n/// extends [CompositionTag]. All tags must im"
},
{
"path": "lib/feature/composition/composition_provider.dart",
"chars": 3908,
"preview": "import 'dart:async';\n\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/extension/string_e"
},
{
"path": "lib/feature/composition/composition_view.dart",
"chars": 13159,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:ionicon"
},
{
"path": "lib/feature/discover/discover_filter_model.dart",
"chars": 7383,
"preview": "import 'package:otraku/extension/enum_extension.dart';\nimport 'package:otraku/feature/collection/collection_filter_model"
},
{
"path": "lib/feature/discover/discover_filter_provider.dart",
"chars": 929,
"preview": "import 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/feature/discover/discover_filter_model.d"
},
{
"path": "lib/feature/discover/discover_floating_action.dart",
"chars": 2315,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:ionicon"
},
{
"path": "lib/feature/discover/discover_media_filter_view.dart",
"chars": 7108,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/"
},
{
"path": "lib/feature/discover/discover_media_grid.dart",
"chars": 4814,
"preview": "import 'package:flutter/material.dart';\nimport 'package:otraku/extension/build_context_extension.dart';\nimport 'package:"
},
{
"path": "lib/feature/discover/discover_media_simple_grid.dart",
"chars": 2211,
"preview": "import 'package:flutter/material.dart';\nimport 'package:otraku/extension/build_context_extension.dart';\nimport 'package:"
},
{
"path": "lib/feature/discover/discover_model.dart",
"chars": 5771,
"preview": "import 'package:otraku/extension/string_extension.dart';\nimport 'package:otraku/feature/character/character_item_model.d"
},
{
"path": "lib/feature/discover/discover_provider.dart",
"chars": 8519,
"preview": "import 'dart:async';\n\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/extension/future_e"
},
{
"path": "lib/feature/discover/discover_recommendations_filter_sheet.dart",
"chars": 1642,
"preview": "import 'package:flutter/widgets.dart';\nimport 'package:otraku/feature/discover/discover_filter_model.dart';\nimport 'pack"
},
{
"path": "lib/feature/discover/discover_recommendations_grid.dart",
"chars": 8976,
"preview": "import 'dart:math';\n\nimport 'package:flutter/material.dart';\nimport 'package:go_router/go_router.dart';\nimport 'package:"
},
{
"path": "lib/feature/discover/discover_top_bar.dart",
"chars": 6104,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:go_rout"
},
{
"path": "lib/feature/discover/discover_view.dart",
"chars": 5473,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/"
},
{
"path": "lib/feature/edit/edit_buttons.dart",
"chars": 2468,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:ionicon"
},
{
"path": "lib/feature/edit/edit_model.dart",
"chars": 5852,
"preview": "import 'package:otraku/extension/date_time_extension.dart';\nimport 'package:otraku/feature/collection/collection_models."
},
{
"path": "lib/feature/edit/edit_provider.dart",
"chars": 2787,
"preview": "import 'dart:async';\n\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/extension/future_e"
},
{
"path": "lib/feature/edit/edit_view.dart",
"chars": 14679,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/"
},
{
"path": "lib/feature/edit/score_field.dart",
"chars": 4893,
"preview": "import 'package:flutter/material.dart';\nimport 'package:otraku/feature/media/media_models.dart';\nimport 'package:otraku/"
},
{
"path": "lib/feature/favorites/favorites_model.dart",
"chars": 2530,
"preview": "import 'package:otraku/feature/viewer/persistence_model.dart';\nimport 'package:otraku/util/paged.dart';\n\nclass Favorites"
},
{
"path": "lib/feature/favorites/favorites_provider.dart",
"chars": 8041,
"preview": "import 'dart:async';\n\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/extension/future_e"
},
{
"path": "lib/feature/favorites/favorites_view.dart",
"chars": 17671,
"preview": "import 'dart:math';\n\nimport 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nim"
},
{
"path": "lib/feature/feed/feed_floating_action.dart",
"chars": 1006,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/"
},
{
"path": "lib/feature/feed/feed_top_bar.dart",
"chars": 2148,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:go_rout"
},
{
"path": "lib/feature/forum/forum_filter_model.dart",
"chars": 1943,
"preview": "import 'package:otraku/extension/iterable_extension.dart';\n\nclass ForumFilter {\n const ForumFilter({\n required this."
},
{
"path": "lib/feature/forum/forum_filter_provider.dart",
"chars": 524,
"preview": "import 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/feature/forum/forum_filter_model.dart';\n"
},
{
"path": "lib/feature/forum/forum_filter_view.dart",
"chars": 2080,
"preview": "import 'package:flutter/widgets.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/f"
},
{
"path": "lib/feature/forum/forum_model.dart",
"chars": 2339,
"preview": "import 'package:otraku/extension/date_time_extension.dart';\n\nclass ThreadItem {\n const ThreadItem._({\n required this"
},
{
"path": "lib/feature/forum/forum_provider.dart",
"chars": 1385,
"preview": "import 'dart:async';\n\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/feature/forum/foru"
},
{
"path": "lib/feature/forum/forum_view.dart",
"chars": 2630,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:ionicon"
},
{
"path": "lib/feature/forum/thread_item_list.dart",
"chars": 5023,
"preview": "import 'package:flutter/material.dart';\nimport 'package:go_router/go_router.dart';\nimport 'package:otraku/extension/card"
},
{
"path": "lib/feature/home/home_model.dart",
"chars": 882,
"preview": "class Home {\n const Home({required this.didExpandAnimeCollection, required this.didExpandMangaCollection});\n\n /// In p"
},
{
"path": "lib/feature/home/home_provider.dart",
"chars": 751,
"preview": "import 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/feature/viewer/persistence_provider.dart"
},
{
"path": "lib/feature/home/home_view.dart",
"chars": 9384,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:go_rout"
},
{
"path": "lib/feature/media/media_activities_view.dart",
"chars": 4165,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:go_rout"
},
{
"path": "lib/feature/media/media_characters_view.dart",
"chars": 2990,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:go_rout"
},
{
"path": "lib/feature/media/media_floating_actions.dart",
"chars": 989,
"preview": "import 'package:flutter/material.dart';\nimport 'package:otraku/feature/edit/edit_view.dart';\nimport 'package:otraku/feat"
},
{
"path": "lib/feature/media/media_following_view.dart",
"chars": 3775,
"preview": "import 'dart:math';\n\nimport 'package:flutter/material.dart';\nimport 'package:go_router/go_router.dart';\nimport 'package:"
},
{
"path": "lib/feature/media/media_header.dart",
"chars": 3918,
"preview": "import 'package:flutter/material.dart';\nimport 'package:otraku/extension/date_time_extension.dart';\nimport 'package:otra"
},
{
"path": "lib/feature/media/media_item_grid.dart",
"chars": 1614,
"preview": "import 'package:flutter/material.dart';\nimport 'package:otraku/feature/media/media_item_model.dart';\nimport 'package:otr"
},
{
"path": "lib/feature/media/media_item_model.dart",
"chars": 440,
"preview": "import 'package:otraku/feature/viewer/persistence_model.dart';\n\nclass MediaItem {\n const MediaItem._({required this.id,"
},
{
"path": "lib/feature/media/media_models.dart",
"chars": 21103,
"preview": "import 'package:flutter/widgets.dart';\nimport 'package:otraku/extension/color_extension.dart';\nimport 'package:otraku/ex"
},
{
"path": "lib/feature/media/media_overview_view.dart",
"chars": 14564,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:go_rout"
},
{
"path": "lib/feature/media/media_provider.dart",
"chars": 9785,
"preview": "import 'dart:async';\n\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/extension/future_e"
},
{
"path": "lib/feature/media/media_recommendations_view.dart",
"chars": 9299,
"preview": "import 'dart:math';\n\nimport 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nim"
},
{
"path": "lib/feature/media/media_related_view.dart",
"chars": 4063,
"preview": "import 'package:flutter/material.dart';\nimport 'package:otraku/extension/build_context_extension.dart';\nimport 'package:"
},
{
"path": "lib/feature/media/media_reviews_view.dart",
"chars": 4922,
"preview": "import 'dart:math';\n\nimport 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nim"
},
{
"path": "lib/feature/media/media_route_tile.dart",
"chars": 776,
"preview": "import 'package:flutter/material.dart';\nimport 'package:go_router/go_router.dart';\nimport 'package:otraku/feature/edit/e"
},
{
"path": "lib/feature/media/media_staff_view.dart",
"chars": 1177,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:go_rout"
},
{
"path": "lib/feature/media/media_stats_view.dart",
"chars": 5107,
"preview": "import 'dart:math';\n\nimport 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nim"
},
{
"path": "lib/feature/media/media_threads_view.dart",
"chars": 827,
"preview": "import 'package:flutter/widgets.dart';\nimport 'package:otraku/feature/forum/thread_item_list.dart';\nimport 'package:otra"
},
{
"path": "lib/feature/media/media_view.dart",
"chars": 13106,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/"
},
{
"path": "lib/feature/notification/notifications_filter_model.dart",
"chars": 1230,
"preview": "enum NotificationsFilter {\n all('All'),\n replies('Replies'),\n activity('Activity'),\n forum('Forum'),\n airing('Airin"
},
{
"path": "lib/feature/notification/notifications_filter_provider.dart",
"chars": 592,
"preview": "import 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/feature/notification/notifications_filte"
},
{
"path": "lib/feature/notification/notifications_model.dart",
"chars": 12875,
"preview": "import 'package:otraku/extension/date_time_extension.dart';\nimport 'package:otraku/extension/iterable_extension.dart';\ni"
},
{
"path": "lib/feature/notification/notifications_provider.dart",
"chars": 2069,
"preview": "import 'dart:async';\n\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/feature/notificati"
},
{
"path": "lib/feature/notification/notifications_view.dart",
"chars": 13173,
"preview": "import 'dart:math';\n\nimport 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nim"
},
{
"path": "lib/feature/review/review_grid.dart",
"chars": 4142,
"preview": "import 'dart:math';\n\nimport 'package:flutter/material.dart';\nimport 'package:go_router/go_router.dart';\nimport 'package:"
},
{
"path": "lib/feature/review/review_header.dart",
"chars": 2106,
"preview": "import 'package:flutter/material.dart';\nimport 'package:go_router/go_router.dart';\nimport 'package:otraku/feature/review"
},
{
"path": "lib/feature/review/review_models.dart",
"chars": 3265,
"preview": "import 'package:otraku/extension/date_time_extension.dart';\nimport 'package:otraku/feature/viewer/persistence_model.dart"
},
{
"path": "lib/feature/review/review_provider.dart",
"chars": 1170,
"preview": "import 'dart:async';\n\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/extension/future_e"
},
{
"path": "lib/feature/review/review_view.dart",
"chars": 5404,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:flutter"
},
{
"path": "lib/feature/review/reviews_filter_provider.dart",
"chars": 516,
"preview": "import 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/feature/review/review_models.dart';\n\nfin"
},
{
"path": "lib/feature/review/reviews_filter_sheet.dart",
"chars": 1448,
"preview": "import 'package:flutter/material.dart';\nimport 'package:otraku/util/theming.dart';\nimport 'package:otraku/widget/sheets."
},
{
"path": "lib/feature/review/reviews_provider.dart",
"chars": 1633,
"preview": "import 'dart:async';\n\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/util/paged.dart';\n"
},
{
"path": "lib/feature/review/reviews_view.dart",
"chars": 2667,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:ionicon"
},
{
"path": "lib/feature/settings/settings_about_view.dart",
"chars": 3963,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:ionicon"
},
{
"path": "lib/feature/settings/settings_app_view.dart",
"chars": 9031,
"preview": "import 'package:flutter/material.dart';\nimport 'package:flutter_riverpod/flutter_riverpod.dart';\nimport 'package:otraku/"
},
{
"path": "lib/feature/settings/settings_content_view.dart",
"chars": 10922,
"preview": "import 'package:flutter/material.dart';\nimport 'package:ionicons/ionicons.dart';\nimport 'package:otraku/util/theming.dar"
}
]
// ... and 91 more files (download for full content)
About this extraction
This page contains the full source code of the lotusprey/otraku GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 291 files (1.0 MB), approximately 243.7k tokens, and a symbol index with 1288 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.