INNER CODE UNIT · Dart
Box
afgprogrammer/Flutter-examples · lib/pages/animated_container.dart:3
class Box extends StatefulWidget {
const Box({ Key? key }) : super(key: key);
@override
_BoxState createState() => _BoxState();
}
class _BoxState extends State<Box> with SingleTickerProviderStateMixin {
late AnimationController _controller;
double width = 50;
double height = 50;
@override
void initState() {
_controller = AnimationController(
duration: const Duration(milliseconds: 5000),
vsync: this,