Nate 6b383615c6
Enhanced enum features for AnimationStatus (#147801)
Based on issue #147799, this pull request adds two `AnimationStatus` getters.

```dart
bool get isRunning => switch (this) {
  forward   || reverse   => true,
  completed || dismissed => false,
};

bool get aimedForward => switch (this) {
  forward || completed => true,
  reverse || dismissed => false,
};
```

I also added a `.toggle()` method for animation controllers that makes use of `aimedForward`.
2024-05-16 17:57:53 +00:00
..
2024-05-06 17:47:37 +00:00
2024-04-22 16:49:19 +00:00
2024-05-08 23:12:47 +00:00
2024-05-15 16:52:17 -07:00