menu
image package
documentation
image.dart
BitUtility
isPowerOf2 static method
isPowerOf2 static method
dark_mode
light_mode
isPowerOf2
static method
bool
isPowerOf2
(
int
x
)
Implementation
static bool isPowerOf2(int x) => (x & (x - 1)) == 0;
image package
documentation
image
BitUtility
isPowerOf2 static method
BitUtility class