ImageModel
This commit is contained in:
+11
-10
@@ -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