ObscureStyle constructor

ObscureStyle({
  1. bool isTextObscure = false,
  2. String obscureText = '*',
})

Implementation

ObscureStyle({
  this.isTextObscure: false,
  this.obscureText: '*',
})  :

      /// Not allowed empty string and multiline string.
      assert(obscureText.length > 0),
      assert(obscureText.indexOf(_wrapLine) == -1);