mirrored_repositories/MetRoom-Flutter/lib/presentation/screens/settingScreen
import 'package:flutter/material.dart';
import 'package:metroom/app/constants/app.colors.dart';

AppBar settingAppBar({required bool themeFlag}) {
  return AppBar(
    elevation: 0,
    automaticallyImplyLeading: false,
    backgroundColor: themeFlag ? AppColors.mirage : AppColors.creamColor,
    title: Container(
      child: Row(
        mainAxisAlignment: MainAxisAlignment.spaceBetween,
        children: [
          Text(
            "Settings",
            style: TextStyle(
              color: themeFlag ? AppColors.creamColor : AppColors.mirage,
              fontSize: 24,
              fontWeight: FontWeight.w600,
            ),
          ),
        ],
      ),
    ),
  );
}
