utils/font_loader library
Copyright 2019-2020 eBay Inc.
Use of this source code is governed by a BSD-style license that can be found in the LICENSE file or at https://opensource.org/licenses/BSD-3-Clause
Functions
-
derivedFontFamily(
Map< String, dynamic> fontDefinition) → String - There is no way to easily load the Roboto or Cupertino fonts. To make them available in tests, a package needs to include their own copies of them.
-
loadAppFonts(
) → Future< void> - By default, flutter test only uses a single "test" font called Ahem.