isDefault property
bool
isDefault
checks whether current theme is default theme or not. Default theme refers to he themes provided at the time of initialization of MaterialApp.
Implementation
bool get isDefault;