nv_golden 2.0.0+3 nv_golden: ^2.0.0+3 copied to clipboard
The golden testing framework we use at nonvanilla. Thanks to the people at ebay that strongly inspired this plugin with their golden_toolkit.
import 'package:example/main_page.dart';
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: lightTheme,
home: MainPage(),
);
}
}
final lightTheme = ThemeData(
primarySwatch: Colors.blueGrey,
);