v1.0.0+2
platform_alert_dialog
현재 플랫폼에 맞춰진 알림 대화 상자를 빌드하기 위한 Flutter 플러그인입니다.
17좋아요 430일 다운로드40Pub 점수
플랫폼 정보 없음
현재 플랫폼에 맞춰진 알림 대화 상자를 빌드하기 위한 Flutter 플러그인입니다.
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
Flutter plugin for build alert dialogs adapted to the current platform.
showDialog<void>(
context: context,
builder: (BuildContext context) {
return PlatformAlertDialog(
title: Text('Rewind and remember'),
content: SingleChildScrollView(
child: ListBody(
children: <Widget>[
Text('You will never be satisfied.'),
Text('You\’re like me. I’m never satisfied.'),
],
),
),
actions: <Widget>[
PlatformDialogAction(
child: Text('Cancel'),
onPressed: () {
Navigator.of(context).pop();
},
),
PlatformDialogAction(
child: Text('Regret'),
actionType: ActionType.Preferred,
onPressed: () {
Navigator.of(context).pop();
},
),
],
);
},
);
| Screenshot with theme Android | Screenshot with theme iOs |
|---|---|
![]() |
![]() |
의존성 목록 2 개
{"sdk":"flutter"}{"sdk":"flutter"}사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗