59 lines
2 KiB
Dart
59 lines
2 KiB
Dart
import 'package:aves/widgets/about/licenses.dart';
|
|
import 'package:aves/widgets/common/link_chip.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:flutter_staggered_animations/flutter_staggered_animations.dart';
|
|
|
|
class AboutPage extends StatelessWidget {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
appBar: AppBar(
|
|
title: const Text('About'),
|
|
),
|
|
body: SafeArea(
|
|
child: AnimationLimiter(
|
|
child: CustomScrollView(
|
|
slivers: [
|
|
SliverPadding(
|
|
padding: const EdgeInsets.only(top: 16),
|
|
sliver: SliverList(
|
|
delegate: SliverChildListDelegate(
|
|
[
|
|
Center(
|
|
child: Column(
|
|
children: [
|
|
Text.rich(
|
|
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 LinkChip(
|
|
text: 'Sources',
|
|
url: 'https://github.com/deckerst/aves',
|
|
textStyle: TextStyle(fontWeight: FontWeight.bold),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
const SizedBox(height: 8),
|
|
const Divider(),
|
|
],
|
|
),
|
|
),
|
|
),
|
|
Licenses(),
|
|
],
|
|
),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|