accessibility_tools 2.3.0 copy "accessibility_tools: ^2.3.0" to clipboard
accessibility_tools: ^2.3.0 copied to clipboard

Checkers and tools to ensure your app is accessible to all. Ensures your app is accessible from day one, by checking your interface as you build it.

example/lib/main.dart

import 'package:accessibility_tools/accessibility_tools.dart';
import 'package:example/app_localizations.dart';
import 'package:example/home_page.dart';
import 'package:example/theme.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      builder: (context, child) {
        // Add AccessibilityTools to the widget tree. The tools are available
        // only in debug mode
        return AccessibilityTools(
          enableButtonsDrag: true,
          checkFontOverflows: true,
          checkImageLabels: true,
          buttonsAlignment: ButtonsAlignment.bottomRight,
          child: child,
        );
      },
      home: const MyHomePage(),
      theme: lightTheme,
      darkTheme: darkTheme,
      localizationsDelegates: localizationDelegates,
      supportedLocales: supportedLocales,
      debugShowCheckedModeBanner: false,
    );
  }
}
202
likes
160
points
155k
downloads

Publisher

verified publisherrebelappstudio.com

Weekly Downloads

Checkers and tools to ensure your app is accessible to all. Ensures your app is accessible from day one, by checking your interface as you build it.

Repository (GitHub)
View/report issues

Topics

#accessibility #a11y #ui

Documentation

API reference

License

MIT (license)

Dependencies

collection, flutter, flutter_test

More

Packages that depend on accessibility_tools