I liked the widget that you have you used on oneplus 5 that contains clock and weather information. So if you provide the app name or link the app would be very helpful
Welcome to Android Central. We are not a development site. The widget that comes on the 5 is proprietary to that OS. You might be able to find one similar on Google Play, but to get that one you would need to purchase the phone.
If you need additional help or have more questions or details to share, please join the site so you can reply in this thread. See this link for instructions on how to join Android Central.