Flutter new version replaces following widgets with:
Old Widget | Old Theme | New Widget | New Theme
______________________________________________________________________
FlatButton | ButtonTheme | TextButton | TextButtonTheme
RaisedButton | ButtonTheme | ElevatedButton | ElevatedButtonTheme
OutlineButton | ButtonTheme | OutlinedButton | OutlinedButtonTheme