isShown property

  1. @override
bool? get isShown
override

Controls the visibility of the component.

  • When set to true - the component will begin to transition into a visible state.
  • When set to false - the component will begin to transition into a hidden state.

Default: false

See: WithTransition for example usage.

Implementation

@override
bool? get isShown =>
    (props[_$key__isShown__WithTransitionPropsMixin] ?? null) as bool?;
  1. @override
set isShown (bool? value)
override

Controls the visibility of the component.

  • When set to true - the component will begin to transition into a visible state.
  • When set to false - the component will begin to transition into a hidden state.

Default: false

See: WithTransition for example usage.

Implementation

@override
set isShown(bool? value) =>
    props[_$key__isShown__WithTransitionPropsMixin] = value;