INNER CODE UNIT · Dart
_SlimSocialAppState
rignaneseleo/SlimSocial-for-Facebook · SlimSocial_for_Facebook/lib/main.dart:157
class _SlimSocialAppState extends State<SlimSocialApp> {
_SlimSocialAppState() {
_themeMode =
CustomCss.darkThemeCss.isEnabled() ? ThemeMode.dark : ThemeMode.light;
}
late ThemeMode _themeMode;
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
//TODO change app title dynamically
return MaterialApp(
title: 'SlimSocial for Facebook',
//no textTheme: the platform default is Roboto, which is the font this
//used to download from fonts.gstatic.com on every cold start — a
//request that bought nothing and, when it failed, was reported as a
//fatal error (SLIMSOCIAL-7)