 getPositionForOffset(Offset offset) {
  final List&lt;int&gt; encoded = _getPositionForOffset(offset.dx, offset.dy);
  return new TextPosition(offset: encoded[0], affinity: TextAffinity.values[encoded[1]]);
}</code></pre>
    </section>

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

  <div id="dartdoc-sidebar-right" class="col-xs-6 col-sm-6 col-md-2 sidebar sidebar-offcanvas-right">
  </div><!--/.sidebar-offcanvas-->

</main>

<footer>
  <span class="no-break">
    primary_secondary_progress_bar 0.0.1
  </span>

  
</