2024-09-01 00:30:07 +08:00
|
|
|
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) {
|
2024-10-06 16:20:37 +08:00
|
|
|
return _buildDesktopButton(context);
|
2024-09-01 00:30:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
Widget _buildDesktopButton(BuildContext context) {
|
|
|
|
return IconButton(
|
|
|
|
icon: const Icon(Icons.more_vert),
|
|
|
|
onPressed: () {
|
|
|
|
Navigator.push(
|
|
|
|
context,
|
|
|
|
MaterialPageRoute(
|
|
|
|
builder: (BuildContext context) =>
|
|
|
|
DesktopSettingPage(initialTabkey: SettingsTabKey.general),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
},
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|