mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-26 06:09:03 +08:00
26 lines
604 B
Dart
26 lines
604 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:provider/provider.dart';
|
|
import 'common.dart';
|
|
import 'home_page.dart';
|
|
|
|
void main() {
|
|
runApp(App());
|
|
}
|
|
|
|
class App extends StatelessWidget {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
var ffi = FfiModel();
|
|
return ChangeNotifierProvider.value(
|
|
value: ffi,
|
|
child: MaterialApp(
|
|
title: 'RustDesk',
|
|
theme: ThemeData(
|
|
primarySwatch: Colors.blue,
|
|
visualDensity: VisualDensity.adaptivePlatformDensity,
|
|
),
|
|
home: HomePage(title: 'RustDesk'),
|
|
));
|
|
}
|
|
}
|