Skip to content

Commit

Permalink
update document and example style
Browse files Browse the repository at this point in the history
  • Loading branch information
MMMzq committed Oct 2, 2019
1 parent f7c2108 commit a998135
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## [2.0.0+2]
* Update document

## [2.0.0+1]
* Delete useless print

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ change:
MaterialApp(
title: 'BotToast Demo',
navigatorObservers: [BotToastNavigatorObserver()],
home: BotToastInit( //2.初始化BotToast
home: BotToastInit(
child: XxxxPage()
),
);
Expand Down
4 changes: 2 additions & 2 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ BotToast.showAttachedWidget(
///1.x.x版本的初始化方式
MaterialApp(
title: 'BotToast Demo',
navigatorObservers: [BotToastNavigatorObserver()],//1.注册路由观察者
navigatorObservers: [BotToastNavigatorObserver()],
home: BotToastInit( //2.初始化BotToast
child: XxxxPage()
),
Expand All @@ -142,7 +142,7 @@ MaterialApp(
BotToastInit(
child:MaterialApp(
title: 'BotToast Demo',
navigatorObservers: [BotToastNavigatorObserver()],//2.注册路由观察者
navigatorObservers: [BotToastNavigatorObserver()],
home: XxxxPage(),
)
);
Expand Down
2 changes: 1 addition & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class EnterPage extends StatelessWidget {
alignment: Alignment.topCenter,
child: SingleChildScrollView(
child: Container(
margin: EdgeInsets.only(top: 30),
margin: EdgeInsets.only(top: 5),
child: Column(children: <Widget>[
Text(
"Notification",
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ author: MMMzq<[email protected]>
homepage: https://github.com/MMMzq/bot_toast
email: [email protected]

version: 2.0.0+1
version: 2.0.0+2

environment:
sdk: ">=2.1.0 <3.0.0"
Expand Down

0 comments on commit a998135

Please sign in to comment.