Need to implement text on a card to be copiable. I am facing issue of toDouble null using SelectableText widget in my code.
The following assertion was thrown during performLayout():
'package:flutter/src/rendering/[login to view URL]': Failed assertion: line 1692 pos 18: 'debugDoingThisResize || debugDoingThisLayout ||
([login to view URL] == parent && _size._canBeUsedByParent)': is not true.
The method 'toDouble' was called on null.
Tried calling: toDouble()
User-created ancestor of the error-causing widget was: