test_screen 3.5.0 copy "test_screen: ^3.5.0" to clipboard
test_screen: ^3.5.0 copied to clipboard

Library for screen UI testing for multiple locales, platforms and devices, with different states of the same screen.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:test_screen_sample/screens/home/home_screen.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'test_screen Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const HomeScreen(),
      localizationsDelegates: AppLocalizations.localizationsDelegates,
      supportedLocales: AppLocalizations.supportedLocales,
    );
  }
}
6
likes
150
points
91
downloads

Publisher

unverified uploader

Weekly Downloads

Library for screen UI testing for multiple locales, platforms and devices, with different states of the same screen.

Repository (GitHub)

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_test, intl, isweb_test, meta, path

More

Packages that depend on test_screen