Normal counterScreen code inside that widget add another childer which is ExpensiveWidget now instead of using setState() use any other state management to update the counter value ? because expensive widget is not needed to rebuild when the counter value is updated ?
#widget#state
Answer coming soon! This question is part of our growing collection. Check back later for a detailed answer.