how to use variable if it has null value flutter code example Example: flutter check if any variable is null int a; int b = 1; print([a,b].every((v) => v != null));