42 lines
1.2 KiB
Dart
42 lines
1.2 KiB
Dart
import 'package:aves/widgets/about/app_ref.dart';
|
|
import 'package:aves/widgets/about/credits.dart';
|
|
import 'package:aves/widgets/about/licenses.dart';
|
|
import 'package:aves/widgets/about/update.dart';
|
|
import 'package:aves/widgets/common/extensions/build_context.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
class AboutPage extends StatelessWidget {
|
|
static const routeName = '/about';
|
|
|
|
const AboutPage({Key? key}) : super(key: key);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
appBar: AppBar(
|
|
title: Text(context.l10n.aboutPageTitle),
|
|
),
|
|
body: SafeArea(
|
|
child: CustomScrollView(
|
|
slivers: [
|
|
SliverPadding(
|
|
padding: const EdgeInsets.only(top: 16),
|
|
sliver: SliverList(
|
|
delegate: SliverChildListDelegate(
|
|
const [
|
|
AppReference(),
|
|
Divider(),
|
|
AboutUpdate(),
|
|
AboutCredits(),
|
|
Divider(),
|
|
],
|
|
),
|
|
),
|
|
),
|
|
const Licenses(),
|
|
],
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|