Skip to content

Commit

Permalink
fix(masamune_module): CopyRight can be listed.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathrunet committed Sep 15, 2022
1 parent 73def34 commit 9124e54
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class EmailLoginAndRegisterModule extends PageModule {
this.formImageSize,
this.featureImageFit = BoxFit.cover,
this.titleTextStyle,
this.copyRightText,
this.titleAlignment = Alignment.bottomLeft,
this.menu = const [
MenuConfig(
Expand Down Expand Up @@ -168,6 +169,9 @@ class EmailLoginAndRegisterModule extends PageModule {

/// `true` if you want to show only necessary values at registration.
final bool showOnlyRequiredVariable;

/// コピーライトテキスト。
final String? copyRightText;
}

class EmailLoginAndRegisterModuleLandingPage
Expand Down Expand Up @@ -217,7 +221,7 @@ class EmailLoginAndRegisterModuleLandingPage
mainAxisSize: MainAxisSize.max,
children: [
Expanded(
flex: 2,
flex: 3,
child: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
Expand Down Expand Up @@ -262,7 +266,7 @@ class EmailLoginAndRegisterModuleLandingPage
),
),
Flexible(
flex: 1,
flex: 2,
child: SingleChildScrollView(
child: Padding(
padding: module.padding,
Expand Down Expand Up @@ -352,6 +356,8 @@ class EmailLoginAndRegisterModuleLandingPage
),
),
),
if (module.copyRightText.isNotEmpty)
Text(module.copyRightText!)
],
),
);
Expand Down
34 changes: 17 additions & 17 deletions packages/masamune_module/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.1"
charcode:
dependency: transitive
description:
name: charcode
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.1"
clock:
dependency: transitive
description:
Expand Down Expand Up @@ -353,7 +346,7 @@ packages:
name: flutter_markdown
url: "https://pub.dartlang.org"
source: hosted
version: "0.6.10+6"
version: "0.6.11"
flutter_picker:
dependency: transitive
description:
Expand Down Expand Up @@ -503,35 +496,35 @@ packages:
name: katana
url: "https://pub.dartlang.org"
source: hosted
version: "0.14.0+1"
version: "0.14.1"
katana_annotation:
dependency: transitive
description:
name: katana_annotation
url: "https://pub.dartlang.org"
source: hosted
version: "0.14.2"
version: "0.14.2+1"
katana_flutter:
dependency: transitive
description:
name: katana_flutter
url: "https://pub.dartlang.org"
source: hosted
version: "0.14.0+1"
version: "0.14.0+2"
katana_module:
dependency: transitive
description:
name: katana_module
url: "https://pub.dartlang.org"
source: hosted
version: "0.14.0+11"
version: "0.14.0+12"
katana_routing:
dependency: transitive
description:
name: katana_routing
url: "https://pub.dartlang.org"
source: hosted
version: "0.14.0+1"
version: "0.14.0+2"
loading_animations:
dependency: transitive
description:
Expand All @@ -552,21 +545,21 @@ packages:
name: markdown
url: "https://pub.dartlang.org"
source: hosted
version: "5.0.0"
version: "6.0.0"
masamune:
dependency: transitive
description:
name: masamune
url: "https://pub.dartlang.org"
source: hosted
version: "0.14.1+6"
version: "0.14.1+7"
masamune_ui:
dependency: "direct main"
description:
name: masamune_ui
url: "https://pub.dartlang.org"
source: hosted
version: "0.14.0+13"
version: "0.14.0+14"
matcher:
dependency: transitive
description:
Expand Down Expand Up @@ -601,7 +594,7 @@ packages:
name: model_notifier
url: "https://pub.dartlang.org"
source: hosted
version: "0.14.0+5"
version: "0.14.0+6"
multi_select_flutter:
dependency: transitive
description:
Expand Down Expand Up @@ -791,6 +784,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "3.1.0"
recase:
dependency: transitive
description:
name: recase
url: "https://pub.dartlang.org"
source: hosted
version: "4.0.0"
responsive_grid:
dependency: transitive
description:
Expand Down

0 comments on commit 9124e54

Please sign in to comment.