import 'package:flutter/material.dart';


class UploadQuoteProgress extends StatelessWidget {
  const UploadQuoteProgress({
    super.key,
    required this.isQuoting,
  });

  final bool isQuoting;

  @override
  Widget build(BuildContext context) {
    final theme = Theme.of(context);
    if (!isQuoting) return const SizedBox.shrink();

    return Column(
      children: [
        const SizedBox(height: 10),
        ClipRRect(
          borderRadius: BorderRadius.circular(999),
          child: LinearProgressIndicator(
            minHeight: 5,
            color: theme.colorScheme.primary,
            backgroundColor: theme.colorScheme.surfaceContainerHighest,
          ),
        ),
      ],
    );
  }
}
