TreeAnimationStyle constructor
const
TreeAnimationStyle({
- TreeAnimationSpec expandCollapse = defaultSpec,
- TreeAnimationSpec? enterExit,
- TreeAnimationSpec reorderSlide = defaultSpec,
- TreeAnimationSpec? makeRoom,
- TreeAnimationSpec? dropSettle,
Builds a style from per-family specs. Leaving enterExit,
makeRoom or dropSettle null is NOT the same as passing a copy of
the family it falls back to: null keeps it inheriting, so a later
restyle of the root family carries through to it.
Implementation
const TreeAnimationStyle({
this.expandCollapse = defaultSpec,
TreeAnimationSpec? enterExit,
this.reorderSlide = defaultSpec,
TreeAnimationSpec? makeRoom,
TreeAnimationSpec? dropSettle,
}) : _enterExit = enterExit,
_makeRoom = makeRoom,
_dropSettle = dropSettle;