import 'package:enaklo_pos/presentation/home/widgets/custom_tab_bar.dart';
import 'package:enaklo_pos/presentation/setting/widgets/bar_printer_page.dart';
import 'package:enaklo_pos/presentation/setting/widgets/checker_printer_page.dart';
import 'package:enaklo_pos/presentation/setting/widgets/kitchen_printer_page.dart';
import 'package:enaklo_pos/presentation/setting/widgets/receipt_printer_page.dart';
import 'package:enaklo_pos/presentation/setting/widgets/settings_title.dart';
import 'package:enaklo_pos/presentation/setting/widgets/ticket_printer_page.dart';
import 'package:flutter/material.dart';

class SettingPrinterPage extends StatelessWidget {
  const SettingPrinterPage({super.key});

  @override
  Widget build(BuildContext context) {
    return Column(
      children: [
        SettingsTitle(
          'Printer',
          subtitle: 'Kelola printer untuk cetak struk',
        ),
        Expanded(
          child: CustomTabBarV2(
            tabTitles: [
              'Receipt Printer',
              'Checker Printer',
              'Kitchen Printer',
              'Bar Printer',
              'Tiket Printer',
            ],
            tabViews: [
              ReceiptPrinterPage(),
              CheckerPrinterPage(),
              KitchenPrinterPage(),
              BarPrinterPage(),
              TicketPrinterPage()
            ],
          ),
        ),
      ],
    );
  }
}
