unfocuser 1.0.0 unfocuser: ^1.0.0 copied to clipboard
A Widget to pop the keyboard when removing focus from inputs.
import 'package:flutter/material.dart';
import 'package:unfocuser/unfocuser.dart';
class MainApp extends StatelessWidget {
const MainApp({super.key});
@override
Widget build(BuildContext context) {
return Unfocuser(
child: MaterialApp(
home: TextFormField(),
),
);
}
}