chore: Update SDK
This commit is contained in:
parent
be6b12444f
commit
28c5c8211f
5 changed files with 6 additions and 4 deletions
|
|
@ -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 ?? () {},
|
||||
);
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue