flutterware 0.4.0 copy "flutterware: ^0.4.0" to clipboard
flutterware: ^0.4.0 copied to clipboard

A collection of GUI tools to help Flutter development. This is a complement to your IDE with Flutter specific needs.

example/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:flutterware/flutter_test.dart';

void main() {
  testWidgets('Checkout flow', CheckoutTest().call);
}

class CheckoutTest extends AppTest {
  @override
  Future<void> run() async {
    await pumpWidget(MyApp());
    await screenshot(name: 'Home page');

    await tap(find.byIcon(Icons.shopping_cart));
    await screenshot(name: 'Cart');

    await enterText(TextField, '4334');
    await screenshot(name: 'Enter coupon code');

    await tap(translations.checkoutButton);
    await screenshot();
  }
}

// == App code (for example purpose)
class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return Container();
  }
}

final translations = Translations();

class Translations {
  String get checkoutButton => '';
}
3
likes
0
points
475
downloads

Publisher

unverified uploader

Weekly Downloads

A collection of GUI tools to help Flutter development. This is a complement to your IDE with Flutter specific needs.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

built_collection, built_value, collection, crypto, flutter, flutter_test, logging, meta, package_config, path, pool, stream_channel, test_api, web_socket_channel

More

Packages that depend on flutterware