Skip to content

Instantly share code, notes, and snippets.

@felipecastrosales
Last active January 15, 2021 19:11
Show Gist options
  • Save felipecastrosales/f94d70e9ccbc4746ded9e7f9d39e4edd to your computer and use it in GitHub Desktop.
Save felipecastrosales/f94d70e9ccbc4746ded9e7f9d39e4edd to your computer and use it in GitHub Desktop.
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Stack(
children: [
Positioned(
right: 25,
bottom: 100,
child: MyWidget(),
),
],
),
);
}
}
class MyWidget extends StatelessWidget {
@override
Widget build(BuildContext context) {
return FlutterLogo(
size: MediaQuery.of(context).size.height * .25,
);
}
}
@felipecastrosales
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment