44 lines
1.0 KiB
Dart
44 lines
1.0 KiB
Dart
|
import 'package:flutter/material.dart';
|
||
|
|
||
|
class DomainsPage extends StatefulWidget {
|
||
|
DomainsPage({Key? key, required this.uuid, required this.wallet})
|
||
|
: super(key: key);
|
||
|
|
||
|
final String uuid;
|
||
|
String wallet;
|
||
|
|
||
|
@override
|
||
|
_DomainsPageState createState() => _DomainsPageState();
|
||
|
}
|
||
|
|
||
|
class _DomainsPageState extends State<DomainsPage> {
|
||
|
@override
|
||
|
void initState() {
|
||
|
super.initState();
|
||
|
}
|
||
|
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return Scaffold(
|
||
|
appBar: AppBar(
|
||
|
title: Text('${widget.wallet} Domains'),
|
||
|
),
|
||
|
// 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"),
|
||
|
],
|
||
|
);
|
||
|
},
|
||
|
),
|
||
|
),
|
||
|
);
|
||
|
}
|
||
|
}
|