mirror of
https://gitlab.com/moepoi/toaru-stickers-app.git
synced 2024-11-21 22:46:24 +01:00
39 lines
No EOL
914 B
Dart
39 lines
No EOL
914 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:railgun_t_whatsapp/src/about.dart';
|
|
import 'package:railgun_t_whatsapp/src/list_packs.dart';
|
|
|
|
|
|
void main() => runApp(MyApp());
|
|
|
|
class MyApp extends StatelessWidget {
|
|
final String title = 'Toaru Stickers';
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
title: title,
|
|
home: DefaultTabController(
|
|
length: 2,
|
|
child: Scaffold(
|
|
appBar: AppBar(
|
|
title: Text(title),
|
|
backgroundColor: Colors.amber,
|
|
bottom: TabBar(
|
|
tabs: [
|
|
Tab(text: "List Stickers"),
|
|
Tab(text: "About"),
|
|
],
|
|
),
|
|
),
|
|
body: TabBarView(
|
|
children: [
|
|
ListPacks(),
|
|
About()
|
|
],
|
|
),
|
|
),
|
|
),
|
|
debugShowCheckedModeBanner: false
|
|
);
|
|
}
|
|
} |