build method

  1. @override
Widget build(
  1. BuildContext context
)
override

Build the widget.

Implementation

@override
Widget build(final BuildContext context) {
  final actionNames = actions.map((final action) => action.name).toList();
  return PerformableActionsBuilder(
    actions: actions,
    builder: (final builderContext, final controller) => Row(
      crossAxisAlignment: CrossAxisAlignment.start,
      mainAxisAlignment: MainAxisAlignment.spaceAround,
      children: [
        child,
        FocusScope(
          canRequestFocus: false,
          debugLabel: 'More options for actions [$actionNames].',
          child: buttonBuilder(builderContext, controller),
        ),
      ],
    ),
  );
}