Import
import 'package:flutter/widgets.dart';
import 'package:fluttyui/fluttyui.dart' as ui;Usage
await ui.Haptics.selection();
// Disable optional feedback throughout the application.
ui.Haptics.enabled = false;API Reference
The declarations below match the current FluttyUI source. Types are shown without the optional ui. import prefix.
Future<void> selection
static Future<void> selection();Future<void> light
static Future<void> light();Future<void> medium
static Future<void> medium();Future<void> heavy
static Future<void> heavy();Future<void> play
static Future<void> play(HapticType type);Set Haptics.enabled to false to disable all feedback. Unsupported devices may produce no feedback.
Application Setup
Place components under FluttyApp to provide theme, navigation, localization, and overlay defaults. Use theme tokens for shared appearance settings.
Source
lib/src/utils/haptics.dart
This reference is generated from the Haptics declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

