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

A customizable signature pad widget for Flutter with support for PNG, JPG, and PDF export formats. Features configurable dimensions, stroke customization, undo/clear operations, and cross-platform com [...]

Changelog #

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.0.0 - 2025-08-02 #

Added #

  • Initial release of flutter_signature package
  • SignaturePad widget for capturing signatures with touch input
  • SignatureController for managing signature state and operations
  • SignaturePainter custom painter for rendering signature strokes
  • Export functionality for multiple formats:
    • PNG format (lossless compression with transparency support)
    • JPG format (lossy compression for smaller file sizes)
    • PDF format (vector-based, scalable documents)
  • Customizable signature pad dimensions (width and height)
  • Stroke customization options:
    • Stroke color configuration
    • Stroke width adjustment
    • Background color settings
  • Signature editing capabilities:
    • Clear all strokes
    • Undo last stroke operation
  • SignatureUtils utility class with helper methods:
    • Save signatures to device storage
    • Get signature bytes for network operations
    • Validate dimensions and generate filenames
  • SignatureExportFormat enum for type-safe format selection
  • Comprehensive example application demonstrating all features
  • Full documentation with API reference and usage examples
  • Support for all Flutter platforms (Android, iOS, Web, Windows, macOS, Linux)

Features #

  • Smooth signature drawing with gesture detection
  • Real-time signature rendering
  • Memory-efficient stroke storage
  • Customizable UI styling with BoxDecoration support
  • Callback functions for signature events (start, change, end)
  • Error handling for export operations
  • Automatic file naming with timestamps
  • Custom directory path support for file saving

Dependencies #

  • pdf: ^3.10.4 for PDF generation and export
  • path_provider: ^2.1.1 for accessing device file system

Platform Requirements #

  • Flutter SDK: >=3.0.0
  • Dart SDK: >=3.0.0
  • Minimum platform versions as per Flutter framework requirements
3
likes
140
points
32
downloads

Documentation

API reference

Publisher

verified publisherdiwakardhamala.com.np

Weekly Downloads

A customizable signature pad widget for Flutter with support for PNG, JPG, and PDF export formats. Features configurable dimensions, stroke customization, undo/clear operations, and cross-platform compatibility.

License

MIT (license)

Dependencies

flutter, path_provider, pdf

More

Packages that depend on flutter_signature