oh_my_flutter 0.1.0
oh_my_flutter: ^0.1.0 copied to clipboard
Focused Flutter utilities for colors, time, gestures, connectivity, telephony, and WhatsApp links.
oh_my_flutter #
Focused, strongly typed utilities for everyday Flutter applications: relative time, colors and OKLCH, gesture velocity, offline Dio failures, phone calls, and WhatsApp links.
Install #
Until the first pub.dev release, use the immutable GitHub tag:
dependencies:
oh_my_flutter:
git:
url: https://github.com/Cataqui/oh_my_flutter.git
ref: v0.1.0
After publication, use oh_my_flutter: ^0.1.0.
Quick start #
import 'package:clock/clock.dart';
import 'package:oh_my_flutter/oh_my_flutter.dart';
final label = withClock(
Clock.fixed(DateTime.utc(2026, 1, 1, 12)),
() => DateTime.utc(2026, 1, 1, 11, 55).timeAgo<String>(
onMinutesAgo: (minutes) => '$minutes minutes ago',
),
);
final accent = '#FF4A4B'.hexToColor();
See the runnable example, the generated API reference, and the usage guide.
Scope #
- Deterministic relative-time bucketing through
package:clock. - Flutter
Colorconversion, luminance helpers, and OKLCH interpolation. - Gesture velocity thresholds.
- Typed offline Dio interception.
tel:and WhatsApp URI launching.
The package does not include application state, routing, localization, design components, or Cataquí-specific domain logic.
Contributing and security #
Read CONTRIBUTING.md before opening a pull request. Report vulnerabilities privately as described in the security policy.