Skip to content

Commit

Permalink
Change button to ElevatedButton
Browse files Browse the repository at this point in the history
  • Loading branch information
ChangJoo-Park committed Mar 10, 2021
1 parent 6b68f90 commit 1e062e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@ class _MyAppState extends State<MyApp> {
body: Center(
child: Column(
children: <Widget>[
RaisedButton(
ElevatedButton(
child: Text("START"),
onPressed: () {
startForegroundService();
},
),
RaisedButton(
ElevatedButton(
child: Text("STOP"),
onPressed: () async {
await FlutterForegroundPlugin.stopForegroundService();
},
),
RaisedButton(
ElevatedButton(
child: Text("Force Crash"),
onPressed: () {
exit(1);
Expand Down

0 comments on commit 1e062e3

Please sign in to comment.