widgetbook
widgetbook copied to clipboard
fix: material text field label not showing correctly
Description
The label of the TextField does not render correctly in widgetbook. This might be a Theme problem.
Screenshots
Simulator:

Widgetbook:

@jenshor Any updates on this?
Hey @Solano-Furlan, we know this is important to you but haven't had the time to look into this. We hope to be able to tackle this next week.
@jenshor Any updates on this?Thanks.
Sorry that we haven't been around to solve the problem. I just looked into the problem on our most recent beta version and I cannot longer reproduce the problem.
Screenshot:
Code (using widgetbook_generator)
@WidgetbookUseCase(name: 'Bugfix', type: TextField)
Widget textFieldBugFix(BuildContext context) {
return const TextField(
decoration: InputDecoration(
label: Text('This is a label'),
hintText: 'Placeholder',
),
);
}
Since we are currently unable to reproduce the bug I'm closing this issue for now, but please feel free to reopen this issue if you have additional information or if you have code with which we can reproduce the problem.