afterFirstLayout method
Implementation
void afterFirstLayout(BuildContext context) {
try {
height = context.size!.height;
width = context.size!.width;
} catch (e) {
if (kDebugMode) {
print(e.toString());
}
}
}
void afterFirstLayout(BuildContext context) {
try {
height = context.size!.height;
width = context.size!.width;
} catch (e) {
if (kDebugMode) {
print(e.toString());
}
}
}