import 'package:flutter/material.dart'; /// The Runs tab's New run action: an extended floating button that opens the /// pipeline picker. It is labelled, so it needs no tooltip of its own. class NewRunButton extends StatelessWidget { const NewRunButton({super.key, required this.onPressed}); final VoidCallback onPressed; @override Widget build(BuildContext context) => FloatingActionButton.extended( key: const Key('runs-new-run'), onPressed: onPressed, icon: const Icon(Icons.add), label: const Text('New run'), ); }