問題タブ [custom-painting]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
0 に答える
97 参照

flutter - Flutter でレンダリングされたすべての単語のボックスのリスト

レンダリングするすべての単語を含むボックスのリストを取得するにはどうすればよいですか? ユーザーがどの単語を長くクリックしているかを判断するために必要ですか? 言い換えれば、以下のコードでgetBoxesForRangeを使用できるように、 maxRangeをどのように見つけることができ ますか?

私のコード: