Skip to content

Commit 4a50ade

Browse files
fix(example): migrate deprecated Material buttons to modern widgets (#16)
Co-authored-by: jihanurrahman33 <jihanurrahman33@users.noreply.github.com>
1 parent 8c4eb58 commit 4a50ade

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/lib/uiUtils.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import 'package:flutter/material.dart';
22

33
class UiUtils {
44
static Widget createButton(String name, Function callback) {
5-
return RaisedButton(
5+
return ElevatedButton(
66
onPressed: callback,
77
child: Text(name),
88
color: Colors.blue,

0 commit comments

Comments
 (0)