56 lines
1.3 KiB
Dart
56 lines
1.3 KiB
Dart
import 'package:flutter/material.dart';
|
|
|
|
void main() {
|
|
runApp(const TermRemoteCtlApp());
|
|
}
|
|
|
|
class TermRemoteCtlApp extends StatelessWidget {
|
|
const TermRemoteCtlApp({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
debugShowCheckedModeBanner: false,
|
|
title: 'TermRemoteCtl',
|
|
theme: ThemeData(
|
|
useMaterial3: true,
|
|
colorScheme: ColorScheme.fromSeed(seedColor: Colors.teal),
|
|
),
|
|
home: const BootstrapShell(),
|
|
);
|
|
}
|
|
}
|
|
|
|
class BootstrapShell extends StatelessWidget {
|
|
const BootstrapShell({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return const Scaffold(
|
|
body: SafeArea(
|
|
child: Center(
|
|
child: Padding(
|
|
padding: EdgeInsets.all(24),
|
|
child: Column(
|
|
mainAxisSize: MainAxisSize.min,
|
|
children: <Widget>[
|
|
Icon(Icons.computer, size: 48),
|
|
SizedBox(height: 16),
|
|
Text(
|
|
'TermRemoteCtl',
|
|
textAlign: TextAlign.center,
|
|
),
|
|
SizedBox(height: 8),
|
|
Text(
|
|
'Bootstrap shell ready for the mobile client.',
|
|
textAlign: TextAlign.center,
|
|
),
|
|
],
|
|
),
|
|
),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|