zeba_academy_git_visualizer 1.0.0 copy "zeba_academy_git_visualizer: ^1.0.0" to clipboard
zeba_academy_git_visualizer: ^1.0.0 copied to clipboard

Git visualization widgets for Flutter learning apps.

Zeba Academy Git Visualizer ๐Ÿš€ #

๐Ÿ“Œ Overview #

Zeba Academy Git Visualizer is a Flutter package that provides beautiful and interactive Git concept visualization widgets.

It helps developers, students, and educators understand Git workflows visually.

This package allows you to display:

  • Commit graphs
  • Branch flows
  • Merge operations
  • Pull request workflows
  • Merge conflicts
  • Git history timelines

Built for coding platforms, developer tools, and programming education apps.


โœจ Features #

๐ŸŒณ Commit Graph Visualization #

Visualize Git commits with an easy-to-understand graph UI.

Features:

  • Commit nodes
  • Commit messages
  • Author details
  • Commit flow
  • Repository history display

Example:

main

โ— Initial commit

|

โ— Added authentication

|

โ— Fixed bugs

๐ŸŒฟ Branch Flow Visualization #

Display Git branches and their relationships.

Supports:

  • Main branch
  • Feature branches
  • Development branches
  • Custom branch names

Example:

main

|

|---- feature/login

|

|---- feature/payment

๐Ÿ”€ Merge Visualization #

Teach Git merge concepts visually.

Features:

  • Source branch
  • Target branch
  • Merge direction
  • Merge learning UI

Example:

feature/profile

        โ†“

      MERGE

        โ†“

main

๐Ÿ”ฅ Pull Request Flow #

Create GitHub-style pull request learning screens.

Features:

  • PR title
  • Source branch
  • Target branch
  • Merge status

Example:

feature/dashboard

        โ†’

Pull Request

        โ†’

main

โš ๏ธ Conflict Learning UI #

Visualize Git merge conflicts.

Features:

  • Compare changes
  • Show OURS code
  • Show THEIRS code
  • Conflict explanation

Example:

<<<<<<< OURS

Theme: Blue


=======


Theme: Red


>>>>>>> THEIRS

๐Ÿ“œ Git History Timeline #

Display repository history as a timeline.

Includes:

  • Commit date
  • Commit message
  • Author
  • History order

๐Ÿ“ฆ Installation #

Add dependency:

dependencies:

  zeba_academy_git_visualizer: ^1.0.0

Run:

flutter pub get

๐Ÿš€ Usage #

Import:

import 'package:zeba_academy_git_visualizer/zeba_academy_git_visualizer.dart';

Commit Graph Example #

CommitGraph(

commits:[

GitCommit(
id:"a001",
message:"Initial commit",
author:"Sufyan",
date:DateTime.now(),
),


GitCommit(
id:"a002",
message:"Added login feature",
author:"Developer",
date:DateTime.now(),
)

]

)

Branch Example #

BranchFlow(

branches:[

GitBranch(
name:"main",
commits:[],
),


GitBranch(
name:"feature/login",
commits:[],
)

]

)

Pull Request Example #

PRFlow(

request: PullRequest(

title:"Add profile module",

fromBranch:"feature/profile",

targetBranch:"main",

merged:true,

)

)

๐Ÿ— Project Structure #

lib/

โ”œโ”€โ”€ models/

โ”‚   โ”œโ”€โ”€ git_commit.dart

โ”‚   โ”œโ”€โ”€ git_branch.dart

โ”‚   โ””โ”€โ”€ pull_request.dart


โ”œโ”€โ”€ widgets/

โ”‚   โ”œโ”€โ”€ commit_graph.dart

โ”‚   โ”œโ”€โ”€ branch_flow.dart

โ”‚   โ”œโ”€โ”€ merge_view.dart

โ”‚   โ”œโ”€โ”€ pr_flow.dart

โ”‚   โ”œโ”€โ”€ conflict_view.dart

โ”‚   โ””โ”€โ”€ history_timeline.dart


โ””โ”€โ”€ zeba_academy_git_visualizer.dart


๐ŸŽฏ Use Cases #

Perfect for:

โœ… Coding learning apps โœ… Git tutorials โœ… Developer dashboards โœ… Programming courses โœ… Bootcamp platforms โœ… Student projects โœ… Developer portfolio apps


๐Ÿ’ก Package Highlights #

  • No API required
  • No GitHub dependency
  • Offline friendly
  • Lightweight widgets
  • Fully customizable
  • Beginner friendly

๐Ÿงช Testing #

Run tests:

flutter test

๐Ÿค Contributing #

Contributions are welcome.

Create a branch:

git checkout -b feature/new-feature

Commit:

git commit -m "Add new feature"

Push:

git push origin feature/new-feature

Create Pull Request.


๐Ÿ‘จโ€๐Ÿ’ป About Me #

โœจ Iโ€™m Sufyan bin Uzayr, an open-source developer passionate about building and sharing meaningful projects.

Website:

https://sufyanism.com/

LinkedIn:

https://www.linkedin.com/in/sufyanism


๐Ÿš€ Zeba Academy #

Your all-in-one learning hub! #

Zeba Academy is a learning platform dedicated to:

  • Coding
  • Technology
  • Development
  • Practical skills

Explore:

Website:

https://zeba.academy

Courses:

https://code.zeba.academy

YouTube:

https://www.youtube.com/@zeba.academy

Instagram:

https://www.instagram.com/zeba.academy/


๐Ÿ“„ License #

This project is licensed under the:

GNU General Public License v3.0 (GPL-3.0) #

You are free to:

  • Use
  • Modify
  • Share
  • Improve

According to GPL-3.0 conditions.


โญ Support #

If you like this package:

โญ Star the repository

โญ Share with developers

โญ Contribute improvements

Thank you for using Zeba Academy Git Visualizer โค๏ธ

0
likes
140
points
74
downloads

Documentation

API reference

Publisher

verified publisherzeba.academy

Weekly Downloads

Git visualization widgets for Flutter learning apps.

Homepage

License

GPL-3.0 (license)

Dependencies

flutter

More

Packages that depend on zeba_academy_git_visualizer