41 lines
1 KiB
Dart
41 lines
1 KiB
Dart
|
import 'package:flutter/material.dart';
|
||
|
|
||
|
class PlaceholderPage extends StatelessWidget {
|
||
|
final String description;
|
||
|
|
||
|
const PlaceholderPage({
|
||
|
Key? key,
|
||
|
this.description = 'This is a placeholder page. Work in progress!',
|
||
|
}) : super(key: key);
|
||
|
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return Scaffold(
|
||
|
|
||
|
body: Center(
|
||
|
child: Padding(
|
||
|
padding: const EdgeInsets.all(16.0),
|
||
|
child: Column(
|
||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||
|
children: [
|
||
|
Icon(
|
||
|
Icons.construction,
|
||
|
size: 80,
|
||
|
color: Colors.grey,
|
||
|
),
|
||
|
SizedBox(height: 25),
|
||
|
Text(
|
||
|
description,
|
||
|
style: TextStyle(fontSize: 16, color: Colors.grey),
|
||
|
textAlign: TextAlign.center,
|
||
|
),
|
||
|
SizedBox(height: 16),
|
||
|
],
|
||
|
),
|
||
|
),
|
||
|
),
|
||
|
);
|
||
|
}
|
||
|
}
|