Buscar pacotes, repositórios e categorias de apps

Detalhes do pacotev0.23.5

jaspr

Um framework web moderno para criar sites em Dart que se sente como Flutter, mas com suporte a renderização do lado do servidor.

AndroidiOSWebmacOSWindowsLinux
Downloads em 30 dias
59,9 mil
Curtidas
773
Pontos Pub
160

Instalar pacote

flutter pub add jaspr

Visão geral do pacote

Orientação gerada a partir de informações públicas. Apenas para referência.

Jaspr é um framework web moderno para Dart que traz a experiência de desenvolvimento familiar do Flutter para aplicativos web, permitindo a criação de sites interativos com uma interface reativa. Ele suporta renderização no lado do servidor, proporcionando melhor desempenho e SEO. Construído com foco em simplicidade e consistência entre plataformas, o Jaspr funciona perfeitamente no Web, Android, iOS, macOS, Windows e Linux. Os desenvolvedores podem aproveitar os recursos de tipagem forte do Dart e o hot reload ao criar aplicações web escaláveis e sustentáveis.

Casos de uso

  • Construindo aplicativos web com suporte a SSR
  • Criando interfaces web multiplataforma
  • Desenvolvendo aplicativos de página única reativos
  • Implementando sites web amigáveis ao SEO
  • Prototipagem de interfaces com recarregamento quente

Principais recursos

  • Suporte a renderização do lado do servidor
  • Sintaxe de widget semelhante ao Flutter
  • Compatibilidade multiplataforma
  • Hot reload para desenvolvimento rápido
  • gerenciamento de estado reativo
  • Design leve e modular

Indicado para

  • Desenvolvedores Dart familiarizados com o Flutter
  • Equipes procurando SSR em aplicativos web
  • Desenvolvedores full-stack usando Dart
  • Projetos que exigem UI consistente entre plataformas
  • Startups que desejam desenvolvimento rápido de aplicativos web

Considerações

  • Ecosistema limitado em comparação com frameworks maduros
  • Comunidade menor e menos pacotes de terceiros
  • Projeto em estágio inicial com APIs em evolução
  • Requer conhecimento dos conceitos do Dart e Flutter
  • Não ideal para equipes não-Dart

README original

Snapshot do README original do repositório-fonte vinculado. Consulte o repositório para o conteúdo mais recente.

Banner

sponsor

pub github tests codecov discord contributors

Website • Quickstart • Documentation • Playground • Community & Support • Benchmarks

Jaspr

A modern web framework for building websites in Dart with support for both client-side and server-side rendering, as well as static site generation.

  • 🔮 Why?: Jaspr was made with the premise to make a web-framework that looks and feels just like Flutter, but renders normal HTML and CSS.
  • 👥 Who?: Jaspr is targeted mainly at Flutter developers that want to build any type of websites (especially ones that are not suitable for Flutter Web).
  • 🚀 What?: Jaspr wants to push the boundaries of Dart on the web and server, by giving you a thought-through fullstack web framework written completely in Dart.

Want to contribute to Jaspr? Join our open Discord Community of developers around Jaspr and check out the Contributing Guide.

Core Features
  • 💙 Familiar: Works with a similar component model to Flutter widgets.
  • 🚀 Powerful: Comes with server side rendering out of the box.
  • ♻️ Easy: Syncs component state between server and client automatically.
  • ⚡️ Fast: Performs direct DOM updates only where needed.
  • 🎛 Flexible: Runs on the server, client or both with manual or automatic setup. You decide.

If you want to say thank you, star the project on GitHub and like the package on pub.dev 🙌💙

Online Editor & Playground

Inspired by DartPad, Jaspr has it's own online editor and playground, called JasprPad.

Check it out here!

You can check out the samples, take the tutorial or try out Jaspr for yourself, all live in the browser. When you want to continue coding offline, you can quickly download the current files bundled in a complete dart project, ready to start coding locally.

JasprPad is also built with Jaspr itself, so you can check out its source code to get a feel for how Jaspr would be used in a larger app.

JasprPad Screenshot

Differences to Flutter Web - Design Principles

Jaspr is an alternative to Flutter Web, when you want to build any kind of website with Dart.

The Flutter team itself has stated on multiple occasions that

Flutter Web is for building Web-Apps, not Web-Sites.

That just means that while Flutter Web is a great technology for sharing your apps across multiple platforms including the web, it may not be suited for all types of websites that you want to build.

Jaspr works by giving you the familiar look and feel of the Flutter framework, while using native web technologies, like HTML, the DOM and CSS to enable you to build all kinds of websites using Dart.

Instead of trying to mirror every little thing from Flutter, Jaspr tries to give a general Fluttery feeling by matching features where it makes sense without compromising on the unique properties of the web platform. Rather, it embraces these differences to give the best of both worlds.

Learn more.

Directories

  • /apps: Production apps built with Jaspr.
    • /jaspr_pad: Online Editor and Playground inspired by DartPad, built with Jaspr. Hosted at playground.jaspr.site.
    • /website: The Jaspr website, built with Jaspr itself. Hosted at jaspr.site.
  • /assets: Branding images and other assets for Jaspr.
  • /docs: Documentation hosted at docs.jaspr.site.
  • /examples: Examples for showcasing different Jaspr features.
  • /packages:
    • /jaspr: The core framework package.
    • /jaspr_builder: Code-generation builders for Jaspr.
    • /jaspr_cli: The command line interface of Jaspr.
    • /jaspr_content: Jaspr plugin for building content-driven sites like documentation, blogs, or marketing pages. Documented at docs.jaspr.site/content.
    • /jaspr_flutter_embed: Flutter element embedding bindings for Jaspr.
    • /jaspr_lints: A collection of lints and assists for Jaspr projects.
    • /jaspr_riverpod: An unofficial Riverpod implementation for Jaspr.
    • /jaspr_router: A router implementation for Jaspr.
    • /jaspr_serverpod: An official Jaspr integration for Serverpod.
    • /jaspr_test: A testing package for Jaspr.

Categorias

Dependências

Lista de dependências 10 itens

Repositório-fonte

Projetos que usam este pacote

Rankings