Reputation: 323
import 'package:naber/naber_main.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Naber',
theme: ThemeData(
primaryColor: Color(0xff075E54),
accentColor: Color(0xff250366),
visualDensity: VisualDensity.adaptivePlatformDensity,
),
home: NaberMain(),
);
}
}
My program fails after the flutter visual studio emulator opens.
Upvotes: 0
Views: 34