font

system

size

30

weight

bold

))

background

Color

yellow

foregroundColor

Color

blue

To style button widgets in Flutter, set the style of its child,
or modify properties on the button itself.

In the following example:

The color property of CupertinoButton sets its color.

The color property of the child Text widget sets the button
text color.

Test in DartPad

View on GitHub

Using custom fonts

In SwiftUI, you can use a custom font in your app in two steps.
First, add the font file to your SwiftUI project. After adding the file,
use the .font() modifier to apply it to your UI components.

Text