mirrored_repositories/movie-booking-ui/lib/features/booking
import 'package:flutter/material.dart';

class MovieAppBar extends StatelessWidget {
  const MovieAppBar({Key? key, required this.title}) : super(key: key);

  final String title;

  @override
  Widget build(BuildContext context) {
    return AppBar(
      leading: IconButton(
        onPressed: () => Navigator.of(context).pop(),
        icon: const Icon(Icons.arrow_back_ios),
      ),
      title: Text(title),
    );
  }
}
