Skip to content

Instantly share code, notes, and snippets.

@SandroMaglione
Created February 15, 2020 09:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SandroMaglione/11d8042ab1eebafad5cc55a89ba71d9c to your computer and use it in GitHub Desktop.
Save SandroMaglione/11d8042ab1eebafad5cc55a89ba71d9c to your computer and use it in GitHub Desktop.
import 'package:flutter/material.dart';
class FlutterAnimations extends StatefulWidget {
@override
_FlutterAnimationsState createState() => _FlutterAnimationsState();
}
class _FlutterAnimationsState extends State<FlutterAnimations>
with SingleTickerProviderStateMixin {
AnimationController _controller;
@override
void initState() {
super.initState();
// Initialize here
}
@override
void dispose() {
super.dispose();
_controller.dispose();
}
@override
Widget build(BuildContext context) {
return Scaffold(
body: Container(),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment