hex top-level property

RegExp hex
final

Implementation

final hex = RegExp(r'^[0-9a-fA-F]+$');