App made with flutter for planning poker cards
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

43 lines
1.0 KiB

import 'package:flutter/material.dart';
import 'package:planning_poker/home.dart';
import 'package:planning_poker/overview.dart';
void main() => runApp(PlanningPoker());
class PlanningPoker extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Planning Poker',
theme: new ThemeData(
brightness: Brightness.light,
primaryColor: Colors.red,
),
home: Scaffold(
appBar: AppBar(
title: const Text("Planning Poker"),
actions: <Widget>[],
),
body: HomePage(),
floatingActionButton: OverviewFloatingButton(),
),
);
}
}
class OverviewFloatingButton extends StatelessWidget {
@override
Widget build(BuildContext context) {
return FloatingActionButton(
onPressed: () => {
Navigator.push(
context,
MaterialPageRoute(builder: (context) => Overview()),
)
},
child: Icon(Icons.dashboard),
backgroundColor: Colors.lightBlue,
);
}
}