migrated InputNumber to WidgetBuilder