import 'package:flutter/material.dart';
import 'package:lba/res/colors.dart';

class DividerTitleWidget extends StatelessWidget {
  
  final String title;

  const DividerTitleWidget({
    super.key, 
    required this.title,
  });

  @override
  Widget build(BuildContext context) {
    return Row(
      children: [
        Text(
          title,
          style: TextStyle(fontSize: 15),
        ),
        const SizedBox(width: 8),
        Expanded(
          child: Divider(color: AppColors.divider, thickness: 2),
        ),
      ],
    );
  }
}
