hesabixArc/hesabixUI/hesabix_ui/lib/pages/profile/profile_shell.dart
2025-09-15 13:53:54 +03:30

28 lines
661 B
Dart

import 'package:flutter/material.dart';
class ProfileShell extends StatelessWidget {
final Widget child;
const ProfileShell({super.key, required this.child});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: const Text('Profile')),
body: Row(
children: [
NavigationRail(
selectedIndex: 0,
destinations: const [
NavigationRailDestination(icon: Icon(Icons.dashboard_outlined), label: Text('Dashboard')),
],
),
const VerticalDivider(width: 1),
Expanded(child: child),
],
),
);
}
}