v1.0.0
gender_selection
성별 선택을 위한 Flutter 패키지입니다. 멋진 그라디언트와 애니메이션 효과를 갖춘 훌륭한 성별 선택 위젯입니다
20좋아요 3230일 다운로드35Pub 점수
플랫폼 정보 없음
이것은 사용자가 멋진 애니메이션을 통해 성별을 선택할 수 있도록 해주는 플러터 패키지입니다.
{"sdk":"flutter"}{"sdk":"flutter"}아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A Flutter package for gender selection. It is an aweome gender selection widget with cool gradients and animation effects
pub package Awesome Flutter Donate
Add this to your package's pubspec.yaml file:
dependencies:
gender_selection: "^0.0.8"
import 'package:gender_selection/gender_selection.dart';
GenderSelection(
maleText: "", //default Male
femaleText: "", //default Female
linearGradient: pinkRedGradient,
selectedGenderIconBackgroundColor: Colors.indigo, // default red
checkIconAlignment: Alignment.centerRight, // default bottomRight
selectedGenderCheckIcon: null, // default Icons.check
onChanged: (Gender gender){
print(gender);
},
equallyAligned: true,
animationDuration: Duration(milliseconds: 400),
isCircular: true, // default : true,
isSelectedGenderIconCircular: true,
opacityOfGradient: 0.6,
padding: const EdgeInsets.all(3),
size: 120, //default : 120
),
This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.