text layout fix

This commit is contained in:
julian 2022-09-23 07:46:57 -06:00
parent 0f7f5f70a5
commit 6fc41ab252

View file

@ -111,54 +111,55 @@ class _StartupWalletSelectionViewState
const SizedBox( const SizedBox(
width: 12, width: 12,
), ),
Column( Expanded(
mainAxisAlignment: child: Column(
MainAxisAlignment.spaceBetween, mainAxisAlignment:
crossAxisAlignment: MainAxisAlignment.spaceBetween,
CrossAxisAlignment.start, crossAxisAlignment:
children: [ CrossAxisAlignment.start,
Text( children: [
manager.walletName, Text(
style: manager.walletName,
STextStyles.titleBold12(context), style: STextStyles.titleBold12(
), context),
// const SizedBox( ),
// height: 2, // const SizedBox(
// ), // height: 2,
// FutureBuilder( // ),
// future: manager.totalBalance, // FutureBuilder(
// builder: (builderContext, // future: manager.totalBalance,
// AsyncSnapshot<Decimal> snapshot) { // builder: (builderContext,
// if (snapshot.connectionState == // AsyncSnapshot<Decimal> snapshot) {
// ConnectionState.done && // if (snapshot.connectionState ==
// snapshot.hasData) { // ConnectionState.done &&
// return Text( // snapshot.hasData) {
// "${Format.localizedStringAsFixed( // return Text(
// value: snapshot.data!, // "${Format.localizedStringAsFixed(
// locale: ref.watch( // value: snapshot.data!,
// localeServiceChangeNotifierProvider // locale: ref.watch(
// .select((value) => // localeServiceChangeNotifierProvider
// value.locale)), // .select((value) =>
// decimalPlaces: 8, // value.locale)),
// )} ${manager.coin.ticker}", // decimalPlaces: 8,
// style: STextStyles.itemSubtitle(context), // )} ${manager.coin.ticker}",
// ); // style: STextStyles.itemSubtitle(context),
// } else { // );
// return AnimatedText( // } else {
// stringsToLoopThrough: const [ // return AnimatedText(
// "Loading balance", // stringsToLoopThrough: const [
// "Loading balance.", // "Loading balance",
// "Loading balance..", // "Loading balance.",
// "Loading balance..." // "Loading balance..",
// ], // "Loading balance..."
// style: STextStyles.itemSubtitle(context), // ],
// ); // style: STextStyles.itemSubtitle(context),
// } // );
// }, // }
// ), // },
], // ),
],
),
), ),
const Spacer(),
SizedBox( SizedBox(
height: 20, height: 20,
width: 20, width: 20,