v1.0.1+hotfix.1
flutter_dropdown
이는 Flutter 프레임워크의 드롭다운 버튼을 덜 복잡하게 만듭니다
47좋아요 4430일 다운로드160Pub 점수
AndroidiOSWebmacOSWindowsLinux
이것은 Flutter 프레임워크의 복잡한 드롭다운 버튼을 덜 복잡하게 만듭니다.
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
This does make Flutter Framework complicated dropdown button less complicated.
Simple widget:
DropDown(
items: ["Male", "Female", "Other"],
hint: Text("Male"),
icon: Icon(
Icons.expand_more,
color: Colors.blue,
),
onChanged: print,
),
With custom dropdown item widget:
DropDown<String>(
items: <String>["Male", "Female", "Other"],
icon: Icon(
Icons.expand_more,
color: Colors.blue,
),
customWidgets: <Widget>[
Row(
children: <Widget>[
Text("Male"),
CircleAvatar(
backgroundImage: NetworkImage(
"https://raw.githubusercontent.com/rrousselGit/provider/master/resources/expanded_devtools.jpg"),
),
],
),
Row(
children: <Widget>[
Text("Female"),
CircleAvatar(
backgroundImage: NetworkImage(
"https://raw.githubusercontent.com/rrousselGit/provider/master/resources/expanded_devtools.jpg"),
),
],
),
Row(
children: <Widget>[
Text("Other"),
CircleAvatar(
backgroundImage: NetworkImage(
"https://raw.githubusercontent.com/rrousselGit/provider/master/resources/expanded_devtools.jpg"),
),
],
)
],
hint: Text("Select Gender"),
onChanged: print,
),
의존성 목록 2 개
{"sdk":"flutter"}{"sdk":"flutter"}사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗