mirrored_repositories/Hali-Shop-app/lib/utils
import 'package:flutter/material.dart';

class AppbarTitleWithBackButton extends StatelessWidget {
  final String data;
  const AppbarTitleWithBackButton({super.key, required this.data});

  @override
  Widget build(BuildContext context) {
    return SizedBox(
      height: 35,
      width: double.maxFinite,
      child: Row(
         
          
          children: [
            IconButton(
              onPressed: () {
                Navigator.pop(context);
              },
              icon: const Icon(Icons.arrow_back_ios),
            ),
          Expanded(child: Container()),
          Text(data),
          Expanded(child: Container()),
          const SizedBox(width: 20,)
          ]),
    );
  }
}
