mirror of
https://github.com/foss42/apidash.git
synced 2025-12-03 11:27:50 +08:00
27 lines
761 B
Dart
27 lines
761 B
Dart
import 'package:apidash_design_system/apidash_design_system.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:apidash/widgets/widgets.dart';
|
|
import '../mobile/requests_page/requests_page.dart';
|
|
import 'editor_pane/editor_pane.dart';
|
|
import 'collection_pane.dart';
|
|
|
|
class HomePage extends StatelessWidget {
|
|
const HomePage({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return context.isMediumWindow
|
|
? const RequestResponsePage()
|
|
: const Column(
|
|
children: [
|
|
Expanded(
|
|
child: DashboardSplitView(
|
|
sidebarWidget: CollectionPane(),
|
|
mainWidget: RequestEditorPane(),
|
|
),
|
|
),
|
|
],
|
|
);
|
|
}
|
|
}
|