I wonder if Inherited widget is more performant then using Singleton
More performant than Singleton, no. But they are pretty fast, (O(1) + a constant factor) so the difference is almost non-existent.
But besides performance, there are a couple of strong points that Singletons do not have.
They:
Most helpful comment
More performant than Singleton, no. But they are pretty fast, (O(1) + a constant factor) so the difference is almost non-existent.
But besides performance, there are a couple of strong points that Singletons do not have.
They: