Skip to content

Commit 2c47e00

Browse files
authored
Replaced the deprecated RaisedButton with the equivalent ElevatedButton. (#127)
1 parent eaad0e7 commit 2c47e00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ void main() {
6868
});
6969
7070
dashbook
71-
.storiesOf('RaisedButton')
71+
.storiesOf('ElevatedButton')
7272
.decorator(CenterDecorator())
73-
.add('default', (ctx) => RaisedButton(child: Text('Ok'), onPressed: () {}));
73+
.add('default', (ctx) => ElevatedButton(child: Text('Ok'), onPressed: () {}));
7474
7575
// Since dashbook is a widget itself, you can just call runApp passing it as a parameter
7676
runApp(dashbook);

0 commit comments

Comments
 (0)