chore: Update SDK

This commit is contained in:
Christian Pauly 2022-02-14 09:25:29 +01:00
commit 28c5c8211f
5 changed files with 6 additions and 4 deletions

View file

@ -18,7 +18,7 @@ class CupertinoWidgetsBottomSheet extends StatelessWidget {
(widget) => Link(
builder: (context, callback) {
return CupertinoActionSheetAction(
child: Text(widget.name),
child: Text(widget.name ?? widget.url),
onPressed: callback ?? () {},
);
},

View file

@ -23,7 +23,7 @@ class WidgetsBottomSheet extends StatelessWidget {
return Link(
builder: (context, callback) {
return ListTile(
title: Text(widget.name),
title: Text(widget.name ?? widget.url),
subtitle: Text(widget.type),
onTap: callback,
);