flutter_edgar_sec
Package to get data from https://www.sec.gov/edgar/
Installation
Add this to your package's pubspec.yaml file:
dependencies:
flutter_edgar_sec: ^0.0.1
Usage
After adding the dependency, you can use the package in your code by just adding an EdgarTableUI:
import 'package:flutter_edgar_sec/flutter_edgar_sec.dart';
EdgarTableUI(
symbol: 'AAPL',
)
You can also try the CompanyChartUI:
import 'package:flutter_edgar_sec/flutter_edgar_sec.dart';
CompanyChartUI(
symbol: 'AAPL',
),
Using just to get the data
You can also use the package just to get the data:
import 'package:flutter_edgar_sec/flutter_edgar_sec.dart';
final CompanyResults results = await EdgarSecService.getFinancialStatementsForSymbol('AAPL');
Like us on pub.flutter-io.cn
Package url: https://pub.flutter-io.cn/packages/flutter_edgar_sec
Contributing
If you want to contribute to this project, please fork it and submit a pull request: https://github.com/ivofernandes/flutter_edgar_sec