mirror of
https://github.com/kuhyx/todo-app.git
synced 2026-11-10 19:27:01 +01:00
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
11 lines
275 B
Dart
11 lines
275 B
Dart
import 'dart:io';
|
|
|
|
import 'package:flutter/widgets.dart';
|
|
|
|
/// A cached image file on this device.
|
|
Widget localImage(
|
|
String path, {
|
|
required BoxFit fit,
|
|
required ImageErrorWidgetBuilder errorBuilder,
|
|
}) => Image.file(File(path), fit: fit, errorBuilder: errorBuilder);
|