apex_dart 0.0.1 apex_dart: ^0.0.1 copied to clipboard
Apex Dart - Cross-Platform Chart Library for Flutter
import 'package:flutter/material.dart';
import 'dart:async';
import 'package:flutter/services.dart';
import 'package:apex_dart/apex_dart.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: const Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Expanded(
child: ApexDart(),
),
],
),
floatingActionButton: FloatingActionButton(
child: const Icon(Icons.add),
onPressed: () async {
print("object");
// webViewController.callJsMethod("updateOptions", []);
},
)
),
);
}
}