actions property
Widget?
get
actions
Implementation
Widget? get actions {
final actionsList = options.actions;
if (actionsList == null || actionsList.length == 0) return null;
return Flex(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisSize: MainAxisSize.max,
direction: Axis.horizontal,
children: actionsList
.map(
(button) => Flexible(
flex: 1,
child: Padding(
padding: EdgeInsets.symmetric(horizontal: 5),
child: button,
),
),
)
.toList(),
);
}