mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-12 18:29:10 +08:00
560c1effe8
Signed-off-by: 21pages <sunboeasy@gmail.com>
27 lines
691 B
Dart
27 lines
691 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter_hbb/desktop/pages/desktop_setting_page.dart';
|
|
|
|
class WebSettingsPage extends StatelessWidget {
|
|
const WebSettingsPage({Key? key}) : super(key: key);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return _buildDesktopButton(context);
|
|
}
|
|
|
|
Widget _buildDesktopButton(BuildContext context) {
|
|
return IconButton(
|
|
icon: const Icon(Icons.more_vert),
|
|
onPressed: () {
|
|
Navigator.push(
|
|
context,
|
|
MaterialPageRoute(
|
|
builder: (BuildContext context) =>
|
|
DesktopSettingPage(initialTabkey: SettingsTabKey.general),
|
|
),
|
|
);
|
|
},
|
|
);
|
|
}
|
|
}
|