diff --git a/example/lib/InnerSwiper.dart b/example/lib/InnerSwiper.dart index ccf32a6..5fe0fea 100644 --- a/example/lib/InnerSwiper.dart +++ b/example/lib/InnerSwiper.dart @@ -64,7 +64,7 @@ class _InnerSwiperState extends State { ), height: 300.0, ), - new RaisedButton( + new ElevatedButton( onPressed: () { setState(() { autoplayes[index] = true; @@ -72,7 +72,7 @@ class _InnerSwiperState extends State { }, child: new Text("Start autoplay"), ), - new RaisedButton( + new ElevatedButton( onPressed: () { setState(() { autoplayes[index] = false; diff --git a/example/lib/src/ExampleCustom.dart b/example/lib/src/ExampleCustom.dart index 3b65a43..b1575b9 100644 --- a/example/lib/src/ExampleCustom.dart +++ b/example/lib/src/ExampleCustom.dart @@ -154,13 +154,13 @@ class _ExampleCustomState extends State { new Text("Index:$_currentIndex"), new Row( children: [ - new RaisedButton( + new ElevatedButton( onPressed: () { _controller.previous(animation: true); }, child: new Text("Prev"), ), - new RaisedButton( + new ElevatedButton( onPressed: () { _controller.next(animation: true); }, @@ -170,7 +170,7 @@ class _ExampleCustomState extends State { child: new TextField( controller: numberController, )), - new RaisedButton( + new ElevatedButton( onPressed: () { var text = numberController.text; setState(() { diff --git a/example/lib/src/forms/form_widget.dart b/example/lib/src/forms/form_widget.dart index 2cba7de..859718d 100644 --- a/example/lib/src/forms/form_widget.dart +++ b/example/lib/src/forms/form_widget.dart @@ -85,7 +85,7 @@ class _FormSelectState extends State { ), ), new Center( - child: new RaisedButton( + child: new ElevatedButton( onPressed: () { if (_selectedIndex >= 0) { widget