Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Added tabAlignment in mirai tab bar #234

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions examples/mirai_gallery/lib/app/example/example_screen.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,30 +62,30 @@ class _$ExampleScreenCopyWithImpl<$Res, $Val extends ExampleScreen>
}

/// @nodoc
abstract class _$$_ExampleScreenCopyWith<$Res>
abstract class _$$ExampleScreenImplCopyWith<$Res>
implements $ExampleScreenCopyWith<$Res> {
factory _$$_ExampleScreenCopyWith(
_$_ExampleScreen value, $Res Function(_$_ExampleScreen) then) =
__$$_ExampleScreenCopyWithImpl<$Res>;
factory _$$ExampleScreenImplCopyWith(
_$ExampleScreenImpl value, $Res Function(_$ExampleScreenImpl) then) =
__$$ExampleScreenImplCopyWithImpl<$Res>;
@override
@useResult
$Res call({String assetPath});
}

/// @nodoc
class __$$_ExampleScreenCopyWithImpl<$Res>
extends _$ExampleScreenCopyWithImpl<$Res, _$_ExampleScreen>
implements _$$_ExampleScreenCopyWith<$Res> {
__$$_ExampleScreenCopyWithImpl(
_$_ExampleScreen _value, $Res Function(_$_ExampleScreen) _then)
class __$$ExampleScreenImplCopyWithImpl<$Res>
extends _$ExampleScreenCopyWithImpl<$Res, _$ExampleScreenImpl>
implements _$$ExampleScreenImplCopyWith<$Res> {
__$$ExampleScreenImplCopyWithImpl(
_$ExampleScreenImpl _value, $Res Function(_$ExampleScreenImpl) _then)
: super(_value, _then);

@pragma('vm:prefer-inline')
@override
$Res call({
Object? assetPath = null,
}) {
return _then(_$_ExampleScreen(
return _then(_$ExampleScreenImpl(
assetPath: null == assetPath
? _value.assetPath
: assetPath // ignore: cast_nullable_to_non_nullable
Expand All @@ -96,11 +96,11 @@ class __$$_ExampleScreenCopyWithImpl<$Res>

/// @nodoc
@JsonSerializable()
class _$_ExampleScreen implements _ExampleScreen {
const _$_ExampleScreen({required this.assetPath});
class _$ExampleScreenImpl implements _ExampleScreen {
const _$ExampleScreenImpl({required this.assetPath});

factory _$_ExampleScreen.fromJson(Map<String, dynamic> json) =>
_$$_ExampleScreenFromJson(json);
factory _$ExampleScreenImpl.fromJson(Map<String, dynamic> json) =>
_$$ExampleScreenImplFromJson(json);

@override
final String assetPath;
Expand All @@ -114,7 +114,7 @@ class _$_ExampleScreen implements _ExampleScreen {
bool operator ==(dynamic other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$_ExampleScreen &&
other is _$ExampleScreenImpl &&
(identical(other.assetPath, assetPath) ||
other.assetPath == assetPath));
}
Expand All @@ -126,28 +126,28 @@ class _$_ExampleScreen implements _ExampleScreen {
@JsonKey(ignore: true)
@override
@pragma('vm:prefer-inline')
_$$_ExampleScreenCopyWith<_$_ExampleScreen> get copyWith =>
__$$_ExampleScreenCopyWithImpl<_$_ExampleScreen>(this, _$identity);
_$$ExampleScreenImplCopyWith<_$ExampleScreenImpl> get copyWith =>
__$$ExampleScreenImplCopyWithImpl<_$ExampleScreenImpl>(this, _$identity);

@override
Map<String, dynamic> toJson() {
return _$$_ExampleScreenToJson(
return _$$ExampleScreenImplToJson(
this,
);
}
}

abstract class _ExampleScreen implements ExampleScreen {
const factory _ExampleScreen({required final String assetPath}) =
_$_ExampleScreen;
_$ExampleScreenImpl;

factory _ExampleScreen.fromJson(Map<String, dynamic> json) =
_$_ExampleScreen.fromJson;
_$ExampleScreenImpl.fromJson;

@override
String get assetPath;
@override
@JsonKey(ignore: true)
_$$_ExampleScreenCopyWith<_$_ExampleScreen> get copyWith =>
_$$ExampleScreenImplCopyWith<_$ExampleScreenImpl> get copyWith =>
throw _privateConstructorUsedError;
}
6 changes: 3 additions & 3 deletions examples/mirai_gallery/lib/app/example/example_screen.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

84 changes: 42 additions & 42 deletions examples/mirai_gallery/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,18 @@ packages:
dependency: transitive
description:
name: build_daemon
sha256: "5f02d73eb2ba16483e693f80bee4f088563a820e47d1027d4cdfe62b5bb43e65"
sha256: "0343061a33da9c5810b2d6cee51945127d8f4c060b7fbdd9d54917f0a3feaaa1"
url: "https://pub.dev"
source: hosted
version: "4.0.0"
version: "4.0.1"
build_resolvers:
dependency: transitive
description:
name: build_resolvers
sha256: d912852cce27c9e80a93603db721c267716894462e7033165178b91138587972
sha256: "64e12b0521812d1684b1917bc80945625391cb9bdd4312536b1d69dcb6133ed8"
url: "https://pub.dev"
source: hosted
version: "2.3.2"
version: "2.4.1"
build_runner:
dependency: "direct dev"
description:
Expand All @@ -93,10 +93,10 @@ packages:
dependency: transitive
description:
name: build_runner_core
sha256: "6d6ee4276b1c5f34f21fdf39425202712d2be82019983d52f351c94aafbc2c41"
sha256: c9e32d21dd6626b5c163d48b037ce906bbe428bc23ab77bcd77bb21e593b6185
url: "https://pub.dev"
source: hosted
version: "7.2.10"
version: "7.2.11"
built_collection:
dependency: transitive
description:
Expand All @@ -109,10 +109,10 @@ packages:
dependency: transitive
description:
name: built_value
sha256: ff627b645b28fb8bdb69e645f910c2458fd6b65f6585c3a53e0626024897dedf
sha256: "69acb7007eb2a31dc901512bfe0f7b767168be34cb734835d54c070bfa74c1b2"
url: "https://pub.dev"
source: hosted
version: "8.6.2"
version: "8.8.0"
characters:
dependency: transitive
description:
Expand Down Expand Up @@ -141,18 +141,18 @@ packages:
dependency: transitive
description:
name: code_builder
sha256: "315a598c7fbe77f22de1c9da7cfd6fd21816312f16ffa124453b4fc679e540f1"
sha256: b2151ce26a06171005b379ecff6e08d34c470180ffe16b8e14b6d52be292b55f
url: "https://pub.dev"
source: hosted
version: "4.6.0"
version: "4.8.0"
collection:
dependency: transitive
description:
name: collection
sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
url: "https://pub.dev"
source: hosted
version: "1.17.2"
version: "1.18.0"
convert:
dependency: transitive
description:
Expand Down Expand Up @@ -181,18 +181,18 @@ packages:
dependency: transitive
description:
name: dart_style
sha256: "1efa911ca7086affd35f463ca2fc1799584fb6aa89883cf0af8e3664d6a02d55"
sha256: "40ae61a5d43feea6d24bd22c0537a6629db858963b99b4bc1c3db80676f32368"
url: "https://pub.dev"
source: hosted
version: "2.3.2"
version: "2.3.4"
dio:
dependency: transitive
description:
name: dio
sha256: ce75a1b40947fea0a0e16ce73337122a86762e38b982e1ccb909daa3b9bc4197
sha256: "01870acd87986f768e0c09cc4d7a19a59d814af7b34cbeb0b437d2c33bdfea4c"
url: "https://pub.dev"
source: hosted
version: "5.3.2"
version: "5.3.4"
fake_async:
dependency: transitive
description:
Expand Down Expand Up @@ -247,10 +247,10 @@ packages:
dependency: "direct dev"
description:
name: freezed
sha256: "83462cfc33dc9680533a7f3a4a6ab60aa94f287db5f4ee6511248c22833c497f"
sha256: "21bf2825311de65501d22e563e3d7605dff57fb5e6da982db785ae5372ff018a"
url: "https://pub.dev"
source: hosted
version: "2.4.2"
version: "2.4.5"
freezed_annotation:
dependency: "direct main"
description:
Expand Down Expand Up @@ -375,10 +375,10 @@ packages:
dependency: transitive
description:
name: meta
sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e
url: "https://pub.dev"
source: hosted
version: "1.9.1"
version: "1.10.0"
mime:
dependency: transitive
description:
Expand Down Expand Up @@ -436,10 +436,10 @@ packages:
dependency: transitive
description:
name: plugin_platform_interface
sha256: da3fdfeccc4d4ff2da8f8c556704c08f912542c5fb3cf2233ed75372384a034d
sha256: f4f88d4a900933e7267e2b353594774fc0d07fb072b47eedcd5b54e1ea3269f8
url: "https://pub.dev"
source: hosted
version: "2.1.6"
version: "2.1.7"
pool:
dependency: transitive
description:
Expand All @@ -452,10 +452,10 @@ packages:
dependency: transitive
description:
name: provider
sha256: cdbe7530b12ecd9eb455bdaa2fcb8d4dad22e80b8afb4798b41479d5ce26847f
sha256: "9a96a0a19b594dbc5bf0f1f27d2bc67d5f95957359b461cd9feb44ed6ae75096"
url: "https://pub.dev"
source: hosted
version: "6.0.5"
version: "6.1.1"
pub_semver:
dependency: transitive
description:
Expand Down Expand Up @@ -521,18 +521,18 @@ packages:
dependency: transitive
description:
name: stack_trace
sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
url: "https://pub.dev"
source: hosted
version: "1.11.0"
version: "1.11.1"
stream_channel:
dependency: transitive
description:
name: stream_channel
sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
url: "https://pub.dev"
source: hosted
version: "2.1.1"
version: "2.1.2"
stream_transform:
dependency: transitive
description:
Expand Down Expand Up @@ -561,10 +561,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8"
sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
url: "https://pub.dev"
source: hosted
version: "0.6.0"
version: "0.6.1"
timing:
dependency: transitive
description:
Expand Down Expand Up @@ -601,10 +601,10 @@ packages:
dependency: transitive
description:
name: web
sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10
sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152
url: "https://pub.dev"
source: hosted
version: "0.1.4-beta"
version: "0.3.0"
web_socket_channel:
dependency: transitive
description:
Expand All @@ -617,34 +617,34 @@ packages:
dependency: transitive
description:
name: webview_flutter
sha256: "82f6787d5df55907aa01e49bd9644f4ed1cc82af7a8257dd9947815959d2e755"
sha256: "42393b4492e629aa3a88618530a4a00de8bb46e50e7b3993fedbfdc5352f0dbf"
url: "https://pub.dev"
source: hosted
version: "4.2.4"
version: "4.4.2"
webview_flutter_android:
dependency: transitive
description:
name: webview_flutter_android
sha256: "9427774649fd3c8b7ff53523051395d13aed2ca355822b822e6493d79f5fc05a"
sha256: "8326ee235f87605a2bfc444a4abc897f4abc78d83f054ba7d3d1074ce82b4fbf"
url: "https://pub.dev"
source: hosted
version: "3.10.0"
version: "3.12.1"
webview_flutter_platform_interface:
dependency: transitive
description:
name: webview_flutter_platform_interface
sha256: "6d9213c65f1060116757a7c473247c60f3f7f332cac33dc417c9e362a9a13e4f"
sha256: adb8c03c2be231bea5a8ed0e9039e9d18dbb049603376beaefa15393ede468a5
url: "https://pub.dev"
source: hosted
version: "2.6.0"
version: "2.7.0"
webview_flutter_wkwebview:
dependency: transitive
description:
name: webview_flutter_wkwebview
sha256: d2f7241849582da80b79acb03bb936422412ce5c0c79fb5f6a1de5421a5aecc4
sha256: accdaaa49a2aca2dc3c3230907988954cdd23fed0a19525d6c9789d380f4dc76
url: "https://pub.dev"
source: hosted
version: "3.7.4"
version: "3.9.4"
yaml:
dependency: transitive
description:
Expand All @@ -654,5 +654,5 @@ packages:
source: hosted
version: "3.1.2"
sdks:
dart: ">=3.1.0-185.0.dev <4.0.0"
flutter: ">=3.7.0"
dart: ">=3.2.0-194.0.dev <4.0.0"
flutter: ">=3.10.0"
Loading