pattern property

RegExp pattern
final

Implementation

static final RegExp pattern = RegExp(
    r'^\s*((?:-?\d+(?:\.\d+)?|-?\.\d+)(?:\%|\w+)?)?'
    r'\s*(dotted|dashed|solid|double|groove|ridge|inset|outset|none|hidden)'
    r'(?:\s+(rgba?\(.*?\)|\#[0-9a-f]{3,8}|\w{3,}))?\s*$',
    multiLine: false,
    caseSensitive: false);