97 lines
2.5 KiB
Dart
97 lines
2.5 KiB
Dart
|
|
import 'package:flutter/material.dart';
|
||
|
|
|
||
|
|
import '../../../../common/theme/theme.dart';
|
||
|
|
import 'divider.dart';
|
||
|
|
import 'profile_tile.dart';
|
||
|
|
|
||
|
|
class ProfileBusinessSetting extends StatelessWidget {
|
||
|
|
const ProfileBusinessSetting({super.key});
|
||
|
|
|
||
|
|
@override
|
||
|
|
Widget build(BuildContext context) {
|
||
|
|
return Container(
|
||
|
|
margin: EdgeInsets.symmetric(horizontal: AppValue.margin),
|
||
|
|
decoration: BoxDecoration(
|
||
|
|
color: AppColor.surface,
|
||
|
|
borderRadius: BorderRadius.circular(12),
|
||
|
|
boxShadow: [
|
||
|
|
BoxShadow(
|
||
|
|
color: Colors.black.withOpacity(0.05),
|
||
|
|
blurRadius: 10,
|
||
|
|
offset: const Offset(0, 2),
|
||
|
|
),
|
||
|
|
],
|
||
|
|
),
|
||
|
|
child: Column(
|
||
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||
|
|
children: [
|
||
|
|
Padding(
|
||
|
|
padding: EdgeInsets.all(16),
|
||
|
|
child: Text(
|
||
|
|
'Business Settings',
|
||
|
|
style: AppStyle.xl.copyWith(
|
||
|
|
fontSize: 18,
|
||
|
|
fontWeight: FontWeight.bold,
|
||
|
|
color: AppColor.textPrimary,
|
||
|
|
),
|
||
|
|
),
|
||
|
|
),
|
||
|
|
|
||
|
|
ProfileTile(
|
||
|
|
icon: Icons.business_outlined,
|
||
|
|
title: 'Business Information',
|
||
|
|
subtitle: 'Manage your business details',
|
||
|
|
onTap: () {
|
||
|
|
// Navigate to business info
|
||
|
|
},
|
||
|
|
),
|
||
|
|
|
||
|
|
ProfileDivider(),
|
||
|
|
|
||
|
|
ProfileTile(
|
||
|
|
icon: Icons.people_outline,
|
||
|
|
title: 'Staff Management',
|
||
|
|
subtitle: 'Manage employees and permissions',
|
||
|
|
onTap: () {
|
||
|
|
// Navigate to staff management
|
||
|
|
},
|
||
|
|
),
|
||
|
|
|
||
|
|
ProfileDivider(),
|
||
|
|
|
||
|
|
ProfileTile(
|
||
|
|
icon: Icons.payment_outlined,
|
||
|
|
title: 'Payment Methods',
|
||
|
|
subtitle: 'Configure payment options',
|
||
|
|
onTap: () {
|
||
|
|
// Navigate to payment settings
|
||
|
|
},
|
||
|
|
),
|
||
|
|
|
||
|
|
ProfileDivider(),
|
||
|
|
|
||
|
|
ProfileTile(
|
||
|
|
icon: Icons.receipt_long_outlined,
|
||
|
|
title: 'Tax Settings',
|
||
|
|
subtitle: 'Configure tax rates and policies',
|
||
|
|
onTap: () {
|
||
|
|
// Navigate to tax settings
|
||
|
|
},
|
||
|
|
),
|
||
|
|
|
||
|
|
ProfileDivider(),
|
||
|
|
|
||
|
|
ProfileTile(
|
||
|
|
icon: Icons.print_outlined,
|
||
|
|
title: 'Receipt & Print Settings',
|
||
|
|
subtitle: 'Configure receipt templates',
|
||
|
|
onTap: () {
|
||
|
|
// Navigate to print settings
|
||
|
|
},
|
||
|
|
),
|
||
|
|
],
|
||
|
|
),
|
||
|
|
);
|
||
|
|
}
|
||
|
|
}
|