flutter_math_fork 0.3.3+1 flutter_math_fork: ^0.3.3+1 copied to clipboard
Fast and high-quality TeX math equation rendering with pure Dart & Flutter.
import 'package:flutter/material.dart';
import 'demo.dart';
import 'equations.dart';
import 'feature.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) => MaterialApp(
title: 'Flutter Math Demo v0.2.0',
theme: ThemeData(
primarySwatch: Colors.blue,
visualDensity: VisualDensity.adaptivePlatformDensity,
),
home: DefaultTabController(
length: 3,
child: Scaffold(
appBar: AppBar(
title: Text(
'Flutter Math Demo v0.2.0',
),
bottom: TabBar(tabs: [
Text('Interactive Demo'),
Text('Equation Samples'),
Text('Supported Features'),
]),
),
body: TabBarView(children: [
DemoPage(),
EquationsPage(),
FeaturePage(),
]),
),
),
);
}