pendart 0.3.0
pendart: ^0.3.0 copied to clipboard
A Flutter package for editing and rendering Pendart markup - a lightweight markup language directly converted to Flutter widgets without HTML intermediary
0.3.0 #
- Added support for consumer ThemeData in editor and preview components
- Improved theming with automatic dark/light mode detection based on parent theme
- Replaced hardcoded isDarkMode flag with intelligent theme detection
- Enhanced accessibility by using theme colors for text, backgrounds and icons
- Updated example app to demonstrate theme switching functionality
- Fixed text field styling to properly use theme-appropriate colors
0.2.0 #
- Added support for secure URL validation for links and images
- Implemented URL security checks to prevent XSS attacks
- Added validation for image formats (apng, bmp, gif, ico, jpg, jpeg, png, svg)
- Added language detection for code blocks (C, C++, and more)
- Added support for formatting tokens (bold, italic, strikethrough, underline)
- Added support for checkbox tokens with checked/unchecked states
- Added support for heading tokens
- Improved error handling for non-secure and potentially unsafe URLs
- Added image source handling for both URL and base64 encoded images