mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-26 22:51:03 +03:00
27
flutter/lib/plugin/widgets/remote/toolbar/display.dart
Normal file
27
flutter/lib/plugin/widgets/remote/toolbar/display.dart
Normal file
@@ -0,0 +1,27 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
|
||||
import '../../../model.dart';
|
||||
|
||||
class Display extends StatelessWidget {
|
||||
final String peerId;
|
||||
final LocationModel locationModel;
|
||||
|
||||
Display({
|
||||
Key? key,
|
||||
required this.peerId,
|
||||
required this.locationModel,
|
||||
}) : super(key: key);
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return ChangeNotifierProvider.value(
|
||||
value: locationModel,
|
||||
child: Consumer<LocationModel>(builder: (context, model, child) {
|
||||
return Column(
|
||||
children: [],
|
||||
);
|
||||
}),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user