Skip to content

Commit ff895bc

Browse files
author
xuyingjun
committed
modify constraints property[v1.0.5]
1 parent 66922c4 commit ff895bc

18 files changed

+348
-309
lines changed

.idea/libraries/Dart_SDK.xml

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 198 additions & 207 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,8 @@
1717

1818
## 1.0.4
1919

20-
* Without the Context to invoke
20+
* Without the Context to invoke
21+
22+
## 1.0.5
23+
24+
* Modify constraints property

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Global dialog function encapsulation, with a semantic way to fill the content in
1717

1818
```yaml
1919
dependencies:
20-
flutter_custom_dialog: ^1.0.4
20+
flutter_custom_dialog: ^1.0.5
2121
```
2222
2323
**2、import**
@@ -83,6 +83,13 @@ import 'package:flutter_custom_dialog/flutter_custom_dialog.dart';
8383
<br />
8484
8585
</td>
86+
<td align="center">
87+
<img src="https://github.com/YYFlutter/flutter-custom-dialog/raw/master/image/png/9.png" width="150px">
88+
<br />
89+
bottom sheet
90+
<br />
91+
92+
</td>
8693
<td align="center">
8794
<img src="https://github.com/YYFlutter/flutter-custom-dialog/raw/master/image/png/8.png" width="150px">
8895
<br />

README_CN.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
```yaml
1717
dependencies:
18-
flutter_custom_dialog: ^1.0.4
18+
flutter_custom_dialog: ^1.0.5
1919
```
2020
2121
**2、import**
@@ -81,6 +81,13 @@ import 'package:flutter_custom_dialog/flutter_custom_dialog.dart';
8181
<br />
8282
8383
</td>
84+
<td align="center">
85+
<img src="https://github.com/YYFlutter/flutter-custom-dialog/raw/master/image/png/9.png" width="150px">
86+
<br />
87+
bottom sheet
88+
<br />
89+
90+
</td>
8491
<td align="center">
8592
<img src="https://github.com/YYFlutter/flutter-custom-dialog/raw/master/image/png/8.png" width="150px">
8693
<br />
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/sh
22
# This is a generated file; do not edit or check into version control.
3-
export "FLUTTER_ROOT=D:\Program Files\flutter"
4-
export "FLUTTER_APPLICATION_PATH=E:\YPlugin\package\flutter_custom_dialog\example"
3+
export "FLUTTER_ROOT=C:\FlutterSDK\flutter"
4+
export "FLUTTER_APPLICATION_PATH=C:\YYLive4-OpenSource\flutter-custom-dialog\example"
55
export "FLUTTER_TARGET=lib\main.dart"
66
export "FLUTTER_BUILD_DIR=build"
77
export "SYMROOT=${SOURCE_ROOT}/../build\ios"
8-
export "FLUTTER_FRAMEWORK_DIR=D:\Program Files\flutter\bin\cache\artifacts\engine\ios"
8+
export "FLUTTER_FRAMEWORK_DIR=C:\FlutterSDK\flutter\bin\cache\artifacts\engine\ios"

example/lib/main.dart

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
library flutter_custom_dialog;
22

33
import 'package:flutter/material.dart';
4-
import 'package:flutter_custom_dialog/components/bean/dialog_gravity.dart';
54
import 'package:flutter_custom_dialog/components/example/alert_dialog.dart';
5+
import 'package:flutter_custom_dialog/components/example/bottom_sheet_dialog.dart';
66
import 'package:flutter_custom_dialog/components/example/listview_dialog.dart';
77
import 'package:flutter_custom_dialog/components/example/progress_dialog.dart';
88
import 'package:flutter_custom_dialog/flutter_custom_dialog.dart';
@@ -71,10 +71,13 @@ showAlertDialog(BuildContext context) {
7171
),
7272
Row(
7373
children: <Widget>[
74-
makeTextButton("nobody", () {
74+
makeTextButton("bottomsheet", () {
75+
YYBottomSheetDialog();
76+
}),
77+
makeTextButton("progress", () {
7578
YYProgressDialogNoBody();
7679
}),
77-
makeTextButton("body", () {
80+
makeTextButton("progress\n&body", () {
7881
YYProgressDialogBody();
7982
}),
8083
makeTextButton("pop\nmenu", () {

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ packages:
4747
path: ".."
4848
relative: true
4949
source: path
50-
version: "1.0.3"
50+
version: "1.0.4"
5151
flutter_test:
5252
dependency: "direct dev"
5353
description: flutter

image/png/9.png

3.01 KB
Loading

lib/components/bean/dialog_gravity.dart

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)