easy_test_variants 0.0.2 copy "easy_test_variants: ^0.0.2" to clipboard
easy_test_variants: ^0.0.2 copied to clipboard

Predefined device & platform variants to eliminate testing boilerplate. Build your own custom TestVariants and combine them all into a powerful matrix via MatrixVariant.

example/lib/main.dart

import 'package:example/user_profile_screen.dart';
import 'package:example/user_types.dart';
import 'package:flutter/material.dart';

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

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Demo',
      theme: ThemeData(colorScheme: .fromSeed(seedColor: Colors.deepPurple)),
      home: UserProfileScreen(scenario: ProfileTypes.admin),
    );
  }
}
0
likes
160
points
114
downloads

Documentation

API reference

Publisher

verified publisherdeebx.tech

Weekly Downloads

Predefined device & platform variants to eliminate testing boilerplate. Build your own custom TestVariants and combine them all into a powerful matrix via MatrixVariant.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, flutter_test

More

Packages that depend on easy_test_variants