Skip to main content

bodyheatmap 1.0.0 copy "bodyheatmap: ^1.0.0" to clipboard
bodyheatmap: ^1.0.0 copied to clipboard

Interactive human body heatmap widget for Flutter. Perfect for fitness, health, and medical apps to track body parts with customizable intensity visualization.

example/bodyheatmap_example.dart

import 'package:flutter/material.dart';
import 'package:bodyheatmap/bodyheatmap.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('Body Heatmap Example')),
        body: Center(
          child: BodyHeatmap(
            selectedParts: const {
              'front-head': 3,
              'front-chest-left': 2,
              'front-chest-right': 2,
              'front-arm-left': 1,
            },
            baseColor: Colors.red,
            width: 300,
            showLegend: true,
            intensityLevels: 3,
            onPartTap: (part) {
              print('Tapped: $part');
            },
          ),
        ),
      ),
    );
  }
}
0
likes
130
points
68
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Interactive human body heatmap widget for Flutter. Perfect for fitness, health, and medical apps to track body parts with customizable intensity visualization.

License

MIT (license)

Dependencies

flutter, flutter_svg, svg_path_parser

More

Packages that depend on bodyheatmap