accessibility_tools 2.0.0 copy "accessibility_tools: ^2.0.0" to clipboard
accessibility_tools: ^2.0.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(
          checkFontOverflows: true,
          child: child,
        );
      },
      home: const MyHomePage(),
      theme: lightTheme,
      darkTheme: darkTheme,
      localizationsDelegates: localizationDelegates,
      supportedLocales: supportedLocales,
      debugShowCheckedModeBanner: false,
    );
  }
}
168
likes
140
pub points
93%
popularity

Publisher

verified publisherrebelappstudio.com

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

Documentation

API reference

License

MIT (LICENSE)

Dependencies

collection, flutter, flutter_test

More

Packages that depend on accessibility_tools