flutter_diff_viewer 1.3.0 copy "flutter_diff_viewer: ^1.3.0" to clipboard
flutter_diff_viewer: ^1.3.0 copied to clipboard

A production-grade Flutter package providing GitHub/GitLab-style content comparison and diff viewing. Supports side-by-side, unified, and stacked layouts with line, word, and character-level diff granularity.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'screens/home_screen.dart';

void main() {
  runApp(const FlutterDiffViewerExampleApp());
}

class FlutterDiffViewerExampleApp extends StatelessWidget {
  const FlutterDiffViewerExampleApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Diff Viewer Demo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: const Color(0xFF0969DA)),
        useMaterial3: true,
      ),
      darkTheme: ThemeData.dark(useMaterial3: true).copyWith(
        colorScheme: ColorScheme.fromSeed(
          seedColor: const Color(0xFF58A6FF),
          brightness: Brightness.dark,
        ),
      ),
      home: const HomeScreen(),
    );
  }
}
3
likes
0
points
322
downloads

Documentation

Documentation

Publisher

unverified uploader

Weekly Downloads

A production-grade Flutter package providing GitHub/GitLab-style content comparison and diff viewing. Supports side-by-side, unified, and stacked layouts with line, word, and character-level diff granularity.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_diff_viewer