import 'package:flutter/material.dart';

class CustomUnfocus extends StatelessWidget {
  final Widget child;

  const CustomUnfocus({super.key, required this.child});

  @override
  Widget build(BuildContext context) {
    return  GestureDetector(
      onTap: () => FocusManager.instance.primaryFocus?.unfocus(),
      child: child);
  }
}
