mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-13 03:11:29 +03:00
ImageModel
This commit is contained in:
@@ -10,16 +10,17 @@ void main() {
|
||||
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'),
|
||||
));
|
||||
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'),
|
||||
)));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user