termare_view 0.0.2 copy "termare_view: ^0.0.2" to clipboard
termare_view: ^0.0.2 copied to clipboard

outdated

A new Flutter package project.

example/lib/main.dart

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,
      ),
    );
  }
}
7
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A new Flutter package project.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection, flutter, quiver

More

Packages that depend on termare_view