Skip to content

Commit

Permalink
Update catalyst_image.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
minikin committed Nov 17, 2023
1 parent 0509df1 commit 0a7efa8
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import 'package:flutter/widgets.dart';

/// [CatalystImage] is a wrapper around [Image.asset] that sets the package
/// property to `catalyst_voices_assets` by default.
/// This allows the package to be used without having to specify
/// the package name every time.
/// For more information, see [Image.asset].
final class CatalystImage {
static Image asset(
String name, {
Expand Down

0 comments on commit 0a7efa8

Please sign in to comment.