firewallet-mobile/lib/transactions.dart

44 lines
1.0 KiB
Dart

import 'package:flutter/material.dart';
class TransactionsPage extends StatefulWidget {
TransactionsPage({Key? key, required this.uuid, required this.wallet})
: super(key: key);
final String uuid;
String wallet;
@override
_TransactionsPageState createState() => _TransactionsPageState();
}
class _TransactionsPageState extends State<TransactionsPage> {
@override
void initState() {
super.initState();
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('${widget.wallet} Transactions'),
),
// Get wallet list from api and display here
body: Center(
child: LayoutBuilder(
builder: (BuildContext context, BoxConstraints constraints) {
return Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Text("Domain 1"),
Text("Domain 2"),
Text("Domain 3"),
],
);
},
),
),
);
}
}