# Graph Calculator Package

A Flutter package for creating interactive and customizable graphs in your Flutter applications.

## Features

- Plot mathematical functions on a graph.
- Customize graph appearance, including colors, grid settings, and more.
- Easily integrate graphs into your Flutter apps.

## Installation

```
flutter pub add graph_calculator
```

## Usage

```
import 'package:flutter/material.dart';
import 'package:graph_calculator/controllers/graph_controller.dart';
import 'package:graph_calculator/models/models.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: Text('Graph Calculator Example'),
),
body: Center(
child: GraphWidget(
graphController: GraphController(graph: Graph()),
),
),
),
);
}
}
```

For detailed usage instructions and examples, please check out the example provided in this package.

## Customization

You can customize various aspects of the graph, such as colors, grid settings, and more, by configuring the `Graph`

class and the `GraphController`

.

```
GraphController(
graph: Graph(
gridStep: 50,
backgroundColor: Colors.blueGrey,
axesColor: Colors.white,
gridColor: Colors.grey,
gridWidth: 1.0,
axesWidth: 2.0,
drawAxes: true,
drawNumbers: true,
),
);
```

## Contributions

Contributions and feedback are welcome! If you have any suggestions or find issues, please feel free to create an issue or submit a pull request.

## License

This package is open-source and available under the MIT License.

## Libraries

- controllers/controllers
- controllers/graph_controller
- This file defines a GraphController class for controlling a graph in a Flutter app.
- flutter_graph_calculator
- models/drawable_object
- models/graph
- models/graph_function
- models/graph_line
- models/graph_offset
- models/graph_text
- models/models
- widgets/graph_widget
- widgets/widgets