비밀번호 필드
가장 일반적으로 필요한 비밀번호 텍스트 필드 위젯을 위한 플러터 패키지입니다. 비밀번호 텍스트 필드에서 필요로 하는 대부분의 기능을 갖추고 있습니다
- 스타
- 14
- 포크
- 5
- 최근 푸시(UTC)
- 2023. 10. 19.
- 프로젝트 상태
- 활성
원본 README
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
passwordfield: ^0.2.0
A simple and easy to use flutter package to add a passwordfield to your Flutter project.
Getting Started
Installation
- Add the dependency
flutter pub add passwordfield
- Import the package
import 'package:passwordfield/passwordfield.dart';
- Voila! use the Widget
PasswordField();
Now Supports adding constraints on the Password

| Example 1 | Output |
|---|---|
|
|
| Example 2 | Output |
|---|---|
|
|
More examples here 👈
Properties
bool autoFocus: if autofocus is true keyboard pops up as soon as the widget is rendered on screen defaults to false
Color backgroundColor Background Color for the textfield (defaults to white), By default the backgroundColor is based on the current [Theme].
PasswordBorder border: Border class for the passwordfield which provides borders for different states of the passwordfield e.g [enabledBorder],[border], [focusedBorder], [focusedErrorBorder]
TextEditingController controller: A controller for an editable passwordfield.
int errorMaxLines: Defaults to null, which means that the [errorText] will be limited to a single line with [TextOverflow.ellipsis]
String errorMessage: custom message to show if the input password does not match the pattern.
String floatingText: floatingText to show when floatingPlaceholder is true
hasFloatingPlaceholder: whether the placeholder can float to left top on focus, defaults to false
final String hintText: default text to show on the passwordfield when it is empty
PasswordDecoration passwordDecoration: Decoration class for the PasswordField to customize the input styling
int maxLength: the max number of characters the password field can support
Function onSubmit: function triggerred when the submit button on keyboard is pressed
Function onChanged: function triggerred when the password is changed in the passwordfield
String passwordConstraint: supports adding constraints to the Passwordfield by adding a regex pattern
You are welcome to contribute to this package, to contribute please read the contributing guidelines.
분류
사용 중인 의존성
의존성 목록 3 개
- flutter
{"sdk":"flutter"} - flutter_test개발 의존성
{"sdk":"flutter"} - lints개발 의존성
^2.0.1
프로젝트에 맞는 저장소를 선택하려면?
사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
- 이름, 작성자 또는 설명으로 검색하고 기술 주제로 범위를 좁힙니다.
- 스타, 포크, 최근 푸시를 함께 비교하세요. 스타는 관심의 지표이며 품질을 보장하지 않습니다.
- 사용하기 전에 GitHub에서 README, 라이선스, Issues를 확인하세요.
출처 및 관리
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗

