when method
Determines whether the selected breakpoint matches the current screen size.
Returns true if the breakpoint resolved from token matches the screen
size obtained from the context, and false otherwise.
Implementation
@override
bool when(BuildContext context) {
final size = context.screenSize;
final selectedbreakpoint = token.resolve(context);
return selectedbreakpoint.matches(size);
}