diff --git a/lib/onboarding/view/wallet_creation_screen.dart b/lib/onboarding/view/wallet_creation_screen.dart index a52baa0..e3f2559 100644 --- a/lib/onboarding/view/wallet_creation_screen.dart +++ b/lib/onboarding/view/wallet_creation_screen.dart @@ -25,47 +25,52 @@ class LandingScreen extends StatelessWidget { package: 'genius_wallet', ), ), - Column(mainAxisAlignment: MainAxisAlignment.end, children: [ - SizedBox( - height: 50, - width: 450, - child: LayoutBuilder( - builder: (context, constraints) => - TypeExisting(constraints), - ), - ), - const SizedBox( - height: 20, - ), - SizedBox( - height: 50, - width: 450, - child: LayoutBuilder( - builder: (context, constraints) => TypeCreate(constraints), - ), - ), + Align( + alignment: Alignment.center, + child: Column( + mainAxisAlignment: MainAxisAlignment.end, + children: [ + SizedBox( + height: 50, + width: 450, + child: LayoutBuilder( + builder: (context, constraints) => + TypeExisting(constraints), + ), + ), + const SizedBox( + height: 20, + ), + SizedBox( + height: 50, + width: 450, + child: LayoutBuilder( + builder: (context, constraints) => + TypeCreate(constraints), + ), + ), - /*** Below is the test code to test native c/c++ code ***/ + /*** Below is the test code to test native c/c++ code ***/ - // Container( - // margin: const EdgeInsets.only(top: 10.0), - // child: ElevatedButton(r - // onPressed: () { - // context.read().add(FFITestEvent()); - // }, - // child: const Text("Test C++ native code!"), - // ), - // ), + // Container( + // margin: const EdgeInsets.only(top: 10.0), + // child: ElevatedButton(r + // onPressed: () { + // context.read().add(FFITestEvent()); + // }, + // child: const Text("Test C++ native code!"), + // ), + // ), - BlocBuilder( - builder: (context, state) { - if (state.ffiString != null) { - return Text('Value: ${state.ffiString}'); - } - return const SizedBox(); - }, - ), - ]) + BlocBuilder( + builder: (context, state) { + if (state.ffiString != null) { + return Text('Value: ${state.ffiString}'); + } + return const SizedBox(); + }, + ), + ])) ], ), ), diff --git a/lib/widgets/components/wallet_button/type_existing.g.dart b/lib/widgets/components/wallet_button/type_existing.g.dart index 1f48a90..45b4f98 100644 --- a/lib/widgets/components/wallet_button/type_existing.g.dart +++ b/lib/widgets/components/wallet_button/type_existing.g.dart @@ -1,9 +1,3 @@ -// ********************************************************************************* -// PARABEAC-GENERATED CODE. DO NOT MODIFY. -// -// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com -// ********************************************************************************* - import 'package:flutter/material.dart'; import 'package:genius_wallet/theme/genius_wallet_colors.g.dart'; import 'package:genius_wallet/theme/genius_wallet_font_size.dart';