From a695b4a34e293e658350d4e8d891e150526cee9b Mon Sep 17 00:00:00 2001 From: Im-Kevin <468561207@qq.com> Date: Sat, 27 Oct 2018 11:38:54 +0800 Subject: [PATCH] Update README.md --- README.md | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8f52882..d568e22 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,34 @@ Usage Add this to your package's pubspec.yaml file: ``` yaml dependencies: - cool_ui: "^0.1.6" + cool_ui: "^0.0.7" ``` ## CupertinoPopover 浠縤OS鐨刄IPopover - + + +#### 妗堜緥鏍稿績浠g爜 +```dart +CupertinoPopoverButton( + child: Container( + margin: EdgeInsets.all(20.0), + width: 80.0, + height: 40.0, + decoration: BoxDecoration( + color: Colors.white, + borderRadius: BorderRadius.all(Radius.circular(5.0)), + boxShadow: [BoxShadow(color: Colors.black12,blurRadius: 5.0)] + ), + child: Center(child:Text('宸︿笂瑙�')), + ), + popoverBody:Container( + width: 100.0, + height: 100.0, + child: Text('宸︿笂瑙掑唴瀹�'), + ), + popoverWidth: 100.0, + popoverHeight: 100.0); + } +``` -- 2.17.1