adaptive_dialog 1.5.0 adaptive_dialog: ^1.5.0 copied to clipboard
Show alert dialog or modal action sheet adaptively according to platform.
1.5.0 #
- Add
builder
parameter- This resolved #28, #42 and #56
1.4.0 #
- Change
isCupertinoStyle
to returntrue
if TargetPlatform is macOS
1.3.0 #
- Deprecate
alertStyle
ofshowOkAlertDialog
/showOkCancelAlertDialog
, which was mistakenly defined, and addstyle
property instead. - Make Material style
showOkAlertDialog
scrollable (#53)
1.2.0 #
- Add
isCaseSensitive
parameter toshowTextAnswerDialog
(#49)
1.1.0 #
- Add optional arg to submit form when user hits enter on last input field to
showTextAnswerDialog()
(#39)
1.0.1 #
- Remove unused
cancelLabel
fromMaterialModalActionSheet
1.0.0 #
- Add
onWillPop
parameter
0.10.0 #
- Migrate to null safety (https://github.com/mono0926/adaptive_dialog/issues/25)
0.9.4 #
- Fix missing
fullyCapitalizedForMaterial
(https://github.com/mono0926/adaptive_dialog/issues/23)
0.9.3 #
- Support initial selection for showConfirmationDialog
- Set toggleable true for showConfirmationDialog
0.9.2 #
- Add minLines/maxLines to DialogTextField (#12)
0.9.1 #
- Add prefixText/suffixText to DialogTextField (#11)
0.9.0 #
- Add
fullyCapitalizedForMaterial
toshowAlertDialog
- default: true
- If it is true, button label is fully capitalized automatically, which is recommended at the Material Design guide.
0.8.0 #
- Use new buttons
0.7.5 #
- If there is enough height,
NeverScrollableScrollPhysics
will be set toshowConfirmationDialog
's innerListView
0.7.4 #
- Add
shrinkWrap
toshowConfirmationDialog
and it is defaults totrue
, which is opposite of the default value of ListView
0.7.3 #
- Support autovalidate for showTextInputDialog
0.7.2 #
- Support validation for showTextInputDialog
- Fix destructive color of showTextInputDialog for Cupertino
0.7.1 #
- User showModal instead of showDialog for showTextInputDialog
0.7.0 #
- Delete
showDialog2020
function- the
configuration
parameter of animationsshowModal
can be omitted at v1.1.0 so,showDialog2020
no longer the point of existence.
- the
0.6.4 #
- Override
textScaleFactor
to keep larger than 1 forCupertinoActionSheet
0.6.3 #
- Add
actionsOverflowDirection
toshowAlertDialog
- Only works for Material style
0.6.2 #
- Fix
showTextAnswerDialog
retry
0.6.1 #
- Fix
showConfirmationDialog
message text alignment
0.6.0 #
- Add
showConfirmationDialog
- Show confirmation dialog, whose appearance is adaptive according to platform
- For Cupertino, fallback to ActionSheet
0.5.0 #
- Add
materialConfiguration
toshowModalBottomSheet
- This suppresses many actions (long list) sheet from overflow
0.4.0 #
- Support nested navigator
- Expose
useRootNavigator
- It works fine without specifying
useRootNavigator
in most cases - Check example/lib/nested_navigator_page.dart
- Expose
0.3.1 #
- Add
showDialog2020
, which wrapsshowModal
withFadeScaleTransitionConfiguration()
.
0.3.0 #
- Use
showModal
withFadeScaleTransitionConfiguration
of animations for Material alert dialog
0.2.2 #
- Fix showTextAnswerDialog
0.2.1 #
- Add isDestructiveAction to showTextInputDialog and showTextAnswerDialog
0.2.0 #
- Add showTextInputDialog
- Add showTextAnswerDialog
0.1.2 #
- Change SheetAction's icon to nullable
0.1.1 #
- Add documentation
- Change some parameters to nullable
0.1.0 #
- Initial release