cricket_run_map 1.0.1 copy "cricket_run_map: ^1.0.1" to clipboard
cricket_run_map: ^1.0.1 copied to clipboard

An Awesome Flutter package to create a Wagon Wheel / Run Map widget for Cricket applications.

An Awesome Flutter package to create a Wagon Wheel / Run Map widget for Cricket applications.

Getting started #

To use this package, first download it using the following command:

flutter pub add cricket_run_map
copied to clipboard

And run:

flutter pub get
copied to clipboard

Finally,

import 'package:cricket_run_map/cricket_run_map.dart';
copied to clipboard

Usage #

Now you will be able to use the CricketRunMap widget in your build method:

CricketRunMap(
  width: 350,
  height: 350,
  isRightHand: true, // True = Right Hand Batsman  |  False = Left Hand Batsman
  onPositionSelected: (String selectedPosition) {
    // Handle the selected position name here
    print('Selected position index: $selectedPosition');
  },
)
copied to clipboard

This will give you the following UI:

Additional information #

Additional features are slated for integration in forthcoming updates, enhancing the functionality and usability of the platform. For customization or further refinement to align with specific preferences, please refer to the GitHub repository provided: https://github.com/akshatbhuhagal/cricket_run_map

2
likes
150
points
28
downloads

Publisher

unverified uploader

Weekly Downloads

2024.07.04 - 2025.01.16

An Awesome Flutter package to create a Wagon Wheel / Run Map widget for Cricket applications.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on cricket_run_map