34 lines
1.0 KiB
Dart
34 lines
1.0 KiB
Dart
import 'package:fitnessapp/Views/homescreen.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'dart:async';
|
|
|
|
void main() => runApp(MyApp());
|
|
|
|
class MyApp extends StatelessWidget {
|
|
// This widget is the root of your application.
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
title: 'Flutter Demo',
|
|
theme: ThemeData(
|
|
// Define the default brightness and colors.
|
|
brightness: Brightness.dark,
|
|
primaryColor: Colors.lightBlue[800],
|
|
accentColor: Colors.cyan[600],
|
|
|
|
// Define the default font family.
|
|
fontFamily: 'Verdana',
|
|
|
|
// Define the default TextTheme. Use this to specify the default
|
|
// text styling for headlines, titles, bodies of text, and more.
|
|
textTheme: TextTheme(
|
|
headline: TextStyle(fontSize: 72.0, fontWeight: FontWeight.bold),
|
|
title: TextStyle(fontSize: 36.0, fontStyle: FontStyle.italic),
|
|
body1: TextStyle(fontSize: 14.0, fontFamily: 'Verdana'),
|
|
),
|
|
),
|
|
home: HomescreenView(),
|
|
);
|
|
}
|
|
}
|