termare_view 0.0.2 termare_view: ^0.0.2 copied to clipboard
A new Flutter package project.
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:termare_view/termare_view.dart';
void main() {
runApp(
MaterialApp(
home: Example(),
),
);
WidgetsFlutterBinding.ensureInitialized();
SystemChrome.setSystemUIOverlayStyle(const SystemUiOverlayStyle(
statusBarColor: Colors.transparent,
systemNavigationBarColor: Colors.transparent,
systemNavigationBarDividerColor: Colors.transparent,
));
}
class Example extends StatefulWidget {
@override
_ExampleState createState() => _ExampleState();
}
class _ExampleState extends State<Example> {
TermareController controller = TermareController(
showBackgroundLine: true,
);
@override
void initState() {
super.initState();
controller.write('hello termare_view');
SequencesTest.testC0(controller);
SequencesTest.testC0(controller);
SequencesTest.testC0(controller);
SequencesTest.testC0(controller);
SequencesTest.testC0(controller);
SequencesTest.testC0(controller);
}
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.white,
body: TermareView(
controller: controller,
),
);
}
}