Just to clarify, Why not have the best of both worlds, no method and no extra widget. Just create a const for the bit that doesn’t change earlier in the class. Why bother with an extra class and widget (naturally it “may” be more suitable in another class, but it may not) ?

GitHub-flavored Markdown & a sane subset of HTML is supported.