Restructure folders
This commit is contained in:
parent
e3207f614f
commit
2ca1221fb1
41 changed files with 66 additions and 102 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.tommychow.frosty">
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET"/>
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
|
||||
<queries>
|
||||
<intent>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import 'dart:convert';
|
||||
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:frosty/constants.dart';
|
||||
import 'package:frosty/constants/constants.dart';
|
||||
import 'package:frosty/models/badges.dart';
|
||||
import 'package:frosty/models/category.dart';
|
||||
import 'package:frosty/models/channel.dart';
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import 'package:flutter/foundation.dart';
|
|||
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
|
||||
import 'package:flutter_web_auth/flutter_web_auth.dart';
|
||||
import 'package:frosty/api/twitch_api.dart';
|
||||
import 'package:frosty/constants.dart';
|
||||
import 'package:frosty/constants/constants.dart';
|
||||
import 'package:frosty/core/user/user_store.dart';
|
||||
import 'package:mobx/mobx.dart';
|
||||
|
||||
|
|
|
|||
|
|
@ -5,9 +5,9 @@ import 'package:flutter/material.dart';
|
|||
import 'package:flutter_mobx/flutter_mobx.dart';
|
||||
import 'package:frosty/core/auth/auth_store.dart';
|
||||
import 'package:frosty/screens/home/home.dart';
|
||||
import 'package:frosty/screens/home/search/stores/search_store.dart';
|
||||
import 'package:frosty/screens/home/stores/categories_store.dart';
|
||||
import 'package:frosty/screens/home/stores/list_store.dart';
|
||||
import 'package:frosty/screens/home/stores/search_store.dart';
|
||||
import 'package:frosty/screens/settings/stores/settings_store.dart';
|
||||
import 'package:mobx/mobx.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import 'package:frosty/constants.dart';
|
||||
import 'package:frosty/constants/constants.dart';
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
part 'emotes.g.dart';
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import 'package:flutter/gestures.dart';
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_svg/flutter_svg.dart';
|
||||
import 'package:frosty/models/emotes.dart';
|
||||
import 'package:frosty/screens/channel/chat/chat_assets_store.dart';
|
||||
import 'package:frosty/screens/channel/stores/chat_assets_store.dart';
|
||||
import 'package:intl/intl.dart';
|
||||
import 'package:url_launcher/url_launcher.dart';
|
||||
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@ import 'package:flutter/material.dart';
|
|||
import 'package:flutter_mobx/flutter_mobx.dart';
|
||||
import 'package:frosty/screens/channel/chat/chat_bottom_bar.dart';
|
||||
import 'package:frosty/screens/channel/chat/chat_message.dart';
|
||||
import 'package:frosty/screens/channel/chat/chat_store.dart';
|
||||
import 'package:frosty/screens/channel/chat/chat_user_modal.dart';
|
||||
import 'package:frosty/screens/channel/chat/emote_menu/emote_menu.dart';
|
||||
import 'package:frosty/screens/channel/stores/chat_store.dart';
|
||||
|
||||
class Chat extends StatefulWidget {
|
||||
final ChatStore chatStore;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:frosty/screens/channel/chat/chat_store.dart';
|
||||
import 'package:frosty/screens/channel/chat/details/chat_details.dart';
|
||||
import 'package:frosty/screens/channel/stores/chat_store.dart';
|
||||
|
||||
class ChatBottomBar extends StatelessWidget {
|
||||
final ChatStore chatStore;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_mobx/flutter_mobx.dart';
|
||||
import 'package:frosty/models/irc_message.dart';
|
||||
import 'package:frosty/screens/channel/chat/chat_assets_store.dart';
|
||||
import 'package:frosty/screens/channel/stores/chat_assets_store.dart';
|
||||
import 'package:frosty/screens/settings/stores/settings_store.dart';
|
||||
|
||||
class ChatMessage extends StatelessWidget {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:frosty/screens/channel/chat/chat_message.dart';
|
||||
import 'package:frosty/screens/channel/chat/chat_store.dart';
|
||||
import 'package:frosty/screens/channel/stores/chat_store.dart';
|
||||
import 'package:frosty/widgets/block_button.dart';
|
||||
import 'package:frosty/widgets/profile_picture.dart';
|
||||
import 'package:frosty/widgets/section_header.dart';
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_mobx/flutter_mobx.dart';
|
||||
import 'package:frosty/screens/channel/chat/details/chat_details_store.dart';
|
||||
import 'package:frosty/screens/channel/chat/details/chat_modes.dart';
|
||||
import 'package:frosty/screens/channel/chat/details/chat_users_list.dart';
|
||||
import 'package:frosty/screens/channel/stores/chat_details_store.dart';
|
||||
|
||||
class ChatDetails extends StatelessWidget {
|
||||
final ChatDetailsStore chatDetails;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import 'package:collection/collection.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_mobx/flutter_mobx.dart';
|
||||
import 'package:frosty/screens/channel/chat/details/chat_details_store.dart';
|
||||
import 'package:frosty/screens/channel/stores/chat_details_store.dart';
|
||||
import 'package:frosty/widgets/loading_indicator.dart';
|
||||
import 'package:frosty/widgets/scroll_to_top_button.dart';
|
||||
import 'package:intl/intl.dart';
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
import 'package:collection/collection.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_mobx/flutter_mobx.dart';
|
||||
import 'package:frosty/screens/channel/chat/chat_assets_store.dart';
|
||||
import 'package:frosty/screens/channel/chat/emote_menu/emote_menu_panel.dart';
|
||||
import 'package:frosty/screens/channel/stores/chat_assets_store.dart';
|
||||
|
||||
class EmoteMenu extends StatelessWidget {
|
||||
final ChatAssetsStore assetsStore;
|
||||
|
|
|
|||
|
|
@ -12,27 +12,18 @@ mixin _$ChatAssetsStore on _ChatAssetsStoreBase, Store {
|
|||
Computed<List<Emote>>? _$bttvEmotesComputed;
|
||||
|
||||
@override
|
||||
List<Emote> get bttvEmotes =>
|
||||
(_$bttvEmotesComputed ??= Computed<List<Emote>>(() => super.bttvEmotes,
|
||||
name: '_ChatAssetsStoreBase.bttvEmotes'))
|
||||
.value;
|
||||
List<Emote> get bttvEmotes => (_$bttvEmotesComputed ??= Computed<List<Emote>>(() => super.bttvEmotes, name: '_ChatAssetsStoreBase.bttvEmotes')).value;
|
||||
Computed<List<Emote>>? _$ffzEmotesComputed;
|
||||
|
||||
@override
|
||||
List<Emote> get ffzEmotes =>
|
||||
(_$ffzEmotesComputed ??= Computed<List<Emote>>(() => super.ffzEmotes,
|
||||
name: '_ChatAssetsStoreBase.ffzEmotes'))
|
||||
.value;
|
||||
List<Emote> get ffzEmotes => (_$ffzEmotesComputed ??= Computed<List<Emote>>(() => super.ffzEmotes, name: '_ChatAssetsStoreBase.ffzEmotes')).value;
|
||||
Computed<List<Emote>>? _$sevenTvEmotesComputed;
|
||||
|
||||
@override
|
||||
List<Emote> get sevenTvEmotes => (_$sevenTvEmotesComputed ??=
|
||||
Computed<List<Emote>>(() => super.sevenTvEmotes,
|
||||
name: '_ChatAssetsStoreBase.sevenTvEmotes'))
|
||||
.value;
|
||||
List<Emote> get sevenTvEmotes =>
|
||||
(_$sevenTvEmotesComputed ??= Computed<List<Emote>>(() => super.sevenTvEmotes, name: '_ChatAssetsStoreBase.sevenTvEmotes')).value;
|
||||
|
||||
final _$_emoteToObjectAtom =
|
||||
Atom(name: '_ChatAssetsStoreBase._emoteToObject');
|
||||
final _$_emoteToObjectAtom = Atom(name: '_ChatAssetsStoreBase._emoteToObject');
|
||||
|
||||
Map<String, Emote> get emoteToObject {
|
||||
_$_emoteToObjectAtom.reportRead();
|
||||
|
|
@ -49,8 +40,7 @@ mixin _$ChatAssetsStore on _ChatAssetsStoreBase, Store {
|
|||
});
|
||||
}
|
||||
|
||||
final _$_userEmoteToObjectAtom =
|
||||
Atom(name: '_ChatAssetsStoreBase._userEmoteToObject');
|
||||
final _$_userEmoteToObjectAtom = Atom(name: '_ChatAssetsStoreBase._userEmoteToObject');
|
||||
|
||||
Map<String, Emote> get userEmoteToObject {
|
||||
_$_userEmoteToObjectAtom.reportRead();
|
||||
|
|
@ -67,8 +57,7 @@ mixin _$ChatAssetsStore on _ChatAssetsStoreBase, Store {
|
|||
});
|
||||
}
|
||||
|
||||
final _$_userToFFZBadgesAtom =
|
||||
Atom(name: '_ChatAssetsStoreBase._userToFFZBadges');
|
||||
final _$_userToFFZBadgesAtom = Atom(name: '_ChatAssetsStoreBase._userToFFZBadges');
|
||||
|
||||
Map<String, List<BadgeInfoFFZ>> get userToFFZBadges {
|
||||
_$_userToFFZBadgesAtom.reportRead();
|
||||
|
|
@ -85,8 +74,7 @@ mixin _$ChatAssetsStore on _ChatAssetsStoreBase, Store {
|
|||
});
|
||||
}
|
||||
|
||||
final _$_userTo7TVBadgesAtom =
|
||||
Atom(name: '_ChatAssetsStoreBase._userTo7TVBadges');
|
||||
final _$_userTo7TVBadgesAtom = Atom(name: '_ChatAssetsStoreBase._userTo7TVBadges');
|
||||
|
||||
Map<String, List<BadgeInfo7TV>> get userTo7TVBadges {
|
||||
_$_userTo7TVBadgesAtom.reportRead();
|
||||
|
|
@ -103,8 +91,7 @@ mixin _$ChatAssetsStore on _ChatAssetsStoreBase, Store {
|
|||
});
|
||||
}
|
||||
|
||||
final _$_userToBTTVBadgesAtom =
|
||||
Atom(name: '_ChatAssetsStoreBase._userToBTTVBadges');
|
||||
final _$_userToBTTVBadgesAtom = Atom(name: '_ChatAssetsStoreBase._userToBTTVBadges');
|
||||
|
||||
Map<String, BadgeInfoBTTV> get userToBTTVBadges {
|
||||
_$_userToBTTVBadgesAtom.reportRead();
|
||||
|
|
@ -121,8 +108,7 @@ mixin _$ChatAssetsStore on _ChatAssetsStoreBase, Store {
|
|||
});
|
||||
}
|
||||
|
||||
final _$emoteMenuIndexAtom =
|
||||
Atom(name: '_ChatAssetsStoreBase.emoteMenuIndex');
|
||||
final _$emoteMenuIndexAtom = Atom(name: '_ChatAssetsStoreBase.emoteMenuIndex');
|
||||
|
||||
@override
|
||||
int get emoteMenuIndex {
|
||||
|
|
@ -155,38 +141,29 @@ mixin _$ChatAssetsStore on _ChatAssetsStoreBase, Store {
|
|||
final _$getAssetsAsyncAction = AsyncAction('_ChatAssetsStoreBase.getAssets');
|
||||
|
||||
@override
|
||||
Future<void> getAssets(
|
||||
{required String channelName, required Map<String, String> headers}) {
|
||||
return _$getAssetsAsyncAction
|
||||
.run(() => super.getAssets(channelName: channelName, headers: headers));
|
||||
Future<void> getAssets({required String channelName, required Map<String, String> headers}) {
|
||||
return _$getAssetsAsyncAction.run(() => super.getAssets(channelName: channelName, headers: headers));
|
||||
}
|
||||
|
||||
final _$getEmotesAsyncAction = AsyncAction('_ChatAssetsStoreBase.getEmotes');
|
||||
|
||||
@override
|
||||
Future<void> getEmotes(
|
||||
{required UserTwitch channelInfo, required Map<String, String> headers}) {
|
||||
return _$getEmotesAsyncAction
|
||||
.run(() => super.getEmotes(channelInfo: channelInfo, headers: headers));
|
||||
Future<void> getEmotes({required UserTwitch channelInfo, required Map<String, String> headers}) {
|
||||
return _$getEmotesAsyncAction.run(() => super.getEmotes(channelInfo: channelInfo, headers: headers));
|
||||
}
|
||||
|
||||
final _$getBadgesAsyncAction = AsyncAction('_ChatAssetsStoreBase.getBadges');
|
||||
|
||||
@override
|
||||
Future<void> getBadges(
|
||||
{required UserTwitch channelInfo, required Map<String, String> headers}) {
|
||||
return _$getBadgesAsyncAction
|
||||
.run(() => super.getBadges(channelInfo: channelInfo, headers: headers));
|
||||
Future<void> getBadges({required UserTwitch channelInfo, required Map<String, String> headers}) {
|
||||
return _$getBadgesAsyncAction.run(() => super.getBadges(channelInfo: channelInfo, headers: headers));
|
||||
}
|
||||
|
||||
final _$getUserEmotesAsyncAction =
|
||||
AsyncAction('_ChatAssetsStoreBase.getUserEmotes');
|
||||
final _$getUserEmotesAsyncAction = AsyncAction('_ChatAssetsStoreBase.getUserEmotes');
|
||||
|
||||
@override
|
||||
Future<void> getUserEmotes(
|
||||
{required List<String> emoteSets, required Map<String, String> headers}) {
|
||||
return _$getUserEmotesAsyncAction
|
||||
.run(() => super.getUserEmotes(emoteSets: emoteSets, headers: headers));
|
||||
Future<void> getUserEmotes({required List<String> emoteSets, required Map<String, String> headers}) {
|
||||
return _$getUserEmotesAsyncAction.run(() => super.getUserEmotes(emoteSets: emoteSets, headers: headers));
|
||||
}
|
||||
|
||||
@override
|
||||
|
|
@ -12,10 +12,8 @@ mixin _$ChatDetailsStore on _ChatDetailsStoreBase, Store {
|
|||
Computed<Iterable<List<String>>>? _$filteredUsersComputed;
|
||||
|
||||
@override
|
||||
Iterable<List<String>> get filteredUsers => (_$filteredUsersComputed ??=
|
||||
Computed<Iterable<List<String>>>(() => super.filteredUsers,
|
||||
name: '_ChatDetailsStoreBase.filteredUsers'))
|
||||
.value;
|
||||
Iterable<List<String>> get filteredUsers =>
|
||||
(_$filteredUsersComputed ??= Computed<Iterable<List<String>>>(() => super.filteredUsers, name: '_ChatDetailsStoreBase.filteredUsers')).value;
|
||||
|
||||
final _$roomStateAtom = Atom(name: '_ChatDetailsStoreBase.roomState');
|
||||
|
||||
|
|
@ -49,8 +47,7 @@ mixin _$ChatDetailsStore on _ChatDetailsStoreBase, Store {
|
|||
});
|
||||
}
|
||||
|
||||
final _$showJumpButtonAtom =
|
||||
Atom(name: '_ChatDetailsStoreBase.showJumpButton');
|
||||
final _$showJumpButtonAtom = Atom(name: '_ChatDetailsStoreBase.showJumpButton');
|
||||
|
||||
@override
|
||||
bool get showJumpButton {
|
||||
|
|
@ -80,13 +77,11 @@ mixin _$ChatDetailsStore on _ChatDetailsStoreBase, Store {
|
|||
});
|
||||
}
|
||||
|
||||
final _$updateChattersAsyncAction =
|
||||
AsyncAction('_ChatDetailsStoreBase.updateChatters');
|
||||
final _$updateChattersAsyncAction = AsyncAction('_ChatDetailsStoreBase.updateChatters');
|
||||
|
||||
@override
|
||||
Future<void> updateChatters(String userLogin) {
|
||||
return _$updateChattersAsyncAction
|
||||
.run(() => super.updateChatters(userLogin));
|
||||
return _$updateChattersAsyncAction.run(() => super.updateChatters(userLogin));
|
||||
}
|
||||
|
||||
@override
|
||||
|
|
@ -4,8 +4,8 @@ import 'package:flutter/material.dart';
|
|||
import 'package:flutter/scheduler.dart';
|
||||
import 'package:frosty/core/auth/auth_store.dart';
|
||||
import 'package:frosty/models/irc_message.dart';
|
||||
import 'package:frosty/screens/channel/chat/chat_assets_store.dart';
|
||||
import 'package:frosty/screens/channel/chat/details/chat_details_store.dart';
|
||||
import 'package:frosty/screens/channel/stores/chat_assets_store.dart';
|
||||
import 'package:frosty/screens/channel/stores/chat_details_store.dart';
|
||||
import 'package:frosty/screens/settings/stores/settings_store.dart';
|
||||
import 'package:mobx/mobx.dart';
|
||||
import 'package:web_socket_channel/web_socket_channel.dart';
|
||||
|
|
@ -60,13 +60,11 @@ mixin _$ChatStore on _ChatStoreBase, Store {
|
|||
});
|
||||
}
|
||||
|
||||
final _$_ChatStoreBaseActionController =
|
||||
ActionController(name: '_ChatStoreBase');
|
||||
final _$_ChatStoreBaseActionController = ActionController(name: '_ChatStoreBase');
|
||||
|
||||
@override
|
||||
void _handleIRCData(String data) {
|
||||
final _$actionInfo = _$_ChatStoreBaseActionController.startAction(
|
||||
name: '_ChatStoreBase._handleIRCData');
|
||||
final _$actionInfo = _$_ChatStoreBaseActionController.startAction(name: '_ChatStoreBase._handleIRCData');
|
||||
try {
|
||||
return super._handleIRCData(data);
|
||||
} finally {
|
||||
|
|
@ -76,8 +74,7 @@ mixin _$ChatStore on _ChatStoreBase, Store {
|
|||
|
||||
@override
|
||||
void resumeScroll() {
|
||||
final _$actionInfo = _$_ChatStoreBaseActionController.startAction(
|
||||
name: '_ChatStoreBase.resumeScroll');
|
||||
final _$actionInfo = _$_ChatStoreBaseActionController.startAction(name: '_ChatStoreBase.resumeScroll');
|
||||
try {
|
||||
return super.resumeScroll();
|
||||
} finally {
|
||||
|
|
@ -60,21 +60,18 @@ mixin _$VideoStore on _VideoStoreBase, Store {
|
|||
});
|
||||
}
|
||||
|
||||
final _$updateStreamInfoAsyncAction =
|
||||
AsyncAction('_VideoStoreBase.updateStreamInfo');
|
||||
final _$updateStreamInfoAsyncAction = AsyncAction('_VideoStoreBase.updateStreamInfo');
|
||||
|
||||
@override
|
||||
Future<void> updateStreamInfo() {
|
||||
return _$updateStreamInfoAsyncAction.run(() => super.updateStreamInfo());
|
||||
}
|
||||
|
||||
final _$_VideoStoreBaseActionController =
|
||||
ActionController(name: '_VideoStoreBase');
|
||||
final _$_VideoStoreBaseActionController = ActionController(name: '_VideoStoreBase');
|
||||
|
||||
@override
|
||||
void handlePausePlay() {
|
||||
final _$actionInfo = _$_VideoStoreBaseActionController.startAction(
|
||||
name: '_VideoStoreBase.handlePausePlay');
|
||||
final _$actionInfo = _$_VideoStoreBaseActionController.startAction(name: '_VideoStoreBase.handlePausePlay');
|
||||
try {
|
||||
return super.handlePausePlay();
|
||||
} finally {
|
||||
|
|
@ -84,8 +81,7 @@ mixin _$VideoStore on _VideoStoreBase, Store {
|
|||
|
||||
@override
|
||||
void handleVideoTap() {
|
||||
final _$actionInfo = _$_VideoStoreBaseActionController.startAction(
|
||||
name: '_VideoStoreBase.handleVideoTap');
|
||||
final _$actionInfo = _$_VideoStoreBaseActionController.startAction(name: '_VideoStoreBase.handleVideoTap');
|
||||
try {
|
||||
return super.handleVideoTap();
|
||||
} finally {
|
||||
|
|
@ -95,8 +91,7 @@ mixin _$VideoStore on _VideoStoreBase, Store {
|
|||
|
||||
@override
|
||||
void handleExpand() {
|
||||
final _$actionInfo = _$_VideoStoreBaseActionController.startAction(
|
||||
name: '_VideoStoreBase.handleExpand');
|
||||
final _$actionInfo = _$_VideoStoreBaseActionController.startAction(name: '_VideoStoreBase.handleExpand');
|
||||
try {
|
||||
return super.handleExpand();
|
||||
} finally {
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
import 'package:flutter/widgets.dart';
|
||||
import 'package:flutter_mobx/flutter_mobx.dart';
|
||||
import 'package:frosty/screens/channel/stores/video_store.dart';
|
||||
import 'package:frosty/screens/channel/video/video_overlay.dart';
|
||||
import 'package:frosty/screens/channel/video/video_store.dart';
|
||||
import 'package:webview_flutter/webview_flutter.dart';
|
||||
|
||||
class Video extends StatelessWidget {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import 'dart:io';
|
|||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_mobx/flutter_mobx.dart';
|
||||
import 'package:frosty/screens/channel/video/video_store.dart';
|
||||
import 'package:frosty/screens/channel/stores/video_store.dart';
|
||||
import 'package:frosty/screens/settings/settings.dart';
|
||||
import 'package:intl/intl.dart';
|
||||
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@ import 'package:flutter/services.dart';
|
|||
import 'package:flutter_mobx/flutter_mobx.dart';
|
||||
import 'package:frosty/core/auth/auth_store.dart';
|
||||
import 'package:frosty/screens/channel/chat/chat.dart';
|
||||
import 'package:frosty/screens/channel/chat/chat_store.dart';
|
||||
import 'package:frosty/screens/channel/stores/chat_store.dart';
|
||||
import 'package:frosty/screens/channel/stores/video_store.dart';
|
||||
import 'package:frosty/screens/channel/video/video.dart';
|
||||
import 'package:frosty/screens/channel/video/video_store.dart';
|
||||
import 'package:frosty/screens/settings/settings.dart';
|
||||
import 'package:frosty/screens/settings/stores/settings_store.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
|
|
|
|||
|
|
@ -2,11 +2,11 @@ import 'package:flutter/material.dart';
|
|||
import 'package:flutter_mobx/flutter_mobx.dart';
|
||||
import 'package:frosty/core/auth/auth_store.dart';
|
||||
import 'package:frosty/screens/home/search/search.dart';
|
||||
import 'package:frosty/screens/home/search/stores/search_store.dart';
|
||||
import 'package:frosty/screens/home/stores/categories_store.dart';
|
||||
import 'package:frosty/screens/home/stores/list_store.dart';
|
||||
import 'package:frosty/screens/home/streams_list.dart';
|
||||
import 'package:frosty/screens/home/stores/search_store.dart';
|
||||
import 'package:frosty/screens/home/top/top_section.dart';
|
||||
import 'package:frosty/screens/home/widgets/streams_list.dart';
|
||||
import 'package:frosty/screens/settings/settings.dart';
|
||||
import 'package:frosty/screens/settings/stores/settings_store.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import 'package:flutter/material.dart';
|
|||
import 'package:flutter_mobx/flutter_mobx.dart';
|
||||
import 'package:frosty/screens/home/search/search_results_categories.dart';
|
||||
import 'package:frosty/screens/home/search/search_results_channels.dart';
|
||||
import 'package:frosty/screens/home/search/stores/search_store.dart';
|
||||
import 'package:frosty/screens/home/stores/search_store.dart';
|
||||
import 'package:frosty/widgets/section_header.dart';
|
||||
|
||||
class Search extends StatefulWidget {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_mobx/flutter_mobx.dart';
|
||||
import 'package:frosty/models/category.dart';
|
||||
import 'package:frosty/screens/home/search/stores/search_store.dart';
|
||||
import 'package:frosty/screens/home/top/categories/category_card.dart';
|
||||
import 'package:frosty/screens/home/stores/search_store.dart';
|
||||
import 'package:frosty/screens/home/widgets/category_card.dart';
|
||||
import 'package:frosty/widgets/loading_indicator.dart';
|
||||
import 'package:mobx/mobx.dart';
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import 'package:flutter/material.dart';
|
|||
import 'package:flutter_mobx/flutter_mobx.dart';
|
||||
import 'package:frosty/models/channel.dart';
|
||||
import 'package:frosty/screens/channel/video_chat.dart';
|
||||
import 'package:frosty/screens/home/search/stores/search_store.dart';
|
||||
import 'package:frosty/screens/home/stores/search_store.dart';
|
||||
import 'package:frosty/widgets/loading_indicator.dart';
|
||||
import 'package:frosty/widgets/profile_picture.dart';
|
||||
import 'package:mobx/mobx.dart';
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import 'package:flutter/material.dart';
|
|||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter_mobx/flutter_mobx.dart';
|
||||
import 'package:frosty/screens/home/stores/categories_store.dart';
|
||||
import 'package:frosty/screens/home/top/categories/category_card.dart';
|
||||
import 'package:frosty/screens/home/widgets/category_card.dart';
|
||||
import 'package:frosty/widgets/scroll_to_top_button.dart';
|
||||
|
||||
class Categories extends StatefulWidget {
|
||||
|
|
@ -3,9 +3,9 @@ import 'package:flutter/material.dart';
|
|||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter_mobx/flutter_mobx.dart';
|
||||
import 'package:frosty/screens/home/stores/list_store.dart';
|
||||
import 'package:frosty/screens/home/widgets/stream_card.dart';
|
||||
import 'package:frosty/screens/settings/stores/settings_store.dart';
|
||||
import 'package:frosty/widgets/scroll_to_top_button.dart';
|
||||
import 'package:frosty/widgets/stream_card.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
|
||||
class CategoryStreams extends StatelessWidget {
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:frosty/screens/home/stores/categories_store.dart';
|
||||
import 'package:frosty/screens/home/stores/list_store.dart';
|
||||
import 'package:frosty/screens/home/streams_list.dart';
|
||||
import 'package:frosty/screens/home/top/categories/categories.dart';
|
||||
import 'package:frosty/screens/home/top/categories.dart';
|
||||
import 'package:frosty/screens/home/widgets/streams_list.dart';
|
||||
|
||||
class TopSection extends StatelessWidget {
|
||||
final ListStore topSectionStore;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import 'package:flutter/material.dart';
|
|||
import 'package:frosty/core/auth/auth_store.dart';
|
||||
import 'package:frosty/models/category.dart';
|
||||
import 'package:frosty/screens/home/stores/list_store.dart';
|
||||
import 'package:frosty/screens/home/top/categories/category_streams.dart';
|
||||
import 'package:frosty/screens/home/top/category_streams.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
|
||||
/// A tappable card widget that displays a category's box art and name.
|
||||
|
|
@ -2,10 +2,10 @@ import 'package:flutter/material.dart';
|
|||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter_mobx/flutter_mobx.dart';
|
||||
import 'package:frosty/screens/home/stores/list_store.dart';
|
||||
import 'package:frosty/screens/home/widgets/stream_card.dart';
|
||||
import 'package:frosty/screens/settings/stores/settings_store.dart';
|
||||
import 'package:frosty/widgets/loading_indicator.dart';
|
||||
import 'package:frosty/widgets/scroll_to_top_button.dart';
|
||||
import 'package:frosty/widgets/stream_card.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
|
||||
class StreamsList extends StatefulWidget {
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:frosty/core/auth/auth_store.dart';
|
||||
import 'package:frosty/screens/settings/account/blocked_users.dart';
|
||||
import 'package:frosty/screens/settings/account/profile_card.dart';
|
||||
import 'package:frosty/screens/settings/stores/settings_store.dart';
|
||||
import 'package:frosty/screens/settings/widgets/blocked_users.dart';
|
||||
import 'package:frosty/screens/settings/widgets/profile_card.dart';
|
||||
import 'package:frosty/widgets/section_header.dart';
|
||||
import 'package:webview_flutter/webview_flutter.dart';
|
||||
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:frosty/core/auth/auth_store.dart';
|
||||
import 'package:frosty/screens/settings/account/account_settings.dart';
|
||||
import 'package:frosty/screens/settings/account_settings.dart';
|
||||
import 'package:frosty/screens/settings/chat_settings.dart';
|
||||
import 'package:frosty/screens/settings/general_settings.dart';
|
||||
import 'package:frosty/screens/settings/other_settings.dart';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue