Before going to change the font you must have to download your required font family from the internet.
Drag and drop the font in the Assets->Font folder.
Register all font to pubspect.yml file.
Replace font family name in to Sharedmanage class.
Inside that file, there are some common functions please change the font family name which you download.
Save it and hard reload it your font will change.