mirrored_repositories/Flutter-Learning/Flutter-apps/instagram_ui/lib
import 'package:flutter/material.dart';
import 'package:instagram_ui/utils/explore_grid.dart';

class UserSearch extends StatelessWidget {
  const UserSearch({super.key});

  @override
  Widget build(BuildContext context) {
    return SafeArea(
      child: Scaffold(
        appBar: AppBar(
          backgroundColor: Colors.transparent,
          elevation: 0,
          title: ClipRRect(
            borderRadius: BorderRadius.circular(12),
            child: Container(
              padding: EdgeInsets.all(8),
              color: Colors.grey[200],
              child: Row(
                children: [
                  Icon(
                    Icons.search,
                    color: Colors.grey[500],
                  ),
                  Text(
                    'Search',
                    style: TextStyle(color: Colors.grey[500]),
                  )
                ],
              ),
            ),
          ),
        ),
        body: ExploreGrid(),
      ),
    );
  }
}
