Skip to content

Commit

Permalink
update template
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzejchm committed Feb 15, 2022
1 parent 8d553a1 commit 939bbbf
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 55 deletions.
4 changes: 2 additions & 2 deletions starport_template/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ SPEC CHECKSUMS:
local_auth: ef62030a2731330b95df7ef1331bd15f6a64b8a6
package_info: 873975fc26034f0b863a300ad47e7f1ac6c7ec62
share_plus: 056a1e8ac890df3e33cb503afffaf1e9b4fbae68
shared_preferences_ios: aef470a42dc4675a1cdd50e3158b42e3d1232b32
url_launcher_ios: 02f1989d4e14e998335b02b67a7590fa34f971af
shared_preferences_ios: 548a61f8053b9b8a49ac19c1ffbc8b92c50d68ad
url_launcher_ios: 839c58cdb4279282219f5e248c3321761ff3c4de

PODFILE CHECKSUM: cc1f88378b4bfcf93a6ce00d2c587857c6008d3b

Expand Down
15 changes: 6 additions & 9 deletions starport_template/lib/pages/receive_money_sheet.dart
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
import 'package:clipboard/clipboard.dart';
import 'package:cosmos_ui_components/components/cosmos_bottom_sheet_container.dart';
import 'package:cosmos_ui_components/components/cosmos_bottom_sheet_header.dart';
import 'package:cosmos_ui_components/components/cosmos_text_button.dart';
import 'package:cosmos_ui_components/components/gradient_avatar.dart';
import 'package:cosmos_ui_components/cosmos_text_theme.dart';
import 'package:cosmos_ui_components/cosmos_theme.dart';
import 'package:cosmos_ui_components/cosmos_ui_components.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:qr_flutter/qr_flutter.dart';
import 'package:share_plus/share_plus.dart';
import 'package:transaction_signing_gateway/model/wallet_public_info.dart';

Expand All @@ -34,9 +29,11 @@ class ReceiveMoneySheet extends StatelessWidget {
leading: const Icon(Icons.ten_k, color: Colors.transparent),
actions: [CosmosTextButton(text: 'Close', onTap: () => Navigator.of(context).pop())],
),
QrImage(
data: walletInfo.publicAddress,
size: MediaQuery.of(context).size.height / 3.515,
Padding(
padding: EdgeInsets.symmetric(horizontal: MediaQuery.of(context).size.width / 5),
child: CosmosQrImage(
data: walletInfo.publicAddress,
),
),
SizedBox(height: theme.spacingXXL),
Row(
Expand Down
62 changes: 27 additions & 35 deletions starport_template/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ packages:
name: archive
url: "https://pub.dartlang.org"
source: hosted
version: "3.1.9"
version: "3.2.0"
args:
dependency: transitive
description:
Expand Down Expand Up @@ -151,29 +151,23 @@ packages:
cosmos_auth:
dependency: "direct main"
description:
path: "packages/cosmos_auth"
ref: main
resolved-ref: "15a1e3a5d107b7c1cdf7145be272720aabf34c48"
url: "https://github.com/tendermint/flutter.git"
source: git
path: "../packages/cosmos_auth"
relative: true
source: path
version: "0.0.1"
cosmos_ui_components:
dependency: "direct main"
description:
path: "packages/cosmos_ui_components"
ref: main
resolved-ref: "15a1e3a5d107b7c1cdf7145be272720aabf34c48"
url: "https://github.com/tendermint/flutter.git"
source: git
path: "../packages/cosmos_ui_components"
relative: true
source: path
version: "0.0.1"
cosmos_utils:
dependency: "direct main"
description:
path: "packages/cosmos_utils"
ref: main
resolved-ref: "15a1e3a5d107b7c1cdf7145be272720aabf34c48"
url: "https://github.com/tendermint/flutter.git"
source: git
path: "../packages/cosmos_utils"
relative: true
source: path
version: "0.0.1"
crypto:
dependency: transitive
Expand Down Expand Up @@ -574,7 +568,7 @@ packages:
name: pointycastle
url: "https://pub.dartlang.org"
source: hosted
version: "3.5.0"
version: "3.5.1"
process:
dependency: transitive
description:
Expand Down Expand Up @@ -679,28 +673,28 @@ packages:
name: shared_preferences_android
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.10"
version: "2.0.11"
shared_preferences_ios:
dependency: transitive
description:
name: shared_preferences_ios
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.9"
version: "2.0.10"
shared_preferences_linux:
dependency: transitive
description:
name: shared_preferences_linux
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.4"
version: "2.1.0"
shared_preferences_macos:
dependency: transitive
description:
name: shared_preferences_macos
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.2"
version: "2.0.3"
shared_preferences_platform_interface:
dependency: transitive
description:
Expand All @@ -721,7 +715,7 @@ packages:
name: shared_preferences_windows
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.4"
version: "2.1.0"
sky_engine:
dependency: transitive
description: flutter
Expand Down Expand Up @@ -779,11 +773,9 @@ packages:
transaction_signing_gateway:
dependency: "direct main"
description:
path: "packages/transaction_signing_gateway"
ref: main
resolved-ref: "15a1e3a5d107b7c1cdf7145be272720aabf34c48"
url: "https://github.com/tendermint/flutter.git"
source: git
path: "../packages/transaction_signing_gateway"
relative: true
source: path
version: "0.0.1"
typed_data:
dependency: transitive
Expand All @@ -798,35 +790,35 @@ packages:
name: url_launcher
url: "https://pub.dartlang.org"
source: hosted
version: "6.0.18"
version: "6.0.20"
url_launcher_android:
dependency: transitive
description:
name: url_launcher_android
url: "https://pub.dartlang.org"
source: hosted
version: "6.0.14"
version: "6.0.15"
url_launcher_ios:
dependency: transitive
description:
name: url_launcher_ios
url: "https://pub.dartlang.org"
source: hosted
version: "6.0.14"
version: "6.0.15"
url_launcher_linux:
dependency: transitive
description:
name: url_launcher_linux
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.3"
version: "3.0.0"
url_launcher_macos:
dependency: transitive
description:
name: url_launcher_macos
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.3"
version: "3.0.0"
url_launcher_platform_interface:
dependency: transitive
description:
Expand All @@ -847,7 +839,7 @@ packages:
name: url_launcher_windows
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.2"
version: "3.0.0"
uuid:
dependency: "direct main"
description:
Expand Down Expand Up @@ -875,14 +867,14 @@ packages:
name: win32
url: "https://pub.dartlang.org"
source: hosted
version: "2.3.8"
version: "2.4.0"
xdg_directories:
dependency: transitive
description:
name: xdg_directories
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.0"
version: "0.2.0+1"
xml:
dependency: transitive
description:
Expand Down
18 changes: 9 additions & 9 deletions starport_template/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,15 @@ flutter_icons:

## convenient overrides for development to reference packages on local disk, just uncomment following lines and make sure
## it points to the location of the checked out tendermint/flutter repository
#dependency_overrides:
# cosmos_utils:
# path: ../packages/cosmos_utils
# cosmos_auth:
# path: ../packages/cosmos_auth
# transaction_signing_gateway:
# path: ../packages/transaction_signing_gateway
# cosmos_ui_components:
# path: ../packages/cosmos_ui_components
dependency_overrides:
cosmos_utils:
path: ../packages/cosmos_utils
cosmos_auth:
path: ../packages/cosmos_auth
transaction_signing_gateway:
path: ../packages/transaction_signing_gateway
cosmos_ui_components:
path: ../packages/cosmos_ui_components

flutter:
uses-material-design: true
Expand Down

0 comments on commit 939bbbf

Please sign in to comment.