aves/lib/widgets/about/about_page.dart
2020-05-22 13:51:34 +09:00

45 lines
1.3 KiB
Dart

import 'package:aves/widgets/about/licenses.dart';
import 'package:flutter/material.dart';
class AboutPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('About'),
),
body: SafeArea(
child: CustomScrollView(
slivers: [
SliverPadding(
padding: const EdgeInsets.only(top: 16),
sliver: SliverList(
delegate: SliverChildListDelegate(
[
Center(
child: RichText(
text: TextSpan(
children: [
const TextSpan(text: 'Made with ❤️ and '),
WidgetSpan(
child: FlutterLogo(
size: Theme.of(context).textTheme.bodyText2.fontSize * 1.25,
),
),
],
),
),
),
const SizedBox(height: 8),
const Divider(),
],
),
),
),
Licenses(),
],
),
),
);
}
}