When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:
main {
max-width: 38rem;
padding: 2rem;
margin: auto;
}
// Import MaterialApp and other widgets which we can use to quickly create a material app | |
import 'package:flutter/material.dart'; | |
// Code written in Dart starts exectuting from the main function. runApp is part of | |
// Flutter, and requires the component which will be our app's container. In Flutter, | |
// every component is known as a "widget". | |
void main() => runApp(new TodoApp()); | |
// Every component in Flutter is a widget, even the whole app itself | |
class TodoApp extends StatelessWidget { |
#!/usr/bin/env python | |
# | |
# Usage: python extract_scene.py -p [filename] [classname] | |
# eg: python extract_scene.py -p examples.py DrawCircle | |
# | |
import math | |
import numpy as np |