Skip to content

Flutter makes it easy and fast to build beautiful apps for mobile and beyond

License

Notifications You must be signed in to change notification settings

flutter-rosita/flutter-rosita

 
 

Flutter Rosita

Flutter Rosita

Enhance Your Flutter Web Experience with Flutter Rosita

Flutter Rosita is a fork of the popular Flutter framework, designed to address the performance challenges of web-based applications built with standard Flutter Web. If you've found the HTML rendering in Flutter Web to be sluggish or unresponsive, Rosita offers a compelling solution.

By introducing thoughtful modifications to the core Flutter engine, Rosita delivers a noticeable boost in rendering speed and overall responsiveness. This makes it an attractive option for developers who require a fast, reactive user interface for their web-based projects.

However, it's important to note that Rosita may require some trade-offs in certain areas to achieve these performance gains. So, if you're willing to prioritize speed and responsiveness over absolute flexibility, then Rosita could be the right choice for your Flutter Web development needs.

Elevate your Flutter web experiences with Flutter Rosita - a performance-focused fork that can help transform your online applications.

Installation

Usage

flutter-rosita substitutes the original flutter CLI command. Only the command line interface is supported.

# Update package config with Flutter Rosita
flutter-rosita pub get

# Build the project and run WEB (either in debug or release mode).
flutter-rosita run
flutter-rosita run --release

# Build the project for WEB (release mode).
flutter-rosita build web

Rosita Widgets

To optimize the performance of the Flutter Rosita app, we can use special widgets. In order to do so, we need to add a dependency in the pubspec.yaml file.

dependencies:
  rosita: ^0.6.0

RositaFadeImage vs FadeInImage / CachedNetworkImage / OctoImage

kIsRosita ? RositaFadeImage.network(imageUrl) : FadeInImage.assetNetwork(...)

RositaImage vs Image

kIsRosita ? RositaImage.network(imageUrl) : Image.network(imageUrl)

RositaSvgPicture vs SvgPicture

kIsRosita ? RositaSvgPicture.asset('assets/logo.svg') : SvgPicture.asset('assets/logo.svg')

About

Flutter makes it easy and fast to build beautiful apps for mobile and beyond

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dart 98.8%
  • C++ 0.3%
  • Objective-C 0.2%
  • CMake 0.1%
  • Java 0.1%
  • Groovy 0.1%
  • Other 0.4%