prepare cursor model

This commit is contained in:
open-trade
2020-11-18 23:49:48 +08:00
parent 0d4c85b3df
commit 13eee42008
3 changed files with 66 additions and 8 deletions

View File

@@ -14,13 +14,15 @@ class App extends StatelessWidget {
value: FFI.ffiModel,
child: ChangeNotifierProvider.value(
value: FFI.imageModel,
child: MaterialApp(
title: 'RustDesk',
theme: ThemeData(
primarySwatch: Colors.blue,
visualDensity: VisualDensity.adaptivePlatformDensity,
),
home: HomePage(title: 'RustDesk'),
)));
child: ChangeNotifierProvider.value(
value: FFI.cursorModel,
child: MaterialApp(
title: 'RustDesk',
theme: ThemeData(
primarySwatch: Colors.blue,
visualDensity: VisualDensity.adaptivePlatformDensity,
),
home: HomePage(title: 'RustDesk'),
))));
}
}