mirror of
https://github.com/hackku21/loc-chain-app.git
synced 2024-10-27 20:34:05 +00:00
24 lines
555 B
Dart
24 lines
555 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:shared_preferences/shared_preferences.dart';
|
|
import 'package:loc_chain_app/widgets/navbar.dart';
|
|
|
|
void main() async {
|
|
final prefs = await SharedPreferences.getInstance();
|
|
|
|
runApp(App());
|
|
}
|
|
|
|
class App extends StatelessWidget {
|
|
// This widget is the root of your application.
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
title: 'Flutter Demo',
|
|
theme: ThemeData(
|
|
primarySwatch: Colors.lightBlue,
|
|
),
|
|
home: NavBarWidget(),
|
|
);
|
|
}
|
|
}
|