test_screen 3.0.0 copy "test_screen: ^3.0.0" to clipboard
test_screen: ^3.0.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,
    );
  }
}
2
likes
130
pub points
7%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter, flutter_test, intl, isweb_test, meta

More

Packages that depend on test_screen