• Latest
  • Hot
  • Ask
  • Full Apps
  • Ui
  • Game
Ask August 18,2022

Access Default font

How can I access default font style setting using Xamarin, android studio or flutter? Is there any methods, classes or package help me?!!


Solution 1: Mobin Ansar

if you want to use one of these Google fonts then use the official google_fonts package from the material team.

- add to pubspec.yaml:

dependencies:
      google_fonts: ^2.1.0

- Override the default font like this:

MaterialApp(
  theme: ThemeData(
    textTheme: GoogleFonts.latoTextTheme(
      Theme.of(context).textTheme,
    ),
  ),
);


Twitter Facebook Reddit Hacker News LinkedIn Email

Most Viewed

Netflix UI Clone Build with Flutter and BloC

GitJournal - Markdown Notes Build with Fluter

How to debug multiple widgets used the same GlobalKey

Sign in up takes so long time to load from firebase

Featured Articles

Catagories

  • Ask63292
  • Full Apps40
  • Ui5
  • Game2
  • Packages2
  • Template0
  • flutter
  • dart
  • firebase
  • google-cloud-firestore
  • flutter-layout
  • ios
  • in-app-purchase
  • app-store
  • android
  • bluetooth
  • kotlin
  • riverpod
  • android-studio
  • firebase-realtime-database
  • material-design
  • node.js
  • firebase-cloud-messaging
  • listview
  • scroll
  • mobile
  • flutter-provider
  • flutter-state
  • google-cloud-functions
  • unity3d
  • virtual-reality
  • flutter-alertdialog
  • flutter-assetimage
  • asynchronous
  • themes
  • upgrade
  • list
  • google-cloud-platform
  • double-click
  • cupertinotabbar
  • networkimageview
  • google-play
  • admob
  • apk
  • androidx
  • tensorflow-lite
  • gradle
  • android-gradle-plugin
  • build.gradle
  • firebase-authentication
  • icons
  • dependencies
  • flutter-pubspec
  • flutter-animation
  • user-interface
  • pdf
  • Privacy Policy
  • Submit Project
© Copyright © All rights reserved
Licensed under cc by-sa 3.0 with attribution required.

Catagories

  • Ask
  • Full Apps
  • Ui
  • Game

Join our Newsletter