menu
image_v3 package
documentation
image_v3.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_v3 package
documentation
image_v3
BitUtility
isPowerOf2 static method
BitUtility class