solandra 0.0.4 solandra: ^0.0.4 copied to clipboard
Make drawing with Flutter concise, powerful and easy. 2D creative code/algorithmic art framework with helpers for creating shapes, iteration, (pseudo)randomness and more.
import 'package:example/examples.dart';
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.amber,
// Workaround for bug in 2.5 Desktop (see https://github.com/flutter/flutter/issues/88221 ):
pageTransitionsTheme: const PageTransitionsTheme(
builders: <TargetPlatform, PageTransitionsBuilder>{
TargetPlatform.android: FadeUpwardsPageTransitionsBuilder(),
TargetPlatform.iOS: CupertinoPageTransitionsBuilder(),
TargetPlatform.linux: FadeUpwardsPageTransitionsBuilder(),
TargetPlatform.macOS: CupertinoPageTransitionsBuilder(),
TargetPlatform.windows: FadeUpwardsPageTransitionsBuilder(),
},
)),
routes: routes(),
// showPerformanceOverlay: true,
debugShowCheckedModeBanner: false,
);
}
}