dynamicHeight property
double
get
dynamicHeight
Implementation
double get dynamicHeight {
double screenHeight = SizeConfig.screenHeight as double;
// 812 is the layout height that designer use
return (this! / 585) * screenHeight;
}