CrankUpIT: Data Filter (Dart)

The Sovereign Data Sieve for Flutter and Dart. Mirrors the Volkrex PHP and JS implementations.


I. Overview

The Dart Data Filter completes the Trinity of the CrankUpIT data architecture. It ensures that mobile applications running on Flutter provide the same "Atomic Bit" sanitization as our server and web gateways.

II. Features

  • Logic Symmetry: 1:1 match with @crankupit/data-filter (JS) and crankupit/php-data-filter.
  • Flutter Ready: Perfect for TextFormField validation and onChanged sanitization.
  • Offline First: Clean data on the device before it ever reaches the network.

III. Installation

Add this to your pubspec.yaml:

dependencies:
    crankupit_data_filter: ^1.0.0

IV. Usage

import 'package:crankupit_data_filter/dart_data_filter.dart';

final sanitizer = Sanitizer();
final cleaned = sanitizer.handle(rawData, fieldMappings, globalRules);

V. Sovereign Notice

Managed by Volkrex Inc. For private support or stable enterprise versions, contact Volkrex Private Limited.


File 6: The Public Export

Dart needs an entry point file to expose your internal logic to other developers.

Path: lib/dart_data_filter.dart

library dart_data_filter;

export 'src/services/sanitizer.dart';
export 'src/traits/string_filters.dart';