mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-04-22 00:21:57 +00:00
fixed auto theme
This commit is contained in:
parent
bc2ec42d20
commit
454445ad25
16 changed files with 717 additions and 787 deletions
|
|
@ -6,6 +6,7 @@ import 'package:desktop_webview_window/desktop_webview_window.dart';
|
||||||
import 'package:flex_color_scheme/flex_color_scheme.dart';
|
import 'package:flex_color_scheme/flex_color_scheme.dart';
|
||||||
import 'package:flutter/foundation.dart';
|
import 'package:flutter/foundation.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:flutter/scheduler.dart';
|
||||||
import 'package:flutter_inappwebview/flutter_inappwebview.dart';
|
import 'package:flutter_inappwebview/flutter_inappwebview.dart';
|
||||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||||
import 'package:google_fonts/google_fonts.dart';
|
import 'package:google_fonts/google_fonts.dart';
|
||||||
|
|
@ -104,11 +105,12 @@ class _MyAppState extends ConsumerState<MyApp> {
|
||||||
if (ref.read(followSystemThemeStateProvider)) {
|
if (ref.read(followSystemThemeStateProvider)) {
|
||||||
var brightness =
|
var brightness =
|
||||||
WidgetsBinding.instance.platformDispatcher.platformBrightness;
|
WidgetsBinding.instance.platformDispatcher.platformBrightness;
|
||||||
if (brightness == Brightness.light) {
|
ref.read(themeModeStateProvider.notifier).setTheme(brightness);
|
||||||
ref.read(themeModeStateProvider.notifier).setLightTheme();
|
var dispatcher = SchedulerBinding.instance.platformDispatcher;
|
||||||
} else {
|
dispatcher.onPlatformBrightnessChanged = () {
|
||||||
ref.read(themeModeStateProvider.notifier).setDarkTheme();
|
var brightness = dispatcher.platformBrightness;
|
||||||
}
|
ref.read(themeModeStateProvider.notifier).setTheme(brightness);
|
||||||
|
};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@ import 'dart:typed_data';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||||
import 'package:go_router/go_router.dart';
|
import 'package:go_router/go_router.dart';
|
||||||
|
import 'package:mangayomi/l10n/generated/app_localizations.dart';
|
||||||
import 'package:mangayomi/modules/widgets/custom_sliver_grouped_list_view.dart';
|
import 'package:mangayomi/modules/widgets/custom_sliver_grouped_list_view.dart';
|
||||||
|
|
||||||
import 'package:isar/isar.dart';
|
import 'package:isar/isar.dart';
|
||||||
|
|
@ -137,45 +138,7 @@ class _HistoryScreenState extends ConsumerState<HistoryScreen>
|
||||||
),
|
),
|
||||||
const SizedBox(width: 15),
|
const SizedBox(width: 15),
|
||||||
TextButton(
|
TextButton(
|
||||||
onPressed: () {
|
onPressed: () => clearHistory(hideItems),
|
||||||
List<History> histories =
|
|
||||||
isar.historys
|
|
||||||
.filter()
|
|
||||||
.idIsNotNull()
|
|
||||||
.chapter(
|
|
||||||
(q) => q.manga(
|
|
||||||
(q) => q.itemTypeEqualTo(
|
|
||||||
_tabBarController.index == 0 &&
|
|
||||||
!hideItems.contains(
|
|
||||||
"/MangaLibrary",
|
|
||||||
)
|
|
||||||
? ItemType.manga
|
|
||||||
: _tabBarController.index ==
|
|
||||||
1 -
|
|
||||||
(hideItems.contains(
|
|
||||||
"/MangaLibrary",
|
|
||||||
)
|
|
||||||
? 1
|
|
||||||
: 0) &&
|
|
||||||
!hideItems.contains(
|
|
||||||
"/AnimeLibrary",
|
|
||||||
)
|
|
||||||
? ItemType.anime
|
|
||||||
: ItemType.novel,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
)
|
|
||||||
.findAllSync()
|
|
||||||
.toList();
|
|
||||||
isar.writeTxnSync(() {
|
|
||||||
for (var history in histories) {
|
|
||||||
isar.historys.deleteSync(history.id!);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
if (mounted) {
|
|
||||||
Navigator.pop(context);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
child: Text(l10n.ok),
|
child: Text(l10n.ok),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
@ -227,6 +190,38 @@ class _HistoryScreenState extends ConsumerState<HistoryScreen>
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void clearHistory(List<String> hideItems) {
|
||||||
|
List<History> histories =
|
||||||
|
isar.historys
|
||||||
|
.filter()
|
||||||
|
.idIsNotNull()
|
||||||
|
.chapter(
|
||||||
|
(q) => q.manga(
|
||||||
|
(q) => q.itemTypeEqualTo(getCurrentItemType(hideItems)),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
.findAllSync()
|
||||||
|
.toList();
|
||||||
|
isar.writeTxnSync(() {
|
||||||
|
for (var history in histories) {
|
||||||
|
isar.historys.deleteSync(history.id!);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
if (mounted) {
|
||||||
|
Navigator.pop(context);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ItemType getCurrentItemType(List<String> hideItems) {
|
||||||
|
return _tabBarController.index == 0 && !hideItems.contains("/MangaLibrary")
|
||||||
|
? ItemType.manga
|
||||||
|
: _tabBarController.index ==
|
||||||
|
1 - (hideItems.contains("/MangaLibrary") ? 1 : 0) &&
|
||||||
|
!hideItems.contains("/AnimeLibrary")
|
||||||
|
? ItemType.anime
|
||||||
|
: ItemType.novel;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class HistoryTab extends ConsumerStatefulWidget {
|
class HistoryTab extends ConsumerStatefulWidget {
|
||||||
|
|
@ -243,23 +238,11 @@ class _HistoryTabState extends ConsumerState<HistoryTab> {
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
final l10n = l10nLocalizations(context)!;
|
final l10n = l10nLocalizations(context)!;
|
||||||
final history = ref.watch(
|
final history = ref.watch(
|
||||||
getAllHistoryStreamProvider(itemType: widget.itemType),
|
getAllHistoryStreamProvider(itemType: widget.itemType, search: widget.query),
|
||||||
);
|
);
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
body: history.when(
|
body: history.when(
|
||||||
data: (data) {
|
data: (entries) {
|
||||||
final entries =
|
|
||||||
data
|
|
||||||
.where(
|
|
||||||
(element) =>
|
|
||||||
widget.query.isNotEmpty
|
|
||||||
? element.chapter.value!.manga.value!.name!
|
|
||||||
.toLowerCase()
|
|
||||||
.contains(widget.query.toLowerCase())
|
|
||||||
: true,
|
|
||||||
)
|
|
||||||
.toList();
|
|
||||||
|
|
||||||
if (entries.isNotEmpty) {
|
if (entries.isNotEmpty) {
|
||||||
return CustomScrollView(
|
return CustomScrollView(
|
||||||
slivers: [
|
slivers: [
|
||||||
|
|
@ -302,8 +285,8 @@ class _HistoryTabState extends ConsumerState<HistoryTab> {
|
||||||
elevation: 0,
|
elevation: 0,
|
||||||
shadowColor: Colors.transparent,
|
shadowColor: Colors.transparent,
|
||||||
),
|
),
|
||||||
onPressed: () {
|
onPressed: () async {
|
||||||
chapter.pushToReaderView(context);
|
await chapter.pushToReaderView(context);
|
||||||
},
|
},
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 12),
|
padding: const EdgeInsets.symmetric(horizontal: 12),
|
||||||
|
|
@ -330,28 +313,7 @@ class _HistoryTabState extends ConsumerState<HistoryTab> {
|
||||||
},
|
},
|
||||||
child: ClipRRect(
|
child: ClipRRect(
|
||||||
borderRadius: BorderRadius.circular(7),
|
borderRadius: BorderRadius.circular(7),
|
||||||
child:
|
child: getCoverImage(manga),
|
||||||
manga.customCoverImage != null
|
|
||||||
? Image.memory(
|
|
||||||
manga.customCoverImage
|
|
||||||
as Uint8List,
|
|
||||||
)
|
|
||||||
: cachedNetworkImage(
|
|
||||||
headers: ref.watch(
|
|
||||||
headersProvider(
|
|
||||||
source: manga.source!,
|
|
||||||
lang: manga.lang!,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
imageUrl: toImgUrl(
|
|
||||||
manga.customCoverFromTracker ??
|
|
||||||
manga.imageUrl ??
|
|
||||||
"",
|
|
||||||
),
|
|
||||||
width: 60,
|
|
||||||
height: 90,
|
|
||||||
fit: BoxFit.cover,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
@ -418,81 +380,12 @@ class _HistoryTabState extends ConsumerState<HistoryTab> {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
IconButton(
|
IconButton(
|
||||||
onPressed: () {
|
onPressed:
|
||||||
showDialog(
|
() => openDeleteDialog(
|
||||||
context: context,
|
l10n,
|
||||||
builder: (context) {
|
manga,
|
||||||
return AlertDialog(
|
element.id,
|
||||||
title: Text(l10n.remove),
|
),
|
||||||
content: Text(
|
|
||||||
l10n.remove_history_msg,
|
|
||||||
),
|
|
||||||
actions: [
|
|
||||||
Row(
|
|
||||||
mainAxisAlignment:
|
|
||||||
MainAxisAlignment.end,
|
|
||||||
children: [
|
|
||||||
TextButton(
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.pop(context);
|
|
||||||
},
|
|
||||||
child: Text(l10n.cancel),
|
|
||||||
),
|
|
||||||
const SizedBox(width: 15),
|
|
||||||
TextButton(
|
|
||||||
onPressed: () async {
|
|
||||||
await manga.chapters
|
|
||||||
.load();
|
|
||||||
final chapters =
|
|
||||||
manga.chapters;
|
|
||||||
await isar.writeTxn(
|
|
||||||
() async {
|
|
||||||
await isar.historys
|
|
||||||
.delete(
|
|
||||||
element.id!,
|
|
||||||
);
|
|
||||||
for (var chapter
|
|
||||||
in chapters) {
|
|
||||||
await isar
|
|
||||||
.chapters
|
|
||||||
.delete(
|
|
||||||
chapter.id!,
|
|
||||||
);
|
|
||||||
}
|
|
||||||
await isar.mangas
|
|
||||||
.delete(
|
|
||||||
manga.id!,
|
|
||||||
);
|
|
||||||
},
|
|
||||||
);
|
|
||||||
await ref
|
|
||||||
.read(
|
|
||||||
synchingProvider(
|
|
||||||
syncId: 1,
|
|
||||||
).notifier,
|
|
||||||
)
|
|
||||||
.addChangedPartAsync(
|
|
||||||
ActionType
|
|
||||||
.removeItem,
|
|
||||||
manga.id,
|
|
||||||
"{}",
|
|
||||||
true,
|
|
||||||
);
|
|
||||||
if (context.mounted) {
|
|
||||||
Navigator.pop(
|
|
||||||
context,
|
|
||||||
);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
child: Text(l10n.remove),
|
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
],
|
|
||||||
);
|
|
||||||
},
|
|
||||||
);
|
|
||||||
},
|
|
||||||
icon: Icon(
|
icon: Icon(
|
||||||
Icons.delete_outline,
|
Icons.delete_outline,
|
||||||
size: 25,
|
size: 25,
|
||||||
|
|
@ -529,4 +422,72 @@ class _HistoryTabState extends ConsumerState<HistoryTab> {
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Widget getCoverImage(Manga manga) {
|
||||||
|
return manga.customCoverImage != null
|
||||||
|
? Image.memory(manga.customCoverImage as Uint8List,)
|
||||||
|
: cachedCompressedNetworkImage(
|
||||||
|
headers: ref.watch(
|
||||||
|
headersProvider(source: manga.source!, lang: manga.lang!),
|
||||||
|
),
|
||||||
|
imageUrl: toImgUrl(
|
||||||
|
manga.customCoverFromTracker ?? manga.imageUrl ?? "",
|
||||||
|
),
|
||||||
|
width: 60,
|
||||||
|
height: 90,
|
||||||
|
fit: BoxFit.cover,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
void openDeleteDialog(AppLocalizations l10n, Manga manga, int? deleteId) {
|
||||||
|
showDialog(
|
||||||
|
context: context,
|
||||||
|
builder: (context) {
|
||||||
|
return AlertDialog(
|
||||||
|
title: Text(l10n.remove),
|
||||||
|
content: Text(l10n.remove_history_msg),
|
||||||
|
actions: [
|
||||||
|
Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.end,
|
||||||
|
children: [
|
||||||
|
TextButton(
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pop(context);
|
||||||
|
},
|
||||||
|
child: Text(l10n.cancel),
|
||||||
|
),
|
||||||
|
const SizedBox(width: 15),
|
||||||
|
TextButton(
|
||||||
|
onPressed: () async => deleteManga(context, manga, deleteId),
|
||||||
|
child: Text(l10n.remove),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
],
|
||||||
|
);
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
Future<void> deleteManga(
|
||||||
|
BuildContext context,
|
||||||
|
Manga manga,
|
||||||
|
int? deleteId,
|
||||||
|
) async {
|
||||||
|
await manga.chapters.load();
|
||||||
|
final chapters = manga.chapters;
|
||||||
|
await isar.writeTxn(() async {
|
||||||
|
await isar.historys.delete(deleteId!);
|
||||||
|
for (var chapter in chapters) {
|
||||||
|
await isar.chapters.delete(chapter.id!);
|
||||||
|
}
|
||||||
|
await isar.mangas.delete(manga.id!);
|
||||||
|
});
|
||||||
|
await ref
|
||||||
|
.read(synchingProvider(syncId: 1).notifier)
|
||||||
|
.addChangedPartAsync(ActionType.removeItem, manga.id, "{}", true);
|
||||||
|
if (context.mounted) {
|
||||||
|
Navigator.pop(context);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -12,12 +12,17 @@ part 'isar_providers.g.dart';
|
||||||
Stream<List<History>> getAllHistoryStream(
|
Stream<List<History>> getAllHistoryStream(
|
||||||
Ref ref, {
|
Ref ref, {
|
||||||
required ItemType itemType,
|
required ItemType itemType,
|
||||||
|
required String search,
|
||||||
}) async* {
|
}) async* {
|
||||||
yield* isar.historys
|
yield* isar.historys
|
||||||
.filter()
|
.filter()
|
||||||
.idIsNotNull()
|
.idIsNotNull()
|
||||||
.and()
|
.and()
|
||||||
.chapter((q) => q.manga((q) => q.itemTypeEqualTo(itemType)))
|
.chapter((q) => q.manga((q) => q.itemTypeEqualTo(itemType)))
|
||||||
|
.and()
|
||||||
|
.chapter(
|
||||||
|
(q) => q.manga((q) => q.nameContains(search, caseSensitive: false)),
|
||||||
|
)
|
||||||
.watch(fireImmediately: true);
|
.watch(fireImmediately: true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ part of 'isar_providers.dart';
|
||||||
// **************************************************************************
|
// **************************************************************************
|
||||||
|
|
||||||
String _$getAllHistoryStreamHash() =>
|
String _$getAllHistoryStreamHash() =>
|
||||||
r'42048cb03035be55b52fc501fb2309cdb2acfcb8';
|
r'704060d31ee10db47bb6f9900b0678747f67abbe';
|
||||||
|
|
||||||
/// Copied from Dart SDK
|
/// Copied from Dart SDK
|
||||||
class _SystemHash {
|
class _SystemHash {
|
||||||
|
|
@ -42,9 +42,11 @@ class GetAllHistoryStreamFamily extends Family<AsyncValue<List<History>>> {
|
||||||
/// See also [getAllHistoryStream].
|
/// See also [getAllHistoryStream].
|
||||||
GetAllHistoryStreamProvider call({
|
GetAllHistoryStreamProvider call({
|
||||||
required ItemType itemType,
|
required ItemType itemType,
|
||||||
|
required String search,
|
||||||
}) {
|
}) {
|
||||||
return GetAllHistoryStreamProvider(
|
return GetAllHistoryStreamProvider(
|
||||||
itemType: itemType,
|
itemType: itemType,
|
||||||
|
search: search,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -54,6 +56,7 @@ class GetAllHistoryStreamFamily extends Family<AsyncValue<List<History>>> {
|
||||||
) {
|
) {
|
||||||
return call(
|
return call(
|
||||||
itemType: provider.itemType,
|
itemType: provider.itemType,
|
||||||
|
search: provider.search,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -78,10 +81,12 @@ class GetAllHistoryStreamProvider
|
||||||
/// See also [getAllHistoryStream].
|
/// See also [getAllHistoryStream].
|
||||||
GetAllHistoryStreamProvider({
|
GetAllHistoryStreamProvider({
|
||||||
required ItemType itemType,
|
required ItemType itemType,
|
||||||
|
required String search,
|
||||||
}) : this._internal(
|
}) : this._internal(
|
||||||
(ref) => getAllHistoryStream(
|
(ref) => getAllHistoryStream(
|
||||||
ref as GetAllHistoryStreamRef,
|
ref as GetAllHistoryStreamRef,
|
||||||
itemType: itemType,
|
itemType: itemType,
|
||||||
|
search: search,
|
||||||
),
|
),
|
||||||
from: getAllHistoryStreamProvider,
|
from: getAllHistoryStreamProvider,
|
||||||
name: r'getAllHistoryStreamProvider',
|
name: r'getAllHistoryStreamProvider',
|
||||||
|
|
@ -93,6 +98,7 @@ class GetAllHistoryStreamProvider
|
||||||
allTransitiveDependencies:
|
allTransitiveDependencies:
|
||||||
GetAllHistoryStreamFamily._allTransitiveDependencies,
|
GetAllHistoryStreamFamily._allTransitiveDependencies,
|
||||||
itemType: itemType,
|
itemType: itemType,
|
||||||
|
search: search,
|
||||||
);
|
);
|
||||||
|
|
||||||
GetAllHistoryStreamProvider._internal(
|
GetAllHistoryStreamProvider._internal(
|
||||||
|
|
@ -103,9 +109,11 @@ class GetAllHistoryStreamProvider
|
||||||
required super.debugGetCreateSourceHash,
|
required super.debugGetCreateSourceHash,
|
||||||
required super.from,
|
required super.from,
|
||||||
required this.itemType,
|
required this.itemType,
|
||||||
|
required this.search,
|
||||||
}) : super.internal();
|
}) : super.internal();
|
||||||
|
|
||||||
final ItemType itemType;
|
final ItemType itemType;
|
||||||
|
final String search;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Override overrideWith(
|
Override overrideWith(
|
||||||
|
|
@ -121,6 +129,7 @@ class GetAllHistoryStreamProvider
|
||||||
allTransitiveDependencies: null,
|
allTransitiveDependencies: null,
|
||||||
debugGetCreateSourceHash: null,
|
debugGetCreateSourceHash: null,
|
||||||
itemType: itemType,
|
itemType: itemType,
|
||||||
|
search: search,
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
@ -132,13 +141,16 @@ class GetAllHistoryStreamProvider
|
||||||
|
|
||||||
@override
|
@override
|
||||||
bool operator ==(Object other) {
|
bool operator ==(Object other) {
|
||||||
return other is GetAllHistoryStreamProvider && other.itemType == itemType;
|
return other is GetAllHistoryStreamProvider &&
|
||||||
|
other.itemType == itemType &&
|
||||||
|
other.search == search;
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
int get hashCode {
|
int get hashCode {
|
||||||
var hash = _SystemHash.combine(0, runtimeType.hashCode);
|
var hash = _SystemHash.combine(0, runtimeType.hashCode);
|
||||||
hash = _SystemHash.combine(hash, itemType.hashCode);
|
hash = _SystemHash.combine(hash, itemType.hashCode);
|
||||||
|
hash = _SystemHash.combine(hash, search.hashCode);
|
||||||
|
|
||||||
return _SystemHash.finish(hash);
|
return _SystemHash.finish(hash);
|
||||||
}
|
}
|
||||||
|
|
@ -149,6 +161,9 @@ class GetAllHistoryStreamProvider
|
||||||
mixin GetAllHistoryStreamRef on AutoDisposeStreamProviderRef<List<History>> {
|
mixin GetAllHistoryStreamRef on AutoDisposeStreamProviderRef<List<History>> {
|
||||||
/// The parameter `itemType` of this provider.
|
/// The parameter `itemType` of this provider.
|
||||||
ItemType get itemType;
|
ItemType get itemType;
|
||||||
|
|
||||||
|
/// The parameter `search` of this provider.
|
||||||
|
String get search;
|
||||||
}
|
}
|
||||||
|
|
||||||
class _GetAllHistoryStreamProviderElement
|
class _GetAllHistoryStreamProviderElement
|
||||||
|
|
@ -158,6 +173,8 @@ class _GetAllHistoryStreamProviderElement
|
||||||
|
|
||||||
@override
|
@override
|
||||||
ItemType get itemType => (origin as GetAllHistoryStreamProvider).itemType;
|
ItemType get itemType => (origin as GetAllHistoryStreamProvider).itemType;
|
||||||
|
@override
|
||||||
|
String get search => (origin as GetAllHistoryStreamProvider).search;
|
||||||
}
|
}
|
||||||
|
|
||||||
String _$getAllUpdateStreamHash() =>
|
String _$getAllUpdateStreamHash() =>
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,14 @@ class ThemeModeState extends _$ThemeModeState {
|
||||||
return isar.settings.getSync(227)!.themeIsDark!;
|
return isar.settings.getSync(227)!.themeIsDark!;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void setTheme(Brightness brightness) {
|
||||||
|
if (brightness == Brightness.light) {
|
||||||
|
ref.read(themeModeStateProvider.notifier).setLightTheme();
|
||||||
|
} else {
|
||||||
|
ref.read(themeModeStateProvider.notifier).setDarkTheme();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void setLightTheme() {
|
void setLightTheme() {
|
||||||
final settings = isar.settings.getSync(227);
|
final settings = isar.settings.getSync(227);
|
||||||
state = false;
|
state = false;
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ part of 'theme_mode_state_provider.dart';
|
||||||
// RiverpodGenerator
|
// RiverpodGenerator
|
||||||
// **************************************************************************
|
// **************************************************************************
|
||||||
|
|
||||||
String _$themeModeStateHash() => r'49a0f05f3d5eb1fcd49ec3c8c0d0b57a732b54fc';
|
String _$themeModeStateHash() => r'264bf4a814cec831e34d916f273b4db6513e583c';
|
||||||
|
|
||||||
/// See also [ThemeModeState].
|
/// See also [ThemeModeState].
|
||||||
@ProviderFor(ThemeModeState)
|
@ProviderFor(ThemeModeState)
|
||||||
|
|
|
||||||
|
|
@ -365,4 +365,7 @@ class CustomExtendedNetworkImageProvider
|
||||||
|
|
||||||
return await _loadNetwork(this, chunkEvents);
|
return await _loadNetwork(this, chunkEvents);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
WebHtmlElementStrategy get webHtmlElementStrategy => WebHtmlElementStrategy.fallback;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ part of 'aniskip.dart';
|
||||||
// RiverpodGenerator
|
// RiverpodGenerator
|
||||||
// **************************************************************************
|
// **************************************************************************
|
||||||
|
|
||||||
String _$aniSkipHash() => r'887869b54e2e151633efd46da83bde845e14f421';
|
String _$aniSkipHash() => r'2e5d19b025a2207ff64da7bf7908450ea9e5ff8c';
|
||||||
|
|
||||||
/// See also [AniSkip].
|
/// See also [AniSkip].
|
||||||
@ProviderFor(AniSkip)
|
@ProviderFor(AniSkip)
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ part of 'anilist.dart';
|
||||||
// RiverpodGenerator
|
// RiverpodGenerator
|
||||||
// **************************************************************************
|
// **************************************************************************
|
||||||
|
|
||||||
String _$anilistHash() => r'70e8cd537270a9054a1ef72de117fc7ad5545218';
|
String _$anilistHash() => r'ddd07acc8d28d2aa95c942566109e9393ca9e5ed';
|
||||||
|
|
||||||
/// Copied from Dart SDK
|
/// Copied from Dart SDK
|
||||||
class _SystemHash {
|
class _SystemHash {
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,7 @@ part of 'client.dart';
|
||||||
T _$identity<T>(T value) => value;
|
T _$identity<T>(T value) => value;
|
||||||
|
|
||||||
final _privateConstructorUsedError = UnsupportedError(
|
final _privateConstructorUsedError = UnsupportedError(
|
||||||
'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models',
|
'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models');
|
||||||
);
|
|
||||||
|
|
||||||
/// @nodoc
|
/// @nodoc
|
||||||
mixin _$ProxySettings {
|
mixin _$ProxySettings {
|
||||||
|
|
@ -21,43 +20,48 @@ mixin _$ProxySettings {
|
||||||
TResult when<TResult extends Object?>({
|
TResult when<TResult extends Object?>({
|
||||||
required TResult Function() noProxy,
|
required TResult Function() noProxy,
|
||||||
required TResult Function(List<CustomProxy> field0) customProxyList,
|
required TResult Function(List<CustomProxy> field0) customProxyList,
|
||||||
}) => throw _privateConstructorUsedError;
|
}) =>
|
||||||
|
throw _privateConstructorUsedError;
|
||||||
@optionalTypeArgs
|
@optionalTypeArgs
|
||||||
TResult? whenOrNull<TResult extends Object?>({
|
TResult? whenOrNull<TResult extends Object?>({
|
||||||
TResult? Function()? noProxy,
|
TResult? Function()? noProxy,
|
||||||
TResult? Function(List<CustomProxy> field0)? customProxyList,
|
TResult? Function(List<CustomProxy> field0)? customProxyList,
|
||||||
}) => throw _privateConstructorUsedError;
|
}) =>
|
||||||
|
throw _privateConstructorUsedError;
|
||||||
@optionalTypeArgs
|
@optionalTypeArgs
|
||||||
TResult maybeWhen<TResult extends Object?>({
|
TResult maybeWhen<TResult extends Object?>({
|
||||||
TResult Function()? noProxy,
|
TResult Function()? noProxy,
|
||||||
TResult Function(List<CustomProxy> field0)? customProxyList,
|
TResult Function(List<CustomProxy> field0)? customProxyList,
|
||||||
required TResult orElse(),
|
required TResult orElse(),
|
||||||
}) => throw _privateConstructorUsedError;
|
}) =>
|
||||||
|
throw _privateConstructorUsedError;
|
||||||
@optionalTypeArgs
|
@optionalTypeArgs
|
||||||
TResult map<TResult extends Object?>({
|
TResult map<TResult extends Object?>({
|
||||||
required TResult Function(ProxySettings_NoProxy value) noProxy,
|
required TResult Function(ProxySettings_NoProxy value) noProxy,
|
||||||
required TResult Function(ProxySettings_CustomProxyList value)
|
required TResult Function(ProxySettings_CustomProxyList value)
|
||||||
customProxyList,
|
customProxyList,
|
||||||
}) => throw _privateConstructorUsedError;
|
}) =>
|
||||||
|
throw _privateConstructorUsedError;
|
||||||
@optionalTypeArgs
|
@optionalTypeArgs
|
||||||
TResult? mapOrNull<TResult extends Object?>({
|
TResult? mapOrNull<TResult extends Object?>({
|
||||||
TResult? Function(ProxySettings_NoProxy value)? noProxy,
|
TResult? Function(ProxySettings_NoProxy value)? noProxy,
|
||||||
TResult? Function(ProxySettings_CustomProxyList value)? customProxyList,
|
TResult? Function(ProxySettings_CustomProxyList value)? customProxyList,
|
||||||
}) => throw _privateConstructorUsedError;
|
}) =>
|
||||||
|
throw _privateConstructorUsedError;
|
||||||
@optionalTypeArgs
|
@optionalTypeArgs
|
||||||
TResult maybeMap<TResult extends Object?>({
|
TResult maybeMap<TResult extends Object?>({
|
||||||
TResult Function(ProxySettings_NoProxy value)? noProxy,
|
TResult Function(ProxySettings_NoProxy value)? noProxy,
|
||||||
TResult Function(ProxySettings_CustomProxyList value)? customProxyList,
|
TResult Function(ProxySettings_CustomProxyList value)? customProxyList,
|
||||||
required TResult orElse(),
|
required TResult orElse(),
|
||||||
}) => throw _privateConstructorUsedError;
|
}) =>
|
||||||
|
throw _privateConstructorUsedError;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @nodoc
|
/// @nodoc
|
||||||
abstract class $ProxySettingsCopyWith<$Res> {
|
abstract class $ProxySettingsCopyWith<$Res> {
|
||||||
factory $ProxySettingsCopyWith(
|
factory $ProxySettingsCopyWith(
|
||||||
ProxySettings value,
|
ProxySettings value, $Res Function(ProxySettings) then) =
|
||||||
$Res Function(ProxySettings) then,
|
_$ProxySettingsCopyWithImpl<$Res, ProxySettings>;
|
||||||
) = _$ProxySettingsCopyWithImpl<$Res, ProxySettings>;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @nodoc
|
/// @nodoc
|
||||||
|
|
@ -77,19 +81,18 @@ class _$ProxySettingsCopyWithImpl<$Res, $Val extends ProxySettings>
|
||||||
/// @nodoc
|
/// @nodoc
|
||||||
abstract class _$$ProxySettings_NoProxyImplCopyWith<$Res> {
|
abstract class _$$ProxySettings_NoProxyImplCopyWith<$Res> {
|
||||||
factory _$$ProxySettings_NoProxyImplCopyWith(
|
factory _$$ProxySettings_NoProxyImplCopyWith(
|
||||||
_$ProxySettings_NoProxyImpl value,
|
_$ProxySettings_NoProxyImpl value,
|
||||||
$Res Function(_$ProxySettings_NoProxyImpl) then,
|
$Res Function(_$ProxySettings_NoProxyImpl) then) =
|
||||||
) = __$$ProxySettings_NoProxyImplCopyWithImpl<$Res>;
|
__$$ProxySettings_NoProxyImplCopyWithImpl<$Res>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @nodoc
|
/// @nodoc
|
||||||
class __$$ProxySettings_NoProxyImplCopyWithImpl<$Res>
|
class __$$ProxySettings_NoProxyImplCopyWithImpl<$Res>
|
||||||
extends _$ProxySettingsCopyWithImpl<$Res, _$ProxySettings_NoProxyImpl>
|
extends _$ProxySettingsCopyWithImpl<$Res, _$ProxySettings_NoProxyImpl>
|
||||||
implements _$$ProxySettings_NoProxyImplCopyWith<$Res> {
|
implements _$$ProxySettings_NoProxyImplCopyWith<$Res> {
|
||||||
__$$ProxySettings_NoProxyImplCopyWithImpl(
|
__$$ProxySettings_NoProxyImplCopyWithImpl(_$ProxySettings_NoProxyImpl _value,
|
||||||
_$ProxySettings_NoProxyImpl _value,
|
$Res Function(_$ProxySettings_NoProxyImpl) _then)
|
||||||
$Res Function(_$ProxySettings_NoProxyImpl) _then,
|
: super(_value, _then);
|
||||||
) : super(_value, _then);
|
|
||||||
|
|
||||||
/// Create a copy of ProxySettings
|
/// Create a copy of ProxySettings
|
||||||
/// with the given fields replaced by the non-null parameter values.
|
/// with the given fields replaced by the non-null parameter values.
|
||||||
|
|
@ -151,7 +154,7 @@ class _$ProxySettings_NoProxyImpl extends ProxySettings_NoProxy {
|
||||||
TResult map<TResult extends Object?>({
|
TResult map<TResult extends Object?>({
|
||||||
required TResult Function(ProxySettings_NoProxy value) noProxy,
|
required TResult Function(ProxySettings_NoProxy value) noProxy,
|
||||||
required TResult Function(ProxySettings_CustomProxyList value)
|
required TResult Function(ProxySettings_CustomProxyList value)
|
||||||
customProxyList,
|
customProxyList,
|
||||||
}) {
|
}) {
|
||||||
return noProxy(this);
|
return noProxy(this);
|
||||||
}
|
}
|
||||||
|
|
@ -187,36 +190,36 @@ abstract class ProxySettings_NoProxy extends ProxySettings {
|
||||||
/// @nodoc
|
/// @nodoc
|
||||||
abstract class _$$ProxySettings_CustomProxyListImplCopyWith<$Res> {
|
abstract class _$$ProxySettings_CustomProxyListImplCopyWith<$Res> {
|
||||||
factory _$$ProxySettings_CustomProxyListImplCopyWith(
|
factory _$$ProxySettings_CustomProxyListImplCopyWith(
|
||||||
_$ProxySettings_CustomProxyListImpl value,
|
_$ProxySettings_CustomProxyListImpl value,
|
||||||
$Res Function(_$ProxySettings_CustomProxyListImpl) then,
|
$Res Function(_$ProxySettings_CustomProxyListImpl) then) =
|
||||||
) = __$$ProxySettings_CustomProxyListImplCopyWithImpl<$Res>;
|
__$$ProxySettings_CustomProxyListImplCopyWithImpl<$Res>;
|
||||||
@useResult
|
@useResult
|
||||||
$Res call({List<CustomProxy> field0});
|
$Res call({List<CustomProxy> field0});
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @nodoc
|
/// @nodoc
|
||||||
class __$$ProxySettings_CustomProxyListImplCopyWithImpl<$Res>
|
class __$$ProxySettings_CustomProxyListImplCopyWithImpl<$Res>
|
||||||
extends
|
extends _$ProxySettingsCopyWithImpl<$Res,
|
||||||
_$ProxySettingsCopyWithImpl<$Res, _$ProxySettings_CustomProxyListImpl>
|
_$ProxySettings_CustomProxyListImpl>
|
||||||
implements _$$ProxySettings_CustomProxyListImplCopyWith<$Res> {
|
implements _$$ProxySettings_CustomProxyListImplCopyWith<$Res> {
|
||||||
__$$ProxySettings_CustomProxyListImplCopyWithImpl(
|
__$$ProxySettings_CustomProxyListImplCopyWithImpl(
|
||||||
_$ProxySettings_CustomProxyListImpl _value,
|
_$ProxySettings_CustomProxyListImpl _value,
|
||||||
$Res Function(_$ProxySettings_CustomProxyListImpl) _then,
|
$Res Function(_$ProxySettings_CustomProxyListImpl) _then)
|
||||||
) : super(_value, _then);
|
: super(_value, _then);
|
||||||
|
|
||||||
/// Create a copy of ProxySettings
|
/// Create a copy of ProxySettings
|
||||||
/// with the given fields replaced by the non-null parameter values.
|
/// with the given fields replaced by the non-null parameter values.
|
||||||
@pragma('vm:prefer-inline')
|
@pragma('vm:prefer-inline')
|
||||||
@override
|
@override
|
||||||
$Res call({Object? field0 = null}) {
|
$Res call({
|
||||||
return _then(
|
Object? field0 = null,
|
||||||
_$ProxySettings_CustomProxyListImpl(
|
}) {
|
||||||
null == field0
|
return _then(_$ProxySettings_CustomProxyListImpl(
|
||||||
? _value._field0
|
null == field0
|
||||||
: field0 // ignore: cast_nullable_to_non_nullable
|
? _value._field0
|
||||||
as List<CustomProxy>,
|
: field0 // ignore: cast_nullable_to_non_nullable
|
||||||
),
|
as List<CustomProxy>,
|
||||||
);
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -225,8 +228,8 @@ class __$$ProxySettings_CustomProxyListImplCopyWithImpl<$Res>
|
||||||
class _$ProxySettings_CustomProxyListImpl
|
class _$ProxySettings_CustomProxyListImpl
|
||||||
extends ProxySettings_CustomProxyList {
|
extends ProxySettings_CustomProxyList {
|
||||||
const _$ProxySettings_CustomProxyListImpl(final List<CustomProxy> field0)
|
const _$ProxySettings_CustomProxyListImpl(final List<CustomProxy> field0)
|
||||||
: _field0 = field0,
|
: _field0 = field0,
|
||||||
super._();
|
super._();
|
||||||
|
|
||||||
final List<CustomProxy> _field0;
|
final List<CustomProxy> _field0;
|
||||||
@override
|
@override
|
||||||
|
|
@ -259,11 +262,9 @@ class _$ProxySettings_CustomProxyListImpl
|
||||||
@override
|
@override
|
||||||
@pragma('vm:prefer-inline')
|
@pragma('vm:prefer-inline')
|
||||||
_$$ProxySettings_CustomProxyListImplCopyWith<
|
_$$ProxySettings_CustomProxyListImplCopyWith<
|
||||||
_$ProxySettings_CustomProxyListImpl
|
_$ProxySettings_CustomProxyListImpl>
|
||||||
>
|
get copyWith => __$$ProxySettings_CustomProxyListImplCopyWithImpl<
|
||||||
get copyWith => __$$ProxySettings_CustomProxyListImplCopyWithImpl<
|
_$ProxySettings_CustomProxyListImpl>(this, _$identity);
|
||||||
_$ProxySettings_CustomProxyListImpl
|
|
||||||
>(this, _$identity);
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
@optionalTypeArgs
|
@optionalTypeArgs
|
||||||
|
|
@ -301,7 +302,7 @@ class _$ProxySettings_CustomProxyListImpl
|
||||||
TResult map<TResult extends Object?>({
|
TResult map<TResult extends Object?>({
|
||||||
required TResult Function(ProxySettings_NoProxy value) noProxy,
|
required TResult Function(ProxySettings_NoProxy value) noProxy,
|
||||||
required TResult Function(ProxySettings_CustomProxyList value)
|
required TResult Function(ProxySettings_CustomProxyList value)
|
||||||
customProxyList,
|
customProxyList,
|
||||||
}) {
|
}) {
|
||||||
return customProxyList(this);
|
return customProxyList(this);
|
||||||
}
|
}
|
||||||
|
|
@ -340,9 +341,8 @@ abstract class ProxySettings_CustomProxyList extends ProxySettings {
|
||||||
/// with the given fields replaced by the non-null parameter values.
|
/// with the given fields replaced by the non-null parameter values.
|
||||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||||
_$$ProxySettings_CustomProxyListImplCopyWith<
|
_$$ProxySettings_CustomProxyListImplCopyWith<
|
||||||
_$ProxySettings_CustomProxyListImpl
|
_$ProxySettings_CustomProxyListImpl>
|
||||||
>
|
get copyWith => throw _privateConstructorUsedError;
|
||||||
get copyWith => throw _privateConstructorUsedError;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @nodoc
|
/// @nodoc
|
||||||
|
|
@ -351,44 +351,49 @@ mixin _$RedirectSettings {
|
||||||
TResult when<TResult extends Object?>({
|
TResult when<TResult extends Object?>({
|
||||||
required TResult Function() noRedirect,
|
required TResult Function() noRedirect,
|
||||||
required TResult Function(int field0) limitedRedirects,
|
required TResult Function(int field0) limitedRedirects,
|
||||||
}) => throw _privateConstructorUsedError;
|
}) =>
|
||||||
|
throw _privateConstructorUsedError;
|
||||||
@optionalTypeArgs
|
@optionalTypeArgs
|
||||||
TResult? whenOrNull<TResult extends Object?>({
|
TResult? whenOrNull<TResult extends Object?>({
|
||||||
TResult? Function()? noRedirect,
|
TResult? Function()? noRedirect,
|
||||||
TResult? Function(int field0)? limitedRedirects,
|
TResult? Function(int field0)? limitedRedirects,
|
||||||
}) => throw _privateConstructorUsedError;
|
}) =>
|
||||||
|
throw _privateConstructorUsedError;
|
||||||
@optionalTypeArgs
|
@optionalTypeArgs
|
||||||
TResult maybeWhen<TResult extends Object?>({
|
TResult maybeWhen<TResult extends Object?>({
|
||||||
TResult Function()? noRedirect,
|
TResult Function()? noRedirect,
|
||||||
TResult Function(int field0)? limitedRedirects,
|
TResult Function(int field0)? limitedRedirects,
|
||||||
required TResult orElse(),
|
required TResult orElse(),
|
||||||
}) => throw _privateConstructorUsedError;
|
}) =>
|
||||||
|
throw _privateConstructorUsedError;
|
||||||
@optionalTypeArgs
|
@optionalTypeArgs
|
||||||
TResult map<TResult extends Object?>({
|
TResult map<TResult extends Object?>({
|
||||||
required TResult Function(RedirectSettings_NoRedirect value) noRedirect,
|
required TResult Function(RedirectSettings_NoRedirect value) noRedirect,
|
||||||
required TResult Function(RedirectSettings_LimitedRedirects value)
|
required TResult Function(RedirectSettings_LimitedRedirects value)
|
||||||
limitedRedirects,
|
limitedRedirects,
|
||||||
}) => throw _privateConstructorUsedError;
|
}) =>
|
||||||
|
throw _privateConstructorUsedError;
|
||||||
@optionalTypeArgs
|
@optionalTypeArgs
|
||||||
TResult? mapOrNull<TResult extends Object?>({
|
TResult? mapOrNull<TResult extends Object?>({
|
||||||
TResult? Function(RedirectSettings_NoRedirect value)? noRedirect,
|
TResult? Function(RedirectSettings_NoRedirect value)? noRedirect,
|
||||||
TResult? Function(RedirectSettings_LimitedRedirects value)?
|
TResult? Function(RedirectSettings_LimitedRedirects value)?
|
||||||
limitedRedirects,
|
limitedRedirects,
|
||||||
}) => throw _privateConstructorUsedError;
|
}) =>
|
||||||
|
throw _privateConstructorUsedError;
|
||||||
@optionalTypeArgs
|
@optionalTypeArgs
|
||||||
TResult maybeMap<TResult extends Object?>({
|
TResult maybeMap<TResult extends Object?>({
|
||||||
TResult Function(RedirectSettings_NoRedirect value)? noRedirect,
|
TResult Function(RedirectSettings_NoRedirect value)? noRedirect,
|
||||||
TResult Function(RedirectSettings_LimitedRedirects value)? limitedRedirects,
|
TResult Function(RedirectSettings_LimitedRedirects value)? limitedRedirects,
|
||||||
required TResult orElse(),
|
required TResult orElse(),
|
||||||
}) => throw _privateConstructorUsedError;
|
}) =>
|
||||||
|
throw _privateConstructorUsedError;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @nodoc
|
/// @nodoc
|
||||||
abstract class $RedirectSettingsCopyWith<$Res> {
|
abstract class $RedirectSettingsCopyWith<$Res> {
|
||||||
factory $RedirectSettingsCopyWith(
|
factory $RedirectSettingsCopyWith(
|
||||||
RedirectSettings value,
|
RedirectSettings value, $Res Function(RedirectSettings) then) =
|
||||||
$Res Function(RedirectSettings) then,
|
_$RedirectSettingsCopyWithImpl<$Res, RedirectSettings>;
|
||||||
) = _$RedirectSettingsCopyWithImpl<$Res, RedirectSettings>;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @nodoc
|
/// @nodoc
|
||||||
|
|
@ -408,20 +413,20 @@ class _$RedirectSettingsCopyWithImpl<$Res, $Val extends RedirectSettings>
|
||||||
/// @nodoc
|
/// @nodoc
|
||||||
abstract class _$$RedirectSettings_NoRedirectImplCopyWith<$Res> {
|
abstract class _$$RedirectSettings_NoRedirectImplCopyWith<$Res> {
|
||||||
factory _$$RedirectSettings_NoRedirectImplCopyWith(
|
factory _$$RedirectSettings_NoRedirectImplCopyWith(
|
||||||
_$RedirectSettings_NoRedirectImpl value,
|
_$RedirectSettings_NoRedirectImpl value,
|
||||||
$Res Function(_$RedirectSettings_NoRedirectImpl) then,
|
$Res Function(_$RedirectSettings_NoRedirectImpl) then) =
|
||||||
) = __$$RedirectSettings_NoRedirectImplCopyWithImpl<$Res>;
|
__$$RedirectSettings_NoRedirectImplCopyWithImpl<$Res>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @nodoc
|
/// @nodoc
|
||||||
class __$$RedirectSettings_NoRedirectImplCopyWithImpl<$Res>
|
class __$$RedirectSettings_NoRedirectImplCopyWithImpl<$Res>
|
||||||
extends
|
extends _$RedirectSettingsCopyWithImpl<$Res,
|
||||||
_$RedirectSettingsCopyWithImpl<$Res, _$RedirectSettings_NoRedirectImpl>
|
_$RedirectSettings_NoRedirectImpl>
|
||||||
implements _$$RedirectSettings_NoRedirectImplCopyWith<$Res> {
|
implements _$$RedirectSettings_NoRedirectImplCopyWith<$Res> {
|
||||||
__$$RedirectSettings_NoRedirectImplCopyWithImpl(
|
__$$RedirectSettings_NoRedirectImplCopyWithImpl(
|
||||||
_$RedirectSettings_NoRedirectImpl _value,
|
_$RedirectSettings_NoRedirectImpl _value,
|
||||||
$Res Function(_$RedirectSettings_NoRedirectImpl) _then,
|
$Res Function(_$RedirectSettings_NoRedirectImpl) _then)
|
||||||
) : super(_value, _then);
|
: super(_value, _then);
|
||||||
|
|
||||||
/// Create a copy of RedirectSettings
|
/// Create a copy of RedirectSettings
|
||||||
/// with the given fields replaced by the non-null parameter values.
|
/// with the given fields replaced by the non-null parameter values.
|
||||||
|
|
@ -483,7 +488,7 @@ class _$RedirectSettings_NoRedirectImpl extends RedirectSettings_NoRedirect {
|
||||||
TResult map<TResult extends Object?>({
|
TResult map<TResult extends Object?>({
|
||||||
required TResult Function(RedirectSettings_NoRedirect value) noRedirect,
|
required TResult Function(RedirectSettings_NoRedirect value) noRedirect,
|
||||||
required TResult Function(RedirectSettings_LimitedRedirects value)
|
required TResult Function(RedirectSettings_LimitedRedirects value)
|
||||||
limitedRedirects,
|
limitedRedirects,
|
||||||
}) {
|
}) {
|
||||||
return noRedirect(this);
|
return noRedirect(this);
|
||||||
}
|
}
|
||||||
|
|
@ -493,7 +498,7 @@ class _$RedirectSettings_NoRedirectImpl extends RedirectSettings_NoRedirect {
|
||||||
TResult? mapOrNull<TResult extends Object?>({
|
TResult? mapOrNull<TResult extends Object?>({
|
||||||
TResult? Function(RedirectSettings_NoRedirect value)? noRedirect,
|
TResult? Function(RedirectSettings_NoRedirect value)? noRedirect,
|
||||||
TResult? Function(RedirectSettings_LimitedRedirects value)?
|
TResult? Function(RedirectSettings_LimitedRedirects value)?
|
||||||
limitedRedirects,
|
limitedRedirects,
|
||||||
}) {
|
}) {
|
||||||
return noRedirect?.call(this);
|
return noRedirect?.call(this);
|
||||||
}
|
}
|
||||||
|
|
@ -521,39 +526,36 @@ abstract class RedirectSettings_NoRedirect extends RedirectSettings {
|
||||||
/// @nodoc
|
/// @nodoc
|
||||||
abstract class _$$RedirectSettings_LimitedRedirectsImplCopyWith<$Res> {
|
abstract class _$$RedirectSettings_LimitedRedirectsImplCopyWith<$Res> {
|
||||||
factory _$$RedirectSettings_LimitedRedirectsImplCopyWith(
|
factory _$$RedirectSettings_LimitedRedirectsImplCopyWith(
|
||||||
_$RedirectSettings_LimitedRedirectsImpl value,
|
_$RedirectSettings_LimitedRedirectsImpl value,
|
||||||
$Res Function(_$RedirectSettings_LimitedRedirectsImpl) then,
|
$Res Function(_$RedirectSettings_LimitedRedirectsImpl) then) =
|
||||||
) = __$$RedirectSettings_LimitedRedirectsImplCopyWithImpl<$Res>;
|
__$$RedirectSettings_LimitedRedirectsImplCopyWithImpl<$Res>;
|
||||||
@useResult
|
@useResult
|
||||||
$Res call({int field0});
|
$Res call({int field0});
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @nodoc
|
/// @nodoc
|
||||||
class __$$RedirectSettings_LimitedRedirectsImplCopyWithImpl<$Res>
|
class __$$RedirectSettings_LimitedRedirectsImplCopyWithImpl<$Res>
|
||||||
extends
|
extends _$RedirectSettingsCopyWithImpl<$Res,
|
||||||
_$RedirectSettingsCopyWithImpl<
|
_$RedirectSettings_LimitedRedirectsImpl>
|
||||||
$Res,
|
|
||||||
_$RedirectSettings_LimitedRedirectsImpl
|
|
||||||
>
|
|
||||||
implements _$$RedirectSettings_LimitedRedirectsImplCopyWith<$Res> {
|
implements _$$RedirectSettings_LimitedRedirectsImplCopyWith<$Res> {
|
||||||
__$$RedirectSettings_LimitedRedirectsImplCopyWithImpl(
|
__$$RedirectSettings_LimitedRedirectsImplCopyWithImpl(
|
||||||
_$RedirectSettings_LimitedRedirectsImpl _value,
|
_$RedirectSettings_LimitedRedirectsImpl _value,
|
||||||
$Res Function(_$RedirectSettings_LimitedRedirectsImpl) _then,
|
$Res Function(_$RedirectSettings_LimitedRedirectsImpl) _then)
|
||||||
) : super(_value, _then);
|
: super(_value, _then);
|
||||||
|
|
||||||
/// Create a copy of RedirectSettings
|
/// Create a copy of RedirectSettings
|
||||||
/// with the given fields replaced by the non-null parameter values.
|
/// with the given fields replaced by the non-null parameter values.
|
||||||
@pragma('vm:prefer-inline')
|
@pragma('vm:prefer-inline')
|
||||||
@override
|
@override
|
||||||
$Res call({Object? field0 = null}) {
|
$Res call({
|
||||||
return _then(
|
Object? field0 = null,
|
||||||
_$RedirectSettings_LimitedRedirectsImpl(
|
}) {
|
||||||
null == field0
|
return _then(_$RedirectSettings_LimitedRedirectsImpl(
|
||||||
? _value.field0
|
null == field0
|
||||||
: field0 // ignore: cast_nullable_to_non_nullable
|
? _value.field0
|
||||||
as int,
|
: field0 // ignore: cast_nullable_to_non_nullable
|
||||||
),
|
as int,
|
||||||
);
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -588,11 +590,9 @@ class _$RedirectSettings_LimitedRedirectsImpl
|
||||||
@override
|
@override
|
||||||
@pragma('vm:prefer-inline')
|
@pragma('vm:prefer-inline')
|
||||||
_$$RedirectSettings_LimitedRedirectsImplCopyWith<
|
_$$RedirectSettings_LimitedRedirectsImplCopyWith<
|
||||||
_$RedirectSettings_LimitedRedirectsImpl
|
_$RedirectSettings_LimitedRedirectsImpl>
|
||||||
>
|
get copyWith => __$$RedirectSettings_LimitedRedirectsImplCopyWithImpl<
|
||||||
get copyWith => __$$RedirectSettings_LimitedRedirectsImplCopyWithImpl<
|
_$RedirectSettings_LimitedRedirectsImpl>(this, _$identity);
|
||||||
_$RedirectSettings_LimitedRedirectsImpl
|
|
||||||
>(this, _$identity);
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
@optionalTypeArgs
|
@optionalTypeArgs
|
||||||
|
|
@ -630,7 +630,7 @@ class _$RedirectSettings_LimitedRedirectsImpl
|
||||||
TResult map<TResult extends Object?>({
|
TResult map<TResult extends Object?>({
|
||||||
required TResult Function(RedirectSettings_NoRedirect value) noRedirect,
|
required TResult Function(RedirectSettings_NoRedirect value) noRedirect,
|
||||||
required TResult Function(RedirectSettings_LimitedRedirects value)
|
required TResult Function(RedirectSettings_LimitedRedirects value)
|
||||||
limitedRedirects,
|
limitedRedirects,
|
||||||
}) {
|
}) {
|
||||||
return limitedRedirects(this);
|
return limitedRedirects(this);
|
||||||
}
|
}
|
||||||
|
|
@ -640,7 +640,7 @@ class _$RedirectSettings_LimitedRedirectsImpl
|
||||||
TResult? mapOrNull<TResult extends Object?>({
|
TResult? mapOrNull<TResult extends Object?>({
|
||||||
TResult? Function(RedirectSettings_NoRedirect value)? noRedirect,
|
TResult? Function(RedirectSettings_NoRedirect value)? noRedirect,
|
||||||
TResult? Function(RedirectSettings_LimitedRedirects value)?
|
TResult? Function(RedirectSettings_LimitedRedirects value)?
|
||||||
limitedRedirects,
|
limitedRedirects,
|
||||||
}) {
|
}) {
|
||||||
return limitedRedirects?.call(this);
|
return limitedRedirects?.call(this);
|
||||||
}
|
}
|
||||||
|
|
@ -670,7 +670,6 @@ abstract class RedirectSettings_LimitedRedirects extends RedirectSettings {
|
||||||
/// with the given fields replaced by the non-null parameter values.
|
/// with the given fields replaced by the non-null parameter values.
|
||||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||||
_$$RedirectSettings_LimitedRedirectsImplCopyWith<
|
_$$RedirectSettings_LimitedRedirectsImplCopyWith<
|
||||||
_$RedirectSettings_LimitedRedirectsImpl
|
_$RedirectSettings_LimitedRedirectsImpl>
|
||||||
>
|
get copyWith => throw _privateConstructorUsedError;
|
||||||
get copyWith => throw _privateConstructorUsedError;
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -12,8 +12,7 @@ part of 'http.dart';
|
||||||
T _$identity<T>(T value) => value;
|
T _$identity<T>(T value) => value;
|
||||||
|
|
||||||
final _privateConstructorUsedError = UnsupportedError(
|
final _privateConstructorUsedError = UnsupportedError(
|
||||||
'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models',
|
'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models');
|
||||||
);
|
|
||||||
|
|
||||||
/// @nodoc
|
/// @nodoc
|
||||||
mixin _$HttpHeaders {
|
mixin _$HttpHeaders {
|
||||||
|
|
@ -22,42 +21,47 @@ mixin _$HttpHeaders {
|
||||||
TResult when<TResult extends Object?>({
|
TResult when<TResult extends Object?>({
|
||||||
required TResult Function(Map<String, String> field0) map,
|
required TResult Function(Map<String, String> field0) map,
|
||||||
required TResult Function(List<(String, String)> field0) list,
|
required TResult Function(List<(String, String)> field0) list,
|
||||||
}) => throw _privateConstructorUsedError;
|
}) =>
|
||||||
|
throw _privateConstructorUsedError;
|
||||||
@optionalTypeArgs
|
@optionalTypeArgs
|
||||||
TResult? whenOrNull<TResult extends Object?>({
|
TResult? whenOrNull<TResult extends Object?>({
|
||||||
TResult? Function(Map<String, String> field0)? map,
|
TResult? Function(Map<String, String> field0)? map,
|
||||||
TResult? Function(List<(String, String)> field0)? list,
|
TResult? Function(List<(String, String)> field0)? list,
|
||||||
}) => throw _privateConstructorUsedError;
|
}) =>
|
||||||
|
throw _privateConstructorUsedError;
|
||||||
@optionalTypeArgs
|
@optionalTypeArgs
|
||||||
TResult maybeWhen<TResult extends Object?>({
|
TResult maybeWhen<TResult extends Object?>({
|
||||||
TResult Function(Map<String, String> field0)? map,
|
TResult Function(Map<String, String> field0)? map,
|
||||||
TResult Function(List<(String, String)> field0)? list,
|
TResult Function(List<(String, String)> field0)? list,
|
||||||
required TResult orElse(),
|
required TResult orElse(),
|
||||||
}) => throw _privateConstructorUsedError;
|
}) =>
|
||||||
|
throw _privateConstructorUsedError;
|
||||||
@optionalTypeArgs
|
@optionalTypeArgs
|
||||||
TResult map<TResult extends Object?>({
|
TResult map<TResult extends Object?>({
|
||||||
required TResult Function(HttpHeaders_Map value) map,
|
required TResult Function(HttpHeaders_Map value) map,
|
||||||
required TResult Function(HttpHeaders_List value) list,
|
required TResult Function(HttpHeaders_List value) list,
|
||||||
}) => throw _privateConstructorUsedError;
|
}) =>
|
||||||
|
throw _privateConstructorUsedError;
|
||||||
@optionalTypeArgs
|
@optionalTypeArgs
|
||||||
TResult? mapOrNull<TResult extends Object?>({
|
TResult? mapOrNull<TResult extends Object?>({
|
||||||
TResult? Function(HttpHeaders_Map value)? map,
|
TResult? Function(HttpHeaders_Map value)? map,
|
||||||
TResult? Function(HttpHeaders_List value)? list,
|
TResult? Function(HttpHeaders_List value)? list,
|
||||||
}) => throw _privateConstructorUsedError;
|
}) =>
|
||||||
|
throw _privateConstructorUsedError;
|
||||||
@optionalTypeArgs
|
@optionalTypeArgs
|
||||||
TResult maybeMap<TResult extends Object?>({
|
TResult maybeMap<TResult extends Object?>({
|
||||||
TResult Function(HttpHeaders_Map value)? map,
|
TResult Function(HttpHeaders_Map value)? map,
|
||||||
TResult Function(HttpHeaders_List value)? list,
|
TResult Function(HttpHeaders_List value)? list,
|
||||||
required TResult orElse(),
|
required TResult orElse(),
|
||||||
}) => throw _privateConstructorUsedError;
|
}) =>
|
||||||
|
throw _privateConstructorUsedError;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @nodoc
|
/// @nodoc
|
||||||
abstract class $HttpHeadersCopyWith<$Res> {
|
abstract class $HttpHeadersCopyWith<$Res> {
|
||||||
factory $HttpHeadersCopyWith(
|
factory $HttpHeadersCopyWith(
|
||||||
HttpHeaders value,
|
HttpHeaders value, $Res Function(HttpHeaders) then) =
|
||||||
$Res Function(HttpHeaders) then,
|
_$HttpHeadersCopyWithImpl<$Res, HttpHeaders>;
|
||||||
) = _$HttpHeadersCopyWithImpl<$Res, HttpHeaders>;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @nodoc
|
/// @nodoc
|
||||||
|
|
@ -76,10 +80,9 @@ class _$HttpHeadersCopyWithImpl<$Res, $Val extends HttpHeaders>
|
||||||
|
|
||||||
/// @nodoc
|
/// @nodoc
|
||||||
abstract class _$$HttpHeaders_MapImplCopyWith<$Res> {
|
abstract class _$$HttpHeaders_MapImplCopyWith<$Res> {
|
||||||
factory _$$HttpHeaders_MapImplCopyWith(
|
factory _$$HttpHeaders_MapImplCopyWith(_$HttpHeaders_MapImpl value,
|
||||||
_$HttpHeaders_MapImpl value,
|
$Res Function(_$HttpHeaders_MapImpl) then) =
|
||||||
$Res Function(_$HttpHeaders_MapImpl) then,
|
__$$HttpHeaders_MapImplCopyWithImpl<$Res>;
|
||||||
) = __$$HttpHeaders_MapImplCopyWithImpl<$Res>;
|
|
||||||
@useResult
|
@useResult
|
||||||
$Res call({Map<String, String> field0});
|
$Res call({Map<String, String> field0});
|
||||||
}
|
}
|
||||||
|
|
@ -89,23 +92,22 @@ class __$$HttpHeaders_MapImplCopyWithImpl<$Res>
|
||||||
extends _$HttpHeadersCopyWithImpl<$Res, _$HttpHeaders_MapImpl>
|
extends _$HttpHeadersCopyWithImpl<$Res, _$HttpHeaders_MapImpl>
|
||||||
implements _$$HttpHeaders_MapImplCopyWith<$Res> {
|
implements _$$HttpHeaders_MapImplCopyWith<$Res> {
|
||||||
__$$HttpHeaders_MapImplCopyWithImpl(
|
__$$HttpHeaders_MapImplCopyWithImpl(
|
||||||
_$HttpHeaders_MapImpl _value,
|
_$HttpHeaders_MapImpl _value, $Res Function(_$HttpHeaders_MapImpl) _then)
|
||||||
$Res Function(_$HttpHeaders_MapImpl) _then,
|
: super(_value, _then);
|
||||||
) : super(_value, _then);
|
|
||||||
|
|
||||||
/// Create a copy of HttpHeaders
|
/// Create a copy of HttpHeaders
|
||||||
/// with the given fields replaced by the non-null parameter values.
|
/// with the given fields replaced by the non-null parameter values.
|
||||||
@pragma('vm:prefer-inline')
|
@pragma('vm:prefer-inline')
|
||||||
@override
|
@override
|
||||||
$Res call({Object? field0 = null}) {
|
$Res call({
|
||||||
return _then(
|
Object? field0 = null,
|
||||||
_$HttpHeaders_MapImpl(
|
}) {
|
||||||
null == field0
|
return _then(_$HttpHeaders_MapImpl(
|
||||||
? _value._field0
|
null == field0
|
||||||
: field0 // ignore: cast_nullable_to_non_nullable
|
? _value._field0
|
||||||
as Map<String, String>,
|
: field0 // ignore: cast_nullable_to_non_nullable
|
||||||
),
|
as Map<String, String>,
|
||||||
);
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -113,8 +115,8 @@ class __$$HttpHeaders_MapImplCopyWithImpl<$Res>
|
||||||
|
|
||||||
class _$HttpHeaders_MapImpl extends HttpHeaders_Map {
|
class _$HttpHeaders_MapImpl extends HttpHeaders_Map {
|
||||||
const _$HttpHeaders_MapImpl(final Map<String, String> field0)
|
const _$HttpHeaders_MapImpl(final Map<String, String> field0)
|
||||||
: _field0 = field0,
|
: _field0 = field0,
|
||||||
super._();
|
super._();
|
||||||
|
|
||||||
final Map<String, String> _field0;
|
final Map<String, String> _field0;
|
||||||
@override
|
@override
|
||||||
|
|
@ -148,9 +150,7 @@ class _$HttpHeaders_MapImpl extends HttpHeaders_Map {
|
||||||
@pragma('vm:prefer-inline')
|
@pragma('vm:prefer-inline')
|
||||||
_$$HttpHeaders_MapImplCopyWith<_$HttpHeaders_MapImpl> get copyWith =>
|
_$$HttpHeaders_MapImplCopyWith<_$HttpHeaders_MapImpl> get copyWith =>
|
||||||
__$$HttpHeaders_MapImplCopyWithImpl<_$HttpHeaders_MapImpl>(
|
__$$HttpHeaders_MapImplCopyWithImpl<_$HttpHeaders_MapImpl>(
|
||||||
this,
|
this, _$identity);
|
||||||
_$identity,
|
|
||||||
);
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
@optionalTypeArgs
|
@optionalTypeArgs
|
||||||
|
|
@ -232,10 +232,9 @@ abstract class HttpHeaders_Map extends HttpHeaders {
|
||||||
|
|
||||||
/// @nodoc
|
/// @nodoc
|
||||||
abstract class _$$HttpHeaders_ListImplCopyWith<$Res> {
|
abstract class _$$HttpHeaders_ListImplCopyWith<$Res> {
|
||||||
factory _$$HttpHeaders_ListImplCopyWith(
|
factory _$$HttpHeaders_ListImplCopyWith(_$HttpHeaders_ListImpl value,
|
||||||
_$HttpHeaders_ListImpl value,
|
$Res Function(_$HttpHeaders_ListImpl) then) =
|
||||||
$Res Function(_$HttpHeaders_ListImpl) then,
|
__$$HttpHeaders_ListImplCopyWithImpl<$Res>;
|
||||||
) = __$$HttpHeaders_ListImplCopyWithImpl<$Res>;
|
|
||||||
@useResult
|
@useResult
|
||||||
$Res call({List<(String, String)> field0});
|
$Res call({List<(String, String)> field0});
|
||||||
}
|
}
|
||||||
|
|
@ -244,24 +243,23 @@ abstract class _$$HttpHeaders_ListImplCopyWith<$Res> {
|
||||||
class __$$HttpHeaders_ListImplCopyWithImpl<$Res>
|
class __$$HttpHeaders_ListImplCopyWithImpl<$Res>
|
||||||
extends _$HttpHeadersCopyWithImpl<$Res, _$HttpHeaders_ListImpl>
|
extends _$HttpHeadersCopyWithImpl<$Res, _$HttpHeaders_ListImpl>
|
||||||
implements _$$HttpHeaders_ListImplCopyWith<$Res> {
|
implements _$$HttpHeaders_ListImplCopyWith<$Res> {
|
||||||
__$$HttpHeaders_ListImplCopyWithImpl(
|
__$$HttpHeaders_ListImplCopyWithImpl(_$HttpHeaders_ListImpl _value,
|
||||||
_$HttpHeaders_ListImpl _value,
|
$Res Function(_$HttpHeaders_ListImpl) _then)
|
||||||
$Res Function(_$HttpHeaders_ListImpl) _then,
|
: super(_value, _then);
|
||||||
) : super(_value, _then);
|
|
||||||
|
|
||||||
/// Create a copy of HttpHeaders
|
/// Create a copy of HttpHeaders
|
||||||
/// with the given fields replaced by the non-null parameter values.
|
/// with the given fields replaced by the non-null parameter values.
|
||||||
@pragma('vm:prefer-inline')
|
@pragma('vm:prefer-inline')
|
||||||
@override
|
@override
|
||||||
$Res call({Object? field0 = null}) {
|
$Res call({
|
||||||
return _then(
|
Object? field0 = null,
|
||||||
_$HttpHeaders_ListImpl(
|
}) {
|
||||||
null == field0
|
return _then(_$HttpHeaders_ListImpl(
|
||||||
? _value._field0
|
null == field0
|
||||||
: field0 // ignore: cast_nullable_to_non_nullable
|
? _value._field0
|
||||||
as List<(String, String)>,
|
: field0 // ignore: cast_nullable_to_non_nullable
|
||||||
),
|
as List<(String, String)>,
|
||||||
);
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -269,8 +267,8 @@ class __$$HttpHeaders_ListImplCopyWithImpl<$Res>
|
||||||
|
|
||||||
class _$HttpHeaders_ListImpl extends HttpHeaders_List {
|
class _$HttpHeaders_ListImpl extends HttpHeaders_List {
|
||||||
const _$HttpHeaders_ListImpl(final List<(String, String)> field0)
|
const _$HttpHeaders_ListImpl(final List<(String, String)> field0)
|
||||||
: _field0 = field0,
|
: _field0 = field0,
|
||||||
super._();
|
super._();
|
||||||
|
|
||||||
final List<(String, String)> _field0;
|
final List<(String, String)> _field0;
|
||||||
@override
|
@override
|
||||||
|
|
@ -304,9 +302,7 @@ class _$HttpHeaders_ListImpl extends HttpHeaders_List {
|
||||||
@pragma('vm:prefer-inline')
|
@pragma('vm:prefer-inline')
|
||||||
_$$HttpHeaders_ListImplCopyWith<_$HttpHeaders_ListImpl> get copyWith =>
|
_$$HttpHeaders_ListImplCopyWith<_$HttpHeaders_ListImpl> get copyWith =>
|
||||||
__$$HttpHeaders_ListImplCopyWithImpl<_$HttpHeaders_ListImpl>(
|
__$$HttpHeaders_ListImplCopyWithImpl<_$HttpHeaders_ListImpl>(
|
||||||
this,
|
this, _$identity);
|
||||||
_$identity,
|
|
||||||
);
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
@optionalTypeArgs
|
@optionalTypeArgs
|
||||||
|
|
@ -393,47 +389,52 @@ mixin _$HttpResponseBody {
|
||||||
required TResult Function(String field0) text,
|
required TResult Function(String field0) text,
|
||||||
required TResult Function(Uint8List field0) bytes,
|
required TResult Function(Uint8List field0) bytes,
|
||||||
required TResult Function() stream,
|
required TResult Function() stream,
|
||||||
}) => throw _privateConstructorUsedError;
|
}) =>
|
||||||
|
throw _privateConstructorUsedError;
|
||||||
@optionalTypeArgs
|
@optionalTypeArgs
|
||||||
TResult? whenOrNull<TResult extends Object?>({
|
TResult? whenOrNull<TResult extends Object?>({
|
||||||
TResult? Function(String field0)? text,
|
TResult? Function(String field0)? text,
|
||||||
TResult? Function(Uint8List field0)? bytes,
|
TResult? Function(Uint8List field0)? bytes,
|
||||||
TResult? Function()? stream,
|
TResult? Function()? stream,
|
||||||
}) => throw _privateConstructorUsedError;
|
}) =>
|
||||||
|
throw _privateConstructorUsedError;
|
||||||
@optionalTypeArgs
|
@optionalTypeArgs
|
||||||
TResult maybeWhen<TResult extends Object?>({
|
TResult maybeWhen<TResult extends Object?>({
|
||||||
TResult Function(String field0)? text,
|
TResult Function(String field0)? text,
|
||||||
TResult Function(Uint8List field0)? bytes,
|
TResult Function(Uint8List field0)? bytes,
|
||||||
TResult Function()? stream,
|
TResult Function()? stream,
|
||||||
required TResult orElse(),
|
required TResult orElse(),
|
||||||
}) => throw _privateConstructorUsedError;
|
}) =>
|
||||||
|
throw _privateConstructorUsedError;
|
||||||
@optionalTypeArgs
|
@optionalTypeArgs
|
||||||
TResult map<TResult extends Object?>({
|
TResult map<TResult extends Object?>({
|
||||||
required TResult Function(HttpResponseBody_Text value) text,
|
required TResult Function(HttpResponseBody_Text value) text,
|
||||||
required TResult Function(HttpResponseBody_Bytes value) bytes,
|
required TResult Function(HttpResponseBody_Bytes value) bytes,
|
||||||
required TResult Function(HttpResponseBody_Stream value) stream,
|
required TResult Function(HttpResponseBody_Stream value) stream,
|
||||||
}) => throw _privateConstructorUsedError;
|
}) =>
|
||||||
|
throw _privateConstructorUsedError;
|
||||||
@optionalTypeArgs
|
@optionalTypeArgs
|
||||||
TResult? mapOrNull<TResult extends Object?>({
|
TResult? mapOrNull<TResult extends Object?>({
|
||||||
TResult? Function(HttpResponseBody_Text value)? text,
|
TResult? Function(HttpResponseBody_Text value)? text,
|
||||||
TResult? Function(HttpResponseBody_Bytes value)? bytes,
|
TResult? Function(HttpResponseBody_Bytes value)? bytes,
|
||||||
TResult? Function(HttpResponseBody_Stream value)? stream,
|
TResult? Function(HttpResponseBody_Stream value)? stream,
|
||||||
}) => throw _privateConstructorUsedError;
|
}) =>
|
||||||
|
throw _privateConstructorUsedError;
|
||||||
@optionalTypeArgs
|
@optionalTypeArgs
|
||||||
TResult maybeMap<TResult extends Object?>({
|
TResult maybeMap<TResult extends Object?>({
|
||||||
TResult Function(HttpResponseBody_Text value)? text,
|
TResult Function(HttpResponseBody_Text value)? text,
|
||||||
TResult Function(HttpResponseBody_Bytes value)? bytes,
|
TResult Function(HttpResponseBody_Bytes value)? bytes,
|
||||||
TResult Function(HttpResponseBody_Stream value)? stream,
|
TResult Function(HttpResponseBody_Stream value)? stream,
|
||||||
required TResult orElse(),
|
required TResult orElse(),
|
||||||
}) => throw _privateConstructorUsedError;
|
}) =>
|
||||||
|
throw _privateConstructorUsedError;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @nodoc
|
/// @nodoc
|
||||||
abstract class $HttpResponseBodyCopyWith<$Res> {
|
abstract class $HttpResponseBodyCopyWith<$Res> {
|
||||||
factory $HttpResponseBodyCopyWith(
|
factory $HttpResponseBodyCopyWith(
|
||||||
HttpResponseBody value,
|
HttpResponseBody value, $Res Function(HttpResponseBody) then) =
|
||||||
$Res Function(HttpResponseBody) then,
|
_$HttpResponseBodyCopyWithImpl<$Res, HttpResponseBody>;
|
||||||
) = _$HttpResponseBodyCopyWithImpl<$Res, HttpResponseBody>;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @nodoc
|
/// @nodoc
|
||||||
|
|
@ -453,9 +454,9 @@ class _$HttpResponseBodyCopyWithImpl<$Res, $Val extends HttpResponseBody>
|
||||||
/// @nodoc
|
/// @nodoc
|
||||||
abstract class _$$HttpResponseBody_TextImplCopyWith<$Res> {
|
abstract class _$$HttpResponseBody_TextImplCopyWith<$Res> {
|
||||||
factory _$$HttpResponseBody_TextImplCopyWith(
|
factory _$$HttpResponseBody_TextImplCopyWith(
|
||||||
_$HttpResponseBody_TextImpl value,
|
_$HttpResponseBody_TextImpl value,
|
||||||
$Res Function(_$HttpResponseBody_TextImpl) then,
|
$Res Function(_$HttpResponseBody_TextImpl) then) =
|
||||||
) = __$$HttpResponseBody_TextImplCopyWithImpl<$Res>;
|
__$$HttpResponseBody_TextImplCopyWithImpl<$Res>;
|
||||||
@useResult
|
@useResult
|
||||||
$Res call({String field0});
|
$Res call({String field0});
|
||||||
}
|
}
|
||||||
|
|
@ -464,24 +465,23 @@ abstract class _$$HttpResponseBody_TextImplCopyWith<$Res> {
|
||||||
class __$$HttpResponseBody_TextImplCopyWithImpl<$Res>
|
class __$$HttpResponseBody_TextImplCopyWithImpl<$Res>
|
||||||
extends _$HttpResponseBodyCopyWithImpl<$Res, _$HttpResponseBody_TextImpl>
|
extends _$HttpResponseBodyCopyWithImpl<$Res, _$HttpResponseBody_TextImpl>
|
||||||
implements _$$HttpResponseBody_TextImplCopyWith<$Res> {
|
implements _$$HttpResponseBody_TextImplCopyWith<$Res> {
|
||||||
__$$HttpResponseBody_TextImplCopyWithImpl(
|
__$$HttpResponseBody_TextImplCopyWithImpl(_$HttpResponseBody_TextImpl _value,
|
||||||
_$HttpResponseBody_TextImpl _value,
|
$Res Function(_$HttpResponseBody_TextImpl) _then)
|
||||||
$Res Function(_$HttpResponseBody_TextImpl) _then,
|
: super(_value, _then);
|
||||||
) : super(_value, _then);
|
|
||||||
|
|
||||||
/// Create a copy of HttpResponseBody
|
/// Create a copy of HttpResponseBody
|
||||||
/// with the given fields replaced by the non-null parameter values.
|
/// with the given fields replaced by the non-null parameter values.
|
||||||
@pragma('vm:prefer-inline')
|
@pragma('vm:prefer-inline')
|
||||||
@override
|
@override
|
||||||
$Res call({Object? field0 = null}) {
|
$Res call({
|
||||||
return _then(
|
Object? field0 = null,
|
||||||
_$HttpResponseBody_TextImpl(
|
}) {
|
||||||
null == field0
|
return _then(_$HttpResponseBody_TextImpl(
|
||||||
? _value.field0
|
null == field0
|
||||||
: field0 // ignore: cast_nullable_to_non_nullable
|
? _value.field0
|
||||||
as String,
|
: field0 // ignore: cast_nullable_to_non_nullable
|
||||||
),
|
as String,
|
||||||
);
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -515,11 +515,8 @@ class _$HttpResponseBody_TextImpl extends HttpResponseBody_Text {
|
||||||
@override
|
@override
|
||||||
@pragma('vm:prefer-inline')
|
@pragma('vm:prefer-inline')
|
||||||
_$$HttpResponseBody_TextImplCopyWith<_$HttpResponseBody_TextImpl>
|
_$$HttpResponseBody_TextImplCopyWith<_$HttpResponseBody_TextImpl>
|
||||||
get copyWith =>
|
get copyWith => __$$HttpResponseBody_TextImplCopyWithImpl<
|
||||||
__$$HttpResponseBody_TextImplCopyWithImpl<_$HttpResponseBody_TextImpl>(
|
_$HttpResponseBody_TextImpl>(this, _$identity);
|
||||||
this,
|
|
||||||
_$identity,
|
|
||||||
);
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
@optionalTypeArgs
|
@optionalTypeArgs
|
||||||
|
|
@ -601,15 +598,15 @@ abstract class HttpResponseBody_Text extends HttpResponseBody {
|
||||||
/// with the given fields replaced by the non-null parameter values.
|
/// with the given fields replaced by the non-null parameter values.
|
||||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||||
_$$HttpResponseBody_TextImplCopyWith<_$HttpResponseBody_TextImpl>
|
_$$HttpResponseBody_TextImplCopyWith<_$HttpResponseBody_TextImpl>
|
||||||
get copyWith => throw _privateConstructorUsedError;
|
get copyWith => throw _privateConstructorUsedError;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @nodoc
|
/// @nodoc
|
||||||
abstract class _$$HttpResponseBody_BytesImplCopyWith<$Res> {
|
abstract class _$$HttpResponseBody_BytesImplCopyWith<$Res> {
|
||||||
factory _$$HttpResponseBody_BytesImplCopyWith(
|
factory _$$HttpResponseBody_BytesImplCopyWith(
|
||||||
_$HttpResponseBody_BytesImpl value,
|
_$HttpResponseBody_BytesImpl value,
|
||||||
$Res Function(_$HttpResponseBody_BytesImpl) then,
|
$Res Function(_$HttpResponseBody_BytesImpl) then) =
|
||||||
) = __$$HttpResponseBody_BytesImplCopyWithImpl<$Res>;
|
__$$HttpResponseBody_BytesImplCopyWithImpl<$Res>;
|
||||||
@useResult
|
@useResult
|
||||||
$Res call({Uint8List field0});
|
$Res call({Uint8List field0});
|
||||||
}
|
}
|
||||||
|
|
@ -619,23 +616,23 @@ class __$$HttpResponseBody_BytesImplCopyWithImpl<$Res>
|
||||||
extends _$HttpResponseBodyCopyWithImpl<$Res, _$HttpResponseBody_BytesImpl>
|
extends _$HttpResponseBodyCopyWithImpl<$Res, _$HttpResponseBody_BytesImpl>
|
||||||
implements _$$HttpResponseBody_BytesImplCopyWith<$Res> {
|
implements _$$HttpResponseBody_BytesImplCopyWith<$Res> {
|
||||||
__$$HttpResponseBody_BytesImplCopyWithImpl(
|
__$$HttpResponseBody_BytesImplCopyWithImpl(
|
||||||
_$HttpResponseBody_BytesImpl _value,
|
_$HttpResponseBody_BytesImpl _value,
|
||||||
$Res Function(_$HttpResponseBody_BytesImpl) _then,
|
$Res Function(_$HttpResponseBody_BytesImpl) _then)
|
||||||
) : super(_value, _then);
|
: super(_value, _then);
|
||||||
|
|
||||||
/// Create a copy of HttpResponseBody
|
/// Create a copy of HttpResponseBody
|
||||||
/// with the given fields replaced by the non-null parameter values.
|
/// with the given fields replaced by the non-null parameter values.
|
||||||
@pragma('vm:prefer-inline')
|
@pragma('vm:prefer-inline')
|
||||||
@override
|
@override
|
||||||
$Res call({Object? field0 = null}) {
|
$Res call({
|
||||||
return _then(
|
Object? field0 = null,
|
||||||
_$HttpResponseBody_BytesImpl(
|
}) {
|
||||||
null == field0
|
return _then(_$HttpResponseBody_BytesImpl(
|
||||||
? _value.field0
|
null == field0
|
||||||
: field0 // ignore: cast_nullable_to_non_nullable
|
? _value.field0
|
||||||
as Uint8List,
|
: field0 // ignore: cast_nullable_to_non_nullable
|
||||||
),
|
as Uint8List,
|
||||||
);
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -670,11 +667,8 @@ class _$HttpResponseBody_BytesImpl extends HttpResponseBody_Bytes {
|
||||||
@override
|
@override
|
||||||
@pragma('vm:prefer-inline')
|
@pragma('vm:prefer-inline')
|
||||||
_$$HttpResponseBody_BytesImplCopyWith<_$HttpResponseBody_BytesImpl>
|
_$$HttpResponseBody_BytesImplCopyWith<_$HttpResponseBody_BytesImpl>
|
||||||
get copyWith =>
|
get copyWith => __$$HttpResponseBody_BytesImplCopyWithImpl<
|
||||||
__$$HttpResponseBody_BytesImplCopyWithImpl<_$HttpResponseBody_BytesImpl>(
|
_$HttpResponseBody_BytesImpl>(this, _$identity);
|
||||||
this,
|
|
||||||
_$identity,
|
|
||||||
);
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
@optionalTypeArgs
|
@optionalTypeArgs
|
||||||
|
|
@ -756,15 +750,15 @@ abstract class HttpResponseBody_Bytes extends HttpResponseBody {
|
||||||
/// with the given fields replaced by the non-null parameter values.
|
/// with the given fields replaced by the non-null parameter values.
|
||||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||||
_$$HttpResponseBody_BytesImplCopyWith<_$HttpResponseBody_BytesImpl>
|
_$$HttpResponseBody_BytesImplCopyWith<_$HttpResponseBody_BytesImpl>
|
||||||
get copyWith => throw _privateConstructorUsedError;
|
get copyWith => throw _privateConstructorUsedError;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @nodoc
|
/// @nodoc
|
||||||
abstract class _$$HttpResponseBody_StreamImplCopyWith<$Res> {
|
abstract class _$$HttpResponseBody_StreamImplCopyWith<$Res> {
|
||||||
factory _$$HttpResponseBody_StreamImplCopyWith(
|
factory _$$HttpResponseBody_StreamImplCopyWith(
|
||||||
_$HttpResponseBody_StreamImpl value,
|
_$HttpResponseBody_StreamImpl value,
|
||||||
$Res Function(_$HttpResponseBody_StreamImpl) then,
|
$Res Function(_$HttpResponseBody_StreamImpl) then) =
|
||||||
) = __$$HttpResponseBody_StreamImplCopyWithImpl<$Res>;
|
__$$HttpResponseBody_StreamImplCopyWithImpl<$Res>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @nodoc
|
/// @nodoc
|
||||||
|
|
@ -772,9 +766,9 @@ class __$$HttpResponseBody_StreamImplCopyWithImpl<$Res>
|
||||||
extends _$HttpResponseBodyCopyWithImpl<$Res, _$HttpResponseBody_StreamImpl>
|
extends _$HttpResponseBodyCopyWithImpl<$Res, _$HttpResponseBody_StreamImpl>
|
||||||
implements _$$HttpResponseBody_StreamImplCopyWith<$Res> {
|
implements _$$HttpResponseBody_StreamImplCopyWith<$Res> {
|
||||||
__$$HttpResponseBody_StreamImplCopyWithImpl(
|
__$$HttpResponseBody_StreamImplCopyWithImpl(
|
||||||
_$HttpResponseBody_StreamImpl _value,
|
_$HttpResponseBody_StreamImpl _value,
|
||||||
$Res Function(_$HttpResponseBody_StreamImpl) _then,
|
$Res Function(_$HttpResponseBody_StreamImpl) _then)
|
||||||
) : super(_value, _then);
|
: super(_value, _then);
|
||||||
|
|
||||||
/// Create a copy of HttpResponseBody
|
/// Create a copy of HttpResponseBody
|
||||||
/// with the given fields replaced by the non-null parameter values.
|
/// with the given fields replaced by the non-null parameter values.
|
||||||
|
|
|
||||||
|
|
@ -31,3 +31,36 @@ Widget cachedNetworkImage({
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Widget cachedCompressedNetworkImage({
|
||||||
|
Map<String, String>? headers,
|
||||||
|
required String imageUrl,
|
||||||
|
required double? width,
|
||||||
|
required double? height,
|
||||||
|
required BoxFit? fit,
|
||||||
|
AlignmentGeometry? alignment,
|
||||||
|
bool useCustomNetworkImage = true,
|
||||||
|
Widget errorWidget = const Icon(Icons.error, size: 50),
|
||||||
|
}) {
|
||||||
|
return ExtendedImage(
|
||||||
|
image: ExtendedResizeImage(
|
||||||
|
useCustomNetworkImage
|
||||||
|
? CustomExtendedNetworkImageProvider(imageUrl, headers: headers)
|
||||||
|
: ExtendedNetworkImageProvider(imageUrl, headers: headers),
|
||||||
|
maxBytes: 5 << 10,
|
||||||
|
),
|
||||||
|
width: width,
|
||||||
|
height: height,
|
||||||
|
fit: fit,
|
||||||
|
filterQuality: FilterQuality.medium,
|
||||||
|
mode: ExtendedImageMode.gesture,
|
||||||
|
handleLoadingProgress: true,
|
||||||
|
clearMemoryCacheWhenDispose: true,
|
||||||
|
loadStateChanged: (state) {
|
||||||
|
if (state.extendedImageLoadState == LoadState.failed) {
|
||||||
|
return errorWidget;
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ import app_links
|
||||||
import audio_session
|
import audio_session
|
||||||
import connectivity_plus
|
import connectivity_plus
|
||||||
import device_info_plus
|
import device_info_plus
|
||||||
|
import file_picker
|
||||||
import flutter_inappwebview_macos
|
import flutter_inappwebview_macos
|
||||||
import flutter_qjs
|
import flutter_qjs
|
||||||
import flutter_web_auth_2
|
import flutter_web_auth_2
|
||||||
|
|
@ -35,6 +36,7 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
|
||||||
AudioSessionPlugin.register(with: registry.registrar(forPlugin: "AudioSessionPlugin"))
|
AudioSessionPlugin.register(with: registry.registrar(forPlugin: "AudioSessionPlugin"))
|
||||||
ConnectivityPlusPlugin.register(with: registry.registrar(forPlugin: "ConnectivityPlusPlugin"))
|
ConnectivityPlusPlugin.register(with: registry.registrar(forPlugin: "ConnectivityPlusPlugin"))
|
||||||
DeviceInfoPlusMacosPlugin.register(with: registry.registrar(forPlugin: "DeviceInfoPlusMacosPlugin"))
|
DeviceInfoPlusMacosPlugin.register(with: registry.registrar(forPlugin: "DeviceInfoPlusMacosPlugin"))
|
||||||
|
FilePickerPlugin.register(with: registry.registrar(forPlugin: "FilePickerPlugin"))
|
||||||
InAppWebViewFlutterPlugin.register(with: registry.registrar(forPlugin: "InAppWebViewFlutterPlugin"))
|
InAppWebViewFlutterPlugin.register(with: registry.registrar(forPlugin: "InAppWebViewFlutterPlugin"))
|
||||||
FlutterQjsPlugin.register(with: registry.registrar(forPlugin: "FlutterQjsPlugin"))
|
FlutterQjsPlugin.register(with: registry.registrar(forPlugin: "FlutterQjsPlugin"))
|
||||||
FlutterWebAuth2Plugin.register(with: registry.registrar(forPlugin: "FlutterWebAuth2Plugin"))
|
FlutterWebAuth2Plugin.register(with: registry.registrar(forPlugin: "FlutterWebAuth2Plugin"))
|
||||||
|
|
|
||||||
52
pubspec.lock
52
pubspec.lock
|
|
@ -467,18 +467,18 @@ packages:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: extended_image
|
name: extended_image
|
||||||
sha256: "85199f9233e03abc2ce2e68cbb2991648666af4a527ae4e6250935be8edfddae"
|
sha256: fcefcf3cba32696c639e9e305a790039709d05a7139320b91bb9d300993452e2
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "9.1.0"
|
version: "10.0.0"
|
||||||
extended_image_library:
|
extended_image_library:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: extended_image_library
|
name: extended_image_library
|
||||||
sha256: e61dafd94400fff6ef7ed1523d445ff3af137f198f3228e4a3107bc5b4bec5d1
|
sha256: ae468c31c375064964de11cbb31310a58c4462df6e3bae1a0bc0066f586795d5
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "4.0.6"
|
version: "5.0.0"
|
||||||
fake_async:
|
fake_async:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
|
@ -515,10 +515,10 @@ packages:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: file_picker
|
name: file_picker
|
||||||
sha256: "16dc141db5a2ccc6520ebb6a2eb5945b1b09e95085c021d9f914f8ded7f1465c"
|
sha256: "36a1652d99cb6bf8ccc8b9f43aded1fd60b234d23ce78af422c07f950a436ef7"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "8.1.4"
|
version: "10.0.0"
|
||||||
fixnum:
|
fixnum:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
|
@ -552,10 +552,10 @@ packages:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: flutter_app_installer
|
name: flutter_app_installer
|
||||||
sha256: b71f7c3f6c5712b6f9bdcde798bbb8a0c4047cab47c4364f7252de8c95d67358
|
sha256: "2243cf0e58d6f126420a800fcd06e7c5b3a048c5551914a006b29575125d8dc0"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.0.0"
|
version: "1.0.1"
|
||||||
flutter_cache_manager:
|
flutter_cache_manager:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
|
@ -632,10 +632,10 @@ packages:
|
||||||
dependency: "direct dev"
|
dependency: "direct dev"
|
||||||
description:
|
description:
|
||||||
name: flutter_launcher_icons
|
name: flutter_launcher_icons
|
||||||
sha256: "526faf84284b86a4cb36d20a5e45147747b7563d921373d4ee0559c54fcdbcea"
|
sha256: bfa04787c85d80ecb3f8777bde5fc10c3de809240c48fa061a2c2bf15ea5211c
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.13.1"
|
version: "0.14.3"
|
||||||
flutter_lints:
|
flutter_lints:
|
||||||
dependency: "direct dev"
|
dependency: "direct dev"
|
||||||
description:
|
description:
|
||||||
|
|
@ -865,10 +865,10 @@ packages:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: html
|
name: html
|
||||||
sha256: "1fc58edeaec4307368c60d59b7e15b9d658b57d7f3125098b6294153c75337ec"
|
sha256: "9475be233c437f0e3637af55e7702cbbe5c23a68bd56e8a5fa2d426297b7c6c8"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.15.5"
|
version: "0.15.5+1"
|
||||||
http:
|
http:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
|
@ -929,10 +929,10 @@ packages:
|
||||||
dependency: "direct dev"
|
dependency: "direct dev"
|
||||||
description:
|
description:
|
||||||
name: inno_bundle
|
name: inno_bundle
|
||||||
sha256: e9d0ab41a82157da42ebd4206bda22ed04bf096a6e7d416c79d79201c388d563
|
sha256: "544ca69ce64c5b06b346f328170ae407ca99605beab23ccc779b39acf6ba1c9a"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.8.0"
|
version: "0.9.0"
|
||||||
intl:
|
intl:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
|
@ -1049,18 +1049,18 @@ packages:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: just_audio_platform_interface
|
name: just_audio_platform_interface
|
||||||
sha256: "271b93b484c6f494ecd72a107fffbdb26b425f170c665b9777a0a24a726f2f24"
|
sha256: "4cd94536af0219fa306205a58e78d67e02b0555283c1c094ee41e402a14a5c4a"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "4.4.0"
|
version: "4.5.0"
|
||||||
just_audio_web:
|
just_audio_web:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: just_audio_web
|
name: just_audio_web
|
||||||
sha256: "58915be64509a7683c44bf11cd1a23c15a48de104927bee116e3c63c8eeea0d4"
|
sha256: "8c7e779892e180cbc9ffb5a3c52f6e90e1cbbf4a63694cc450972a7edbd2bb6d"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.4.14"
|
version: "0.4.15"
|
||||||
lazy_memo:
|
lazy_memo:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
|
@ -1449,18 +1449,18 @@ packages:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: protobuf
|
name: protobuf
|
||||||
sha256: "68645b24e0716782e58948f8467fd42a880f255096a821f9e7d0ec625b00c84d"
|
sha256: fbb0c37d435641d0b84813c1dad41e6fa61ddc880a320bce16b3063ecec35aa6
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "3.1.0"
|
version: "4.0.0"
|
||||||
protoc_plugin:
|
protoc_plugin:
|
||||||
dependency: "direct dev"
|
dependency: "direct dev"
|
||||||
description:
|
description:
|
||||||
name: protoc_plugin
|
name: protoc_plugin
|
||||||
sha256: fb0554851c9eca30bd18405fbbfe81e39166d4a2f0e5b770606fd69da3da0b2f
|
sha256: cdec62ff876e61f4421aa7c87373c91db9b1430c748b38fb6d23613356064375
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "21.1.2"
|
version: "22.0.1"
|
||||||
provider:
|
provider:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
|
@ -1513,10 +1513,10 @@ packages:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: re_editor
|
name: re_editor
|
||||||
sha256: "2169c114c7877bcaae72d6e8b69cdaa2a9cded69a51e3cf26209dad4a3ed2b9c"
|
sha256: "17e430f0591dd361992ec2dd6f69191c1853fa46e05432e095310a8f82ee820e"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.6.0"
|
version: "0.7.0"
|
||||||
re_highlight:
|
re_highlight:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
|
@ -1917,10 +1917,10 @@ packages:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: url_launcher_ios
|
name: url_launcher_ios
|
||||||
sha256: "16a513b6c12bb419304e72ea0ae2ab4fed569920d1c7cb850263fe3acc824626"
|
sha256: "7f2022359d4c099eea7df3fdf739f7d3d3b9faf3166fb1dd390775176e0b76cb"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "6.3.2"
|
version: "6.3.3"
|
||||||
url_launcher_linux:
|
url_launcher_linux:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
|
|
||||||
14
pubspec.yaml
14
pubspec.yaml
|
|
@ -18,7 +18,7 @@ dependencies:
|
||||||
font_awesome_flutter: ^10.8.0
|
font_awesome_flutter: ^10.8.0
|
||||||
expandable_text: ^2.3.0
|
expandable_text: ^2.3.0
|
||||||
flex_color_scheme: ^8.1.0
|
flex_color_scheme: ^8.1.0
|
||||||
extended_image: ^9.1.0
|
extended_image: ^10.0.0
|
||||||
photo_view: ^0.15.0
|
photo_view: ^0.15.0
|
||||||
grouped_list: ^6.0.0
|
grouped_list: ^6.0.0
|
||||||
intl: ^0.19.0
|
intl: ^0.19.0
|
||||||
|
|
@ -33,7 +33,7 @@ dependencies:
|
||||||
share_plus: ^10.0.2
|
share_plus: ^10.0.2
|
||||||
xpath_selector_html_parser: ^3.0.1
|
xpath_selector_html_parser: ^3.0.1
|
||||||
archive: ^4.0.1
|
archive: ^4.0.1
|
||||||
file_picker: 8.1.4
|
file_picker: ^10.0.0
|
||||||
path_provider: ^2.1.5
|
path_provider: ^2.1.5
|
||||||
scrollable_positioned_list: ^0.3.8
|
scrollable_positioned_list: ^0.3.8
|
||||||
dart_eval: ^0.7.10
|
dart_eval: ^0.7.10
|
||||||
|
|
@ -57,7 +57,7 @@ dependencies:
|
||||||
url: https://github.com/kodjodevf/flutter_qjs.git
|
url: https://github.com/kodjodevf/flutter_qjs.git
|
||||||
ref: main
|
ref: main
|
||||||
http: ^1.3.0
|
http: ^1.3.0
|
||||||
re_editor: ^0.6.0
|
re_editor: ^0.7.0
|
||||||
re_highlight: ^0.0.3
|
re_highlight: ^0.0.3
|
||||||
json_view: ^0.4.2
|
json_view: ^0.4.2
|
||||||
super_sliver_list: ^0.4.1
|
super_sliver_list: ^0.4.1
|
||||||
|
|
@ -78,7 +78,7 @@ dependencies:
|
||||||
connectivity_plus: ^6.1.3
|
connectivity_plus: ^6.1.3
|
||||||
app_links: ^6.4.0
|
app_links: ^6.4.0
|
||||||
win32: ^5.10.1
|
win32: ^5.10.1
|
||||||
protobuf: ^3.1.0
|
protobuf: ^4.0.0
|
||||||
device_info_plus: ^11.3.3
|
device_info_plus: ^11.3.3
|
||||||
flutter_app_installer: ^1.0.0
|
flutter_app_installer: ^1.0.0
|
||||||
|
|
||||||
|
|
@ -98,12 +98,12 @@ dev_dependencies:
|
||||||
sdk: flutter
|
sdk: flutter
|
||||||
build_runner: ^2.4.6
|
build_runner: ^2.4.6
|
||||||
riverpod_generator: ^2.6.3
|
riverpod_generator: ^2.6.3
|
||||||
flutter_launcher_icons: ^0.13.1
|
flutter_launcher_icons: ^0.14.3
|
||||||
isar_generator: ^3.1.0+1
|
isar_generator: ^3.1.0+1
|
||||||
flutter_lints: ^5.0.0
|
flutter_lints: ^5.0.0
|
||||||
freezed: ^2.0.0
|
freezed: ^2.0.0
|
||||||
inno_bundle: ^0.8.0
|
inno_bundle: ^0.9.0
|
||||||
protoc_plugin: ^21.1.2
|
protoc_plugin: ^22.0.1
|
||||||
|
|
||||||
flutter:
|
flutter:
|
||||||
uses-material-design: true
|
uses-material-design: true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue