To display those images inside the Flutter application, we can use a gridView widget . So first inside the main. dart file, create a StatelessWidget that will call a StatefulWidget : So main() method will be called first and, it will call the runApp() method which will take a widget and make it the root widget.