FLUTTER ECOSYSTEM

jelufe/input_with_keyboard_control

O pacote fornece uma entrada que você pode controlar para mostrar ou não o teclado

Capa do projeto entrada com controle do teclado
Stars
6
Forks
2
Último push (UTC)
8 de jul. de 2021
Status do projeto
Ativo
Jean Lucas Ferreira de Sousa GitHub avatar
GITHUB User

Jean Lucas Ferreira de Sousa ↗

Desenvolvedor Back-end

MercafacilPalmas -TO
LinguagensDart

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 2 itens
  • flutter{"sdk":"flutter"}
  • flutter_testDesenvolvimento{"sdk":"flutter"}

README original

Texto original em inglês. Visite o GitHub para a versão atual.

Expandir / recolher README

input_with_keyboard_control

The package provides an input that you can control whether the keyboard will show or not without losing focus, ideal for use with a barcode scanner!

Example


Check example folder for code sample

https://drive.google.com/u/1/uc?id=1n77fXgLZJP0onLrT3tFE4HaQiwf5jFiF&export=download

Usage


  1. Follow the install guide

  1. Import the library:
import 'package:input_with_keyboard_control/input_with_keyboard_control.dart';

  1. Add InputWithKeyboardControl widget in your code as in the example below
InputWithKeyboardControl(
  focusNode: InputWithKeyboardControlFocusNode(),
  onSubmitted: (value) {
    print(value);
  },
  autofocus: true,
  controller: TextEditingController(),
  width: 300,
  startShowKeyboard: false,
  buttonColorEnabled: Colors.blue,
  buttonColorDisabled: Colors.black,
  underlineColor: Colors.black,
  showUnderline: true,
  showButton: true,
)



Thank you for using this package :heart: