og1_chart 0.0.4 copy "og1_chart: ^0.0.4" to clipboard
og1_chart: ^0.0.4 copied to clipboard

OG1 Chart Flutter package project.

example/lib/main.dart

import 'package:example/mocks/main_line_mock.dart';
import 'package:flutter/material.dart';
import 'package:og1_chart/og1_chart.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        home: Scaffold(
            body: Center(
      child: Og1LineChart(
        mainLine: MainLineMock.mainLineMock2,
        xAxisEnum: XAxisEnum.month,
        yAxisMetric: '\$',
        xTitlesFontSize: 15,
        yTitlesFontSize: 5,
        xInterval: 1,
      ),
    )));
  }
}
0
likes
120
pub points
0%
popularity

Publisher

unverified uploader

OG1 Chart Flutter package project.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

fl_chart, flutter, intl

More

Packages that depend on og1_chart