soft_keyboard_dismisser 0.0.3
soft_keyboard_dismisser: ^0.0.3 copied to clipboard
A simple Flutter package to dismiss the keyboard when click outside the input field..
soft_keyboard_dismisser #
A new flutter plugin project.
Getting Started #
Add dependency #
dependencies:
soft_keyboard_dismisser: ^0.0.1
Super simple to use #
import 'package:soft_keyboard_dismisser/soft_keyboard_dismisser.dart';
...
Container(
child:
SoftKeyboardDismisser(false, "Text here...", 10, ontextChange),
)
soft keyboard dismisser #
Use SoftKeyboardDismisser class and it has 4 parameters
- Enable password field,
true/false
- Placeholder text.
Placeholder message
- Padding value.
Input field padding value
- Callback function.Get value from input field
onTextChange(val){
print(val);// print text whatever you typed in text field.
}