Switch to extended floating action button
This commit is contained in:
parent
dcd05b53b4
commit
f8612b9bc3
2 changed files with 4 additions and 3 deletions
|
|
@ -22,7 +22,8 @@ class WoolScreen extends StatelessWidget {
|
|||
} else {
|
||||
// Hier können Sie den Inhalt basierend auf den geladenen Daten anzeigen
|
||||
return Scaffold(
|
||||
floatingActionButton: FloatingActionButton(
|
||||
floatingActionButton: FloatingActionButton.extended(
|
||||
label: Text("Hinzufügen"),
|
||||
onPressed: () {
|
||||
showModalBottomSheet(
|
||||
isScrollControlled: true,
|
||||
|
|
@ -33,7 +34,7 @@ class WoolScreen extends StatelessWidget {
|
|||
},
|
||||
);
|
||||
},
|
||||
child: Icon(Icons.add),
|
||||
icon: Icon(Icons.add),
|
||||
),
|
||||
body: Column(
|
||||
children: [
|
||||
|
|
|
|||
Reference in a new issue