INNER CODE UNIT · Dart

_ButtonState

sooxt98/google_nav_bar · lib/src/button.dart:64

class _ButtonState extends State<Button> with TickerProviderStateMixin {
  late bool _expanded;
  late final AnimationController expandController;

  @override
  void initState() {
    super.initState();
    _expanded = widget.active!;

    expandController =
        AnimationController(vsync: this, duration: widget.duration)
          ..addListener(() => setState(() {}));
  }

  @override
  void dispose() {
    expandController.dispose();

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…