-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
xuyingjun
committed
Oct 8, 2019
1 parent
66922c4
commit ff895bc
Showing
18 changed files
with
348 additions
and
309 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,8 @@ | |
|
||
## 1.0.4 | ||
|
||
* Without the Context to invoke | ||
* Without the Context to invoke | ||
|
||
## 1.0.5 | ||
|
||
* Modify constraints property |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#!/bin/sh | ||
# This is a generated file; do not edit or check into version control. | ||
export "FLUTTER_ROOT=D:\Program Files\flutter" | ||
export "FLUTTER_APPLICATION_PATH=E:\YPlugin\package\flutter_custom_dialog\example" | ||
export "FLUTTER_ROOT=C:\FlutterSDK\flutter" | ||
export "FLUTTER_APPLICATION_PATH=C:\YYLive4-OpenSource\flutter-custom-dialog\example" | ||
export "FLUTTER_TARGET=lib\main.dart" | ||
export "FLUTTER_BUILD_DIR=build" | ||
export "SYMROOT=${SOURCE_ROOT}/../build\ios" | ||
export "FLUTTER_FRAMEWORK_DIR=D:\Program Files\flutter\bin\cache\artifacts\engine\ios" | ||
export "FLUTTER_FRAMEWORK_DIR=C:\FlutterSDK\flutter\bin\cache\artifacts\engine\ios" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import 'package:flutter/material.dart'; | ||
import 'package:flutter_custom_dialog/flutter_custom_dialog.dart'; | ||
|
||
YYDialog YYBottomSheetDialog() { | ||
return YYDialog().build() | ||
..gravity = Gravity.bottom | ||
..gravityAnimationEnable = true | ||
..backgroundColor = Colors.transparent | ||
..widget(Container( | ||
width: 300, | ||
height: 45, | ||
margin: EdgeInsets.only(bottom: 10), | ||
decoration: BoxDecoration( | ||
borderRadius: BorderRadius.circular(8.0), | ||
color: Colors.white, | ||
), | ||
child: Center( | ||
child: Text("Block"), | ||
), | ||
)) | ||
..widget(Container( | ||
width: 300, | ||
height: 45, | ||
margin: EdgeInsets.only(bottom: 20), | ||
decoration: BoxDecoration( | ||
borderRadius: BorderRadius.circular(8.0), | ||
color: Colors.white, | ||
), | ||
child: Center( | ||
child: Text( | ||
"cancel", | ||
style: TextStyle(color: Colors.grey[400]), | ||
), | ||
), | ||
)) | ||
..show(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.