#Flutter UI testing tip:
Utilize the #Widgetbook UseCase annotation's *designLink* property and easily access the original #Figma design while reviewing UI changes and detecting UI regressions in your Widgetbook Cloud pull requests π§ͺππ»
Latest posts tagged with #Widgetbook on Bluesky
#Flutter UI testing tip:
Utilize the #Widgetbook UseCase annotation's *designLink* property and easily access the original #Figma design while reviewing UI changes and detecting UI regressions in your Widgetbook Cloud pull requests π§ͺππ»
Salto Systems cut UI development time by 50% by integrating #Widgetbook into their #Flutter workflow π
β
They now catch regressions early
β
Test components in isolation
β
Streamline reviews across teams
Learn how they did it in our latest case study ππ»
medium.com/widgetbook/5...
I've requested a new feature in #Widgetbook to allow a custom header, and it just landed thanks to community contribution π
github.com/widgetbook/w...
Complex #Flutter screens with state dependencies become harder to test in isolation, and that's why they *should* be tested! π§ͺ
Control input data & interactively test all states of your complex UI by mocking dependencies in your isolated #Widgetbook use cases πππ»
#Flutter UI testing tip:
β
You manually test your widgets in many devices in your #Widgetbook using the #ViewportAddon
π Take it further: use the #ViewportAddonConfig and let Widgetbook Cloud automate screenshot testing across all those devices on all your PRs π§ͺππ»
#Flutter animation tip:
Test your complex animations in isolation from the rest of the UI by configuring #Widgetbook UseCases for them π§ͺ
Take it a step further and debug each frame by hooking up a slider knob to the animation controller value ππ»
Ever gotten too confident about a #Flutter UI you built, pushed to production, then discovered that it breaks with longer text? π§ π’
Prevent this early in the development process by using a string knob in your dedicated #Widgetbook UI testing environment πππ»
#FlutterDev
You're now ready to add your first use-case! π
Simply add a file in your #Widgetbook app and create a callback that returns your widget, and annotate it with a #UseCase annotation
3/5
Next, add your app as a path dependency to your #Widgetbook workspace to be able to import widgets from it
2/5
Start by creating a #Flutter app that acts as your dedicated UI testing workspace and uses the #Widgetbook open source Flutter packages
1/5
Using the #Widgetbook to build a collection of #Flutter animations with curve visualizer.