skip to Main Content

I'm learning flutter to develop a college project, but I'm having problems with two errors presented when compiling the code

import 'package:flutter/material.dart'; void main() { runApp(AppMenuAbas()); } class AppMenuAbas extends StatefulWidget { @override _AppMenuAbasState createState() => _AppMenuAbasState(); } class _AppMenuAbasState extends State<AppMenuAbas> with SingleTickerProviderStateMixin { TabController _tabController; bool _isCollapsed = true; @override void initState() { super.initState(); _tabController = TabController(vsync: this,…

VIEW QUESTION

Android Studio – How can I implement another action after the animation has ended? – Java

Can anyone help? ===================================================== I tried like this: Animation zoom, zoom_out; zoomAnimation(); private void zoomAnimation() { zoom= AnimationUtils.loadAnimation(this,R.anim.fast_zoomin); avatar.startAnimation(zoom); //question if (zoom.hasEnded()){ zoomoutAnimation(); } //question } private void zoomoutAnimation() { zoom_out= AnimationUtils.loadAnimation(this,R.anim.fast_zoomout); avatar.startAnimation(zoom_out); }

VIEW QUESTION
Back To Top
Search