Skip to content
Merged
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
23 changes: 17 additions & 6 deletions starport_template/lib/pages/receive_money_sheet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,17 @@ class ReceiveMoneySheet extends StatelessWidget {
title: '',
titleTextStyle: CosmosTextTheme.title2Bold,
leading: const Icon(Icons.ten_k, color: Colors.transparent),
actions: [CosmosTextButton(text: 'Close', onTap: () => Navigator.of(context).pop())],
actions: [
CosmosTextButton(
text: 'Close',
onTap: () => Navigator.of(context).pop(),
)
],
),
Padding(
padding: EdgeInsets.symmetric(horizontal: MediaQuery.of(context).size.width / 5),
padding: EdgeInsets.symmetric(
horizontal: MediaQuery.of(context).size.width / 5,
),
child: CosmosQrImage(
data: walletInfo.publicAddress,
),
Expand All @@ -51,7 +58,10 @@ class ReceiveMoneySheet extends StatelessWidget {
],
),
SizedBox(height: theme.spacingL),
Text(maskAddress(walletAddress), style: CosmosTextTheme.title1Medium),
Text(
maskAddress(walletAddress),
style: CosmosTextTheme.title1Medium,
),
const Spacer(),
CosmosTextButton(
text: 'Share',
Expand All @@ -64,14 +74,15 @@ class ReceiveMoneySheet extends StatelessWidget {
child: Row(
children: [
Expanded(
child: ElevatedButton(
onPressed: _onTapCopyAddress,
child: const Text('Copy address'),
child: CosmosElevatedButton(
onTap: _onTapCopyAddress,
text: 'Copy address',
),
)
],
),
),
SizedBox(height: theme.spacingL)
],
),
),
Expand Down
9 changes: 8 additions & 1 deletion starport_template/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "0.12.11"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.3"
meta:
dependency: transitive
description:
Expand Down Expand Up @@ -775,7 +782,7 @@ packages:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.3"
version: "0.4.8"
transaction_signing_gateway:
dependency: "direct main"
description:
Expand Down