v1.0.0
gender_selection
性別選択用のFlutterパッケージ。クールなグラデーションとアニメーション効果を備えた素晴らしい性別選択ウィジェットです
20いいね 3930日間ダウンロード35Pub ポイント
プラットフォーム情報なし
これは、クールなアニメーションを備えた性別選択ウィジェットを作成するためのFlutterパッケージです。
{"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.