Skip to content
Snippets Groups Projects
app.dart 505 B
Newer Older
  • Learn to ignore specific revisions
  • igorwork's avatar
    igorwork committed
    // app.dart
    import 'package:flutter/material.dart';
    import 'screens/home.dart';
    class App extends StatelessWidget {
      @override
      Widget build(BuildContext context) {
        return MaterialApp(
          title: 'Flutter Web Views',
          theme: ThemeData(
              primarySwatch: Colors.blue,
              fontFamily: "Arial",
              textTheme: TextTheme(
                  button: TextStyle(color: Colors.white, fontSize: 18.0),
                  title: TextStyle(color: Colors.red))),
          home: Home(),
        );
      }
    }