import 'package:comwell_key_app/utils/l10n_utils.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
import 'package:comwell_key_app/themes/light_theme.dart';
class PrepareRoomWidget extends StatelessWidget {
const PrepareRoomWidget({super.key});
@override
Widget build(BuildContext context) {
final theme = Theme.of(context);
return Padding(
padding: const EdgeInsets.only(left: 16, right: 8, top: 8, bottom: 8),
child: Row(
mainAxisAlignment: MainAxisAlignment.start,
children: [
Container(
height: 36,
padding: const EdgeInsets.all(8),
decoration: BoxDecoration(
color: sandColor[20],
shape: BoxShape.circle,
),
child: SvgPicture.asset("assets/icons/check-in.svg"),
),
const SizedBox(width: 8),
Expanded(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
context.strings.prepare_room,
style: theme.textTheme.bodyMedium,
textAlign: TextAlign.start,
),
Text(
context.strings.jump_line_text,
overflow: TextOverflow.ellipsis,
textAlign: TextAlign.start,
style: theme.textTheme.bodySmall?.copyWith(
color: colorHeadlineText,
),
),
],
),
),
const SizedBox(width: 8),
SvgPicture.asset("assets/icons/arrow-left.svg"),
],
),
);
}
}