fluffychat/lib/widgets/layouts/two_column_layout.dart
ggurdin dd9a4858d1
feat: On hover of the Nav Bar, expand to show current icon tooltip text (#4976)
* feat: On hover of the Nav Bar, expand to show current icon tooltip text

* animate menu transition
2025-12-30 13:24:28 -05:00

47 lines
1.2 KiB
Dart

import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
import 'package:fluffychat/pangea/spaces/space_navigation_column.dart';
class TwoColumnLayout extends StatelessWidget {
// #Pangea
// final Widget mainView;
final GoRouterState state;
// Pangea#
final Widget sideView;
const TwoColumnLayout({
super.key,
// #Pangea
// required this.mainView,
required this.state,
// Pangea#
required this.sideView,
});
@override
Widget build(BuildContext context) {
// #Pangea
// final theme = Theme.of(context);
// Pangea#
return ScaffoldMessenger(
child: Scaffold(
body: Row(
children: [
// #Pangea
SpaceNavigationColumn(state: state),
// Container(
// clipBehavior: Clip.antiAlias,
// decoration: const BoxDecoration(),
// width: FluffyThemes.columnWidth + FluffyThemes.navRailWidth,
// child: mainView,
// ),
// Container(width: 1.0, color: theme.dividerColor),
// Pangea#
Expanded(child: ClipRRect(child: sideView)),
],
),
),
);
}
}