The floating circular action button is meant for very important functions. Flat buttons are usually used within elements that already have depth like cards or modals.
Choose from our collection Material design Source code . Examples might be simplified to improve reading and basic understanding