hindsight_flutter_svg 0.9.3
hindsight_flutter_svg: ^0.9.3 copied to clipboard
Optional flutter_svg integration for the Hindsight Flutter session replay SDK.
hindsight_flutter_svg #
Optional flutter_svg integration for the
Hindsight Flutter SDK.
import 'package:flutter/widgets.dart';
import 'package:hindsight_flutter/hindsight_flutter.dart';
import 'package:hindsight_flutter_svg/hindsight_flutter_svg.dart';
Future<void> main() async {
HindsightFlutterSvg.install();
await Hindsight.init(
const HindsightConfig(projectId: 'proj_...', apiKey: 'hs_...'),
);
runApp(HindsightWidget(child: const App()));
}
The integration classifies bundled .svg SvgPicture.asset widgets as stable
UI vectors and loads their SVG text from the app asset bundle. Network, file,
memory, raw string SVGs, and non-SVG asset formats are not captured as vectors
by default.