isHandset property
bool
get
isHandset
This is a helper to determine if we are on a handset or not, which is defined as any size phone or watch
Implementation
bool get isHandset =>
device == LayoutClass.smallHandset ||
device == LayoutClass.mediumHandset ||
device == LayoutClass.largeHandset ||
device == LayoutClass.largeWatch ||
device == LayoutClass.smallWatch;