v1.0.0url_textformfield
URLの入力に特化したテキストフィールドで、入力の先頭と末尾に先頭テキストと末尾テキストを追加するオプションがあります
1いいね 1130日間ダウンロード150Pub ポイント
AndroidiOSWebmacOSWindowsLinux
sivaprasadnk/url_textformfield open-source repository details.
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
Textformfield designed for inputing urls, with options to add leading and trailing text, appended at begining and end of input
Add this to your package's pubspec.yaml file
dependencies:
url_textformfield: ^1.0.0
First, you just have to import the package using:
import 'package:url_textformfield/url_textformfield.dart';
Then , use the widget as below,
@override
Widget build(BuildContext context) {
return UrlTextFormField(
focusNode: ctrlFocusNode,
padding: const EdgeInsets.all(10),
onChanged: (val) {},
leadingText: 'https://',
suffixIcon: const Icon(
Icons.check,
color: Colors.green,
),
trailingText: ".com",
);
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
依存関係一覧 3 件
{"sdk":"flutter"}{"sdk":"flutter"}^2.0.0用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗