 <h2><span>Implementation</span></h2>
  <pre class="language-dart"><code class="language-dart">List&lt;Widget&gt; buildActions(context) {
  List&lt;Widget&gt; actions = [];
  actions.add(createActionButton(context, StyleMyFile.textActionCancel));
  actions.add(createActionButton(
    context,
    StyleMyFile.textActionDelete,
    onDeleteFile: () =&gt; onPressed(),
  ));
  return actions;
}</code></pre>
</section>


  </div> <!-- /.main-content -->

  <div id="dartdoc-sidebar-left" class="sidebar sidebar-of