resolveWith static method Null safety

MaterialStateOutlineInputBorder resolveWith(
  1. MaterialPropertyResolver<InputBorder> callback
)
override

Creates a MaterialStateOutlineInputBorder from a MaterialPropertyResolver<InputBorder> callback function.

If used as a regular input border, the border resolved in the default state (the empty set of states) will be used.

The given callback parameter must return a non-null text style in the default state.

Implementation

static MaterialStateOutlineInputBorder resolveWith(MaterialPropertyResolver<InputBorder> callback) =>
    _MaterialStateOutlineInputBorder(callback);