flutter format
This commit is contained in:
parent
27e4de7254
commit
c060c85df8
|
@ -83,10 +83,11 @@ const keyGoWalletsHome = Key('keyGoWalletsHome');
|
|||
const keySearchField = Key('keySearchField');
|
||||
const keyConfirmSearch = Key('keyConfirmSearch');
|
||||
|
||||
// Unit keys
|
||||
// Items keys
|
||||
Key keyTransaction(int keyId) => Key('keyTransaction$keyId');
|
||||
Key keyMnemonicWord(String word) => Key('keyMnemonicWord$word');
|
||||
Key keySearchResult(String keyId) => Key('keySearchResult$keyId');
|
||||
Key keySelectDuniterNode(String keyId) => Key('keySelectDuniterNode$keyId');
|
||||
Key keyOpenWallet(String keyId) => Key('keyOpenWallet$keyId');
|
||||
Key keySelectThisWallet(String keyId) => Key('keySelectThisWallet$keyId');
|
||||
Key keySearchResult(String address) => Key('keySearchResult$address');
|
||||
Key keySelectDuniterNode(String endpoint) =>
|
||||
Key('keySelectDuniterNode$endpoint');
|
||||
Key keyOpenWallet(String address) => Key('keyOpenWallet$address');
|
||||
Key keySelectThisWallet(String address) => Key('keySelectThisWallet$address');
|
||||
|
|
|
@ -167,7 +167,8 @@ class HomeProvider with ChangeNotifier {
|
|||
),
|
||||
const SizedBox(width: 22),
|
||||
const Spacer(),
|
||||
IconButton(key: keyAppBarQrcode,
|
||||
IconButton(
|
||||
key: keyAppBarQrcode,
|
||||
iconSize: 70,
|
||||
icon: const Image(image: AssetImage('assets/qrcode-scan.png')),
|
||||
onPressed: () async {
|
||||
|
@ -180,7 +181,8 @@ class HomeProvider with ChangeNotifier {
|
|||
),
|
||||
const Spacer(),
|
||||
const SizedBox(width: 15),
|
||||
IconButton(key: keyAppBarChest,
|
||||
IconButton(
|
||||
key: keyAppBarChest,
|
||||
iconSize: 60,
|
||||
icon: const Image(image: AssetImage('assets/wallet.png')),
|
||||
onPressed: () async {
|
||||
|
|
|
@ -238,7 +238,8 @@ class WalletOptionsProvider with ChangeNotifier {
|
|||
height: 100,
|
||||
child: Column(children: [
|
||||
const SizedBox(height: 20),
|
||||
TextField(key: keyEnterIdentityUsername,
|
||||
TextField(
|
||||
key: keyEnterIdentityUsername,
|
||||
onChanged: (_) => notifyListeners(),
|
||||
inputFormatters: <TextInputFormatter>[
|
||||
// FilteringTextInputFormatter.allow(RegExp("[0-9a-zA-Z]")),
|
||||
|
|
|
@ -292,7 +292,8 @@ class WalletOptions extends StatelessWidget {
|
|||
SizedBox(
|
||||
width: 320,
|
||||
height: 60,
|
||||
child: ElevatedButton(key: keyConfirmIdentity,
|
||||
child: ElevatedButton(
|
||||
key: keyConfirmIdentity,
|
||||
style: ElevatedButton.styleFrom(
|
||||
elevation: 4,
|
||||
primary: orangeC, // background
|
||||
|
|
|
@ -481,7 +481,8 @@ class WalletViewScreen extends StatelessWidget {
|
|||
),
|
||||
const SizedBox(height: 10),
|
||||
Consumer<SubstrateSdk>(builder: (context, sub, _) {
|
||||
return InkWell(key: keyChangeChest,
|
||||
return InkWell(
|
||||
key: keyChangeChest,
|
||||
onTap: () async {
|
||||
String? pin;
|
||||
if (myWalletProvider.pinCode == '') {
|
||||
|
|
Loading…
Reference in New Issue