funcCreateMockWidgetState property

MockWidgetStateBase Function()? funcCreateMockWidgetState
final

Returns a custom class that:

  • Extends MockWidgetStateBase.
  • Implements an interface (i.e. abstract class) that the mocked widget extends.
  • Provides any special behaviors necessary to mock the behavior of the hosted widget that the host widget depends on.

Implementation

final MockWidgetStateBase Function()? funcCreateMockWidgetState;