FLUTTER ECOSYSTEM

jelufe/input_with_keyboard_control

このパッケージは、キーボードの表示/非表示を制御できる入力フィールドを提供しています

キーボード制御付きの入力 のプロジェクト画像
Stars
6
Forks
2
最終プッシュ(UTC)
2021/07/08
プロジェクト状態
公開中
Jean Lucas Ferreira de Sousa GitHub avatar
GITHUB User

Jean Lucas Ferreira de Sousa ↗

Desenvolvedor Back-end

MercafacilPalmas -TO
言語Dart

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 2 件
  • flutter{"sdk":"flutter"}
  • flutter_test開発用{"sdk":"flutter"}

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

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: