cristalyse 1.8.0
cristalyse: ^1.8.0 copied to clipboard
Cristalyse is a high-performance data visualization library for Dart/Flutter that implements grammar of graphics principles with native rendering capabilities.
import 'package:flutter/material.dart';
import 'router/app_router.dart';
void main() {
runApp(const CristalyseExampleApp());
}
class CristalyseExampleApp extends StatelessWidget {
const CristalyseExampleApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp.router(
title: 'Cristalyse - Grammar of Graphics for Flutter',
debugShowCheckedModeBanner: false,
theme: ThemeData(
primarySwatch: Colors.blue,
fontFamily: 'SF Pro Display',
useMaterial3: true,
colorScheme: ColorScheme.fromSeed(
seedColor: const Color(0xFF2563EB),
brightness: Brightness.light,
),
),
darkTheme: ThemeData(
fontFamily: 'SF Pro Display',
useMaterial3: true,
colorScheme: ColorScheme.fromSeed(
seedColor: const Color(0xFF3B82F6),
brightness: Brightness.dark,
),
),
routerConfig: AppRouter.router,
);
}
}