Skip to content

Commit

Permalink
🚨 (fix warnings)
Browse files Browse the repository at this point in the history
  • Loading branch information
T-moz committed Sep 22, 2024
1 parent 911b30c commit 193a7b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/src/helpers/fonts_loader.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// ignore_for_file: avoid-dynamic, avoid-accessing-collections-by-constant-index

import 'dart:convert';
import 'dart:io';

Expand Down Expand Up @@ -33,7 +35,7 @@ class Package {
/// *Note* for this function to work, your package needs to include all fonts
/// it uses in a font dir at the root of the project.
@Deprecated("Use [loadAppFonts] instead")
Future<void> loadFonts([String? package]) async {
Future<void> loadFonts([String? package]) {
return package != null
? loadFontsFromPackage(
package: Package(name: package, relativePath: './$package'),
Expand Down

0 comments on commit 193a7b1

Please sign in to comment.