gecko/lib/screens/certifications.dart

35 lines
1.0 KiB
Dart

import 'package:gecko/globals.dart';
import 'package:flutter/material.dart';
import 'package:gecko/widgets/certs_received.dart';
import 'package:gecko/widgets/certs_sent.dart';
import 'package:gecko/widgets/header_profile.dart';
class CertificationsScreen extends StatelessWidget {
const CertificationsScreen({Key? key, required this.address})
: super(key: key);
final String address;
@override
Widget build(BuildContext context) {
// final _homeProvider = Provider.of<HomeProvider>(context);
return Scaffold(
backgroundColor: backgroundColor,
appBar: AppBar(
toolbarHeight: 60 * ratio,
title: const SizedBox(
height: 22,
child: Text('Certifications'),
)),
body: SafeArea(
child: Column(children: <Widget>[
const SizedBox(height: 20),
HeaderProfile(address: address),
CertsReceived(address: address),
CertsSent(address: address),
const SizedBox(height: 20),
]),
));
}
}