Tablet layout
This commit is contained in:
parent
2948afac4d
commit
b097682ffa
|
|
@ -33,10 +33,7 @@ class DismissibleEntity extends StatelessWidget {
|
|||
|
||||
final localization = AppLocalization.of(context);
|
||||
|
||||
return SelectedIndicator(
|
||||
isSelected: isSelected,
|
||||
child: Slidable(
|
||||
child: child,
|
||||
return Slidable(
|
||||
delegate: SlidableDrawerDelegate(),
|
||||
key: Key(entity.entityKey + Random().nextInt(100000).toString()),
|
||||
actions: <Widget>[
|
||||
|
|
@ -59,7 +56,7 @@ class DismissibleEntity extends StatelessWidget {
|
|||
caption: localization.more,
|
||||
color: Colors.black45,
|
||||
foregroundColor: Colors.white,
|
||||
icon: Icons.more_horiz,
|
||||
icon: Icons.more_vert,
|
||||
onTap: () => onEntityAction(EntityAction.more),
|
||||
),
|
||||
],
|
||||
|
|
@ -80,6 +77,9 @@ class DismissibleEntity extends StatelessWidget {
|
|||
onTap: () => onEntityAction(EntityAction.delete),
|
||||
),
|
||||
],
|
||||
child: SelectedIndicator(
|
||||
isSelected: isSelected,
|
||||
child: child,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue