add main to work with scaffoldWidget