Compare commits

..

No commits in common. "master" and "1.0.0" have entirely different histories.

6 changed files with 3 additions and 31 deletions

View file

@ -1,14 +0,0 @@
name: Iconica Standard Component Release Workflow
# Workflow Caller version: 1.0.0
on:
release:
types: [published]
workflow_dispatch:
jobs:
call-global-iconica-workflow:
uses: Iconica-Development/.github/.github/workflows/component-release.yml@master
secrets: inherit
permissions: write-all

4
.gitignore vendored
View file

@ -36,7 +36,3 @@ example/linux
example/macos
example/windows
example/web
# FVM Version Cache
.fvm/
.fvmrc

View file

@ -1,6 +1,3 @@
## 1.1.0
- Add option `bottomAlertDialogPadding` to `BottomAlertDialogConfig` for specifying the empty space above the title of a dialog. By default it is an EdgeInsets with top 10px.
## 1.0.0
- Flutter_dialogs and flutter_bottom_alert_dialogs combined into one package
- Add default padding to the bottom alert dialog that is the size of the safe area of a device. You can disable this by setting `useSafeAreaPadding` to false.

View file

@ -282,7 +282,7 @@ class BottomAlertDialog extends StatelessWidget {
child: Stack(
children: [
Padding(
padding: config.bottomAlertDialogPadding,
padding: const EdgeInsets.only(top: 10),
child: Align(
alignment: Alignment.center,
child: Column(

View file

@ -29,7 +29,6 @@ class BottomAlertDialogConfig extends InheritedWidget {
CloseButtonBuilder? closeButtonBuilder,
this.yesText = "Yes",
this.noText = "No",
this.bottomAlertDialogPadding = const EdgeInsets.only(top: 10),
this.backgroundColor,
super.key,
}) : _buttonBuilder = buttonBuilder,
@ -39,10 +38,6 @@ class BottomAlertDialogConfig extends InheritedWidget {
final CloseButtonBuilder? _closeButtonBuilder;
final String yesText;
final String noText;
/// The padding that is put between the top of the dialog and the content.
/// This is by default const EdgeInsets.only(top:10).
final EdgeInsets bottomAlertDialogPadding;
final Color? backgroundColor;
ButtonBuilder get buttonBuilder =>

View file

@ -1,12 +1,10 @@
name: flutter_dialogs
description: A new Flutter package project.
version: 1.1.0
version: 1.0.0
homepage: https://github.com/Iconica-Development/flutter_dialogs
publish_to: https://forgejo.internal.iconica.nl/api/packages/internal/pub
environment:
sdk: ">=3.0.0 <4.0.0"
sdk: ">=2.18.2 <3.0.0"
flutter: ">=1.17.0"
dependencies: