title: Flutter: How to change font of Appbar text?
body: <p>Here's my current code of my main.dart. I tried putting 'theme: ThemeData(fontFamily: 'Bebas Neue Regular')' under the title: Text('SMARTID'), as I want to change the Appbar text which is SMARTID, but it doesn't seem to work.</p>
  
  <pre><code>import 'package:flutter/material.dart';
  
  void main() =&gt; runApp(MaterialApp(
    home: MyApp(),
    debugShowCheckedModeBanner: false,
  ));
  
  class MyApp extends StatefulWidget {
    @override 
    _MyAppState createState() =&gt; new _MyAppState();
  }
  
  class _MyAppState extends State&lt;MyApp&gt; {
    @override 
    Widget build(BuildContext context) {
      return MaterialApp(
        title: 'Smart ID',
        home: Container(
          decoration: BoxDecoration(
            image: DecorationImage(
              image: AssetImage("assets/background.png"), fit: BoxFit.cover)),
          child: Scaffold(
            backgroundColor: Colors.transparent,
            appBar: AppBar(
              elevation: 0,
              backgroundColor: Color(0xff05B068),
              title: Text('SMARTID'),
              theme: ThemeData(fontFamily: 'Bebas Neue Regular'),
              centerTitle: true,
            ),
          ),
        )
      );
    }
  }
  </code></pre>