matrix_input 1.0.0 matrix_input: ^1.0.0 copied to clipboard
A package that leverages on the power of flutter widgets to display data in matrix form.
matrix_input #
A package that leverages on the power of flutter widgets to display data in matrix form.
Getting Started #
Instead of hard coding the widgets to represent matrices, let this package make life bearable for you!
Features #
Use this package in your flutter app to:
- Place data i.e. numbers in matrix form.
- Perform arithmetic operations.
- Build puzzles which requires numbers displayed in matrix form.
- Teach i.e. perfect squares.
Setup #
Import it in your project:
import 'package:matrix_input/matrix_input.dart';
Usage Examples #
- 1x3 Matrix
class _MatrixState extends State
@override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text('matrix_input'), ), body: Center( child: Row( mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center, children:
- 3x3 Matrix
- 4x4 Matrix
- 5x5 Matrix
Most importantly, bundle it in either a row or column.
Note: the "matrixController" is required. Just like a normal TextEditingController.
Thus, declare your TextEditingController textEditingController;
Make sure to initialize it in the init() section. Refer to example folder.