bug fixes + package upgrades
This commit is contained in:
parent
1bd33a834d
commit
77dd06264d
|
|
@ -47,6 +47,13 @@ class DateTimeUtils {
|
|||
initialDate: initialJalali,
|
||||
firstDate: firstDate,
|
||||
lastDate: lastDate,
|
||||
builder: (context, child) => Theme(
|
||||
data: Theme.of(context).copyWith(
|
||||
textTheme: Theme.of(context)
|
||||
.textTheme
|
||||
.copyWith(headline4: Theme.of(context).textTheme.headline3)),
|
||||
child: child!,
|
||||
),
|
||||
);
|
||||
|
||||
return result?.toDateTime().toString();
|
||||
|
|
|
|||
|
|
@ -20,24 +20,24 @@ class AudioWidget extends StatelessWidget {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Row(
|
||||
children: [
|
||||
Expanded(
|
||||
child: AudioSlider(
|
||||
tag: 'message-$id',
|
||||
),
|
||||
),
|
||||
StreamBuilder<bool>(
|
||||
stream: MediaService.audioPlayer.isPlaying,
|
||||
builder: (context, snapshot) {
|
||||
return _AudioControllerButton(
|
||||
return StreamBuilder<bool>(
|
||||
stream: MediaService.audioPlayer.isPlaying,
|
||||
builder: (context, snapshot) {
|
||||
return Row(
|
||||
children: [
|
||||
Expanded(
|
||||
child: AudioSlider(
|
||||
tag: 'message-$id',
|
||||
),
|
||||
),
|
||||
_AudioControllerButton(
|
||||
audioFile: audioFile,
|
||||
audioUrl: audioUrl,
|
||||
id: id,
|
||||
);
|
||||
},
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
);
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ class _NewsState extends State<News> {
|
|||
|
||||
void _onChanged(String value) {
|
||||
final state = context.read<NewsState>();
|
||||
if (value.length < 4 && value.isNotEmpty || state.lastSearch == value) {
|
||||
if (value.length < 3 && value.isNotEmpty || state.lastSearch == value) {
|
||||
return;
|
||||
}
|
||||
_timer?.cancel();
|
||||
|
|
|
|||
|
|
@ -203,7 +203,7 @@ class _RadarState extends State<Radar> {
|
|||
|
||||
void _onChanged(String value) {
|
||||
final state = context.read<RadarState>();
|
||||
if (value.length < 4 && value.isNotEmpty || state.lastSearch == value) {
|
||||
if (value.length < 3 && value.isNotEmpty || state.lastSearch == value) {
|
||||
return;
|
||||
}
|
||||
_timer?.cancel();
|
||||
|
|
|
|||
|
|
@ -144,7 +144,7 @@ class _BookmarksState extends State<Bookmarks> {
|
|||
|
||||
void _onChanged(String value) {
|
||||
final state = context.read<BookmarksState>();
|
||||
if (value.length < 4 && value.isNotEmpty || state.lastSearch == value) {
|
||||
if (value.length < 3 && value.isNotEmpty || state.lastSearch == value) {
|
||||
return;
|
||||
}
|
||||
_timer?.cancel();
|
||||
|
|
|
|||
|
|
@ -165,7 +165,7 @@ class _StudioState extends State<Studio> {
|
|||
|
||||
void _onChanged(String value) {
|
||||
final state = context.read<StudioState>();
|
||||
if (value.length < 4 && value.isNotEmpty || state.lastSearch == value) {
|
||||
if (value.length < 3 && value.isNotEmpty || state.lastSearch == value) {
|
||||
return;
|
||||
}
|
||||
_timer?.cancel();
|
||||
|
|
|
|||
40
pubspec.lock
40
pubspec.lock
|
|
@ -182,7 +182,7 @@ packages:
|
|||
name: firebase_core
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.14.0"
|
||||
version: "1.15.0"
|
||||
firebase_core_platform_interface:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -196,28 +196,28 @@ packages:
|
|||
name: firebase_core_web
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.6.1"
|
||||
version: "1.6.2"
|
||||
firebase_messaging:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: firebase_messaging
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "11.2.12"
|
||||
version: "11.2.14"
|
||||
firebase_messaging_platform_interface:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: firebase_messaging_platform_interface
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "3.2.2"
|
||||
version: "3.3.0"
|
||||
firebase_messaging_web:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: firebase_messaging_web
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.2.10"
|
||||
version: "2.2.12"
|
||||
fl_chart:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
|
@ -236,7 +236,7 @@ packages:
|
|||
name: flutter_blurhash
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.6.4"
|
||||
version: "0.6.8"
|
||||
flutter_cache_manager:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -250,7 +250,7 @@ packages:
|
|||
name: flutter_html
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "3.0.0-alpha.2"
|
||||
version: "3.0.0-alpha.3"
|
||||
flutter_lints:
|
||||
dependency: "direct dev"
|
||||
description:
|
||||
|
|
@ -398,6 +398,13 @@ packages:
|
|||
name: image_picker
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.8.5"
|
||||
image_picker_android:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: image_picker_android
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.8.4+11"
|
||||
image_picker_for_web:
|
||||
dependency: transitive
|
||||
|
|
@ -406,6 +413,13 @@ packages:
|
|||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.1.6"
|
||||
image_picker_ios:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: image_picker_ios
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.8.4+11"
|
||||
image_picker_platform_interface:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -615,7 +629,7 @@ packages:
|
|||
name: pin_code_fields
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "7.3.0"
|
||||
version: "7.4.0"
|
||||
platform:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -704,14 +718,14 @@ packages:
|
|||
name: sqflite
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.0.2"
|
||||
version: "2.0.2+1"
|
||||
sqflite_common:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: sqflite_common
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.2.1"
|
||||
version: "2.2.1+1"
|
||||
stack_trace:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -893,14 +907,14 @@ packages:
|
|||
name: webview_flutter
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "3.0.1"
|
||||
version: "3.0.2"
|
||||
webview_flutter_android:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: webview_flutter_android
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.8.4"
|
||||
version: "2.8.5"
|
||||
webview_flutter_platform_interface:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -914,7 +928,7 @@ packages:
|
|||
name: webview_flutter_wkwebview
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.7.1"
|
||||
version: "2.7.2"
|
||||
win32:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
|
|||
Loading…
Reference in New Issue