Skip to content

Commit

Permalink
Replace deprecated widget
Browse files Browse the repository at this point in the history
  • Loading branch information
Mushaheed Syed committed Mar 7, 2021
1 parent c05deed commit 878dda5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/creamy_field/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class _MyEditorAppState extends State<MyEditorApp> {
appBar: new AppBar(
title: new Text("Rich Code Editor"),
actions: <Widget>[
FlatButton(
TextButton(
child: Text('Add tab'),
onPressed: () {
// Adds a tab at the selection's base base-offet
Expand Down

0 comments on commit 878dda5

Please sign in to comment.