This template utilizes the device_preview
package for Flutter to streamline the development and fine-tuning of application layouts across different devices and screen sizes.
The device_preview
package offers a convenient way to preview and emulate the appearance of your application in real-time on various devices and orientations. You can adjust screen sizes, change orientations, and simulate device events to test and optimize the user interface of your application.
- Real-time device preview
- Take Screenshot
- Screen size adjustment
- Orientation testing
- Device event simulation
- Infinite scrolling
and much more... Check it yourself :)
Package | Usage |
---|---|
riverpod | A simple way to access state from anywhere in your application |
go_router | A declarative router for Flutter. |
device_preview | Approximate how your Flutter app looks and performs on another device. |
device_preview_screenshot | A plugin for device_preview that allows to take screenshots. |
- If you don't have Flutter SDK installed, please visit official Flutter site.
- Fetch latest source code from master branch.
git clone https://github.com/ivansaul/flutter_template.git
- Run the app with Android Studio or VS Code. Or the command line:
flutter pub get
flutter run
Contributions are welcome.
Feel free to open an Issue :)