FormRule.url constructor

const FormRule.url({
  1. String? message,
  2. bool warningOnly = false,
})

The value has to look like a web address.

Implementation

const FormRule.url({String? message, bool warningOnly = false})
    : this._(_Check.url, message: message, warningOnly: warningOnly);