Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
class MyHomePage extends StatefulWidget {
const MyHomePage({Key? key}) : super(key: key);
State<MyHomePage> createState() => _MyHomePageState();
class _MyHomePageState extends State<MyHomePage> with TickerProviderStateMixin {
Widget build(BuildContext context) {
return Scaffold(
body: Stack(
children: [
fit: BoxFit.cover,
height: double.infinity,
width: double.infinity,
offset: const Offset(180.0, 100.0),
child: Image.asset(
height: 70,
width: 70,
fit: BoxFit.contain,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment