Skip to content

Instantly share code, notes, and snippets.

View nodahikaru's full-sized avatar
🏠
Working from home

Noda Hikaru nodahikaru

🏠
Working from home
View GitHub Profile
@Rex-Ferrer
Rex-Ferrer / foo_test.dart
Last active December 9, 2023 16:42
16 Tips for Widget Testing in Flutter
// https://gist.github.com/Esgrima/c0d4bff4b0d3909daf8994410cd659ce
// https://dartpad.dev/c0d4bff4b0d3909daf8994410cd659ce
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:boolean_selector/boolean_selector.dart';
// (TODO: Tip # 1) Consider making frequently used variables/values constants
const _fooConst1 = '';
const _fooConst2 = '';