jaspr icon indicating copy to clipboard operation
jaspr copied to clipboard

RFC: Flutter types that would be useful in Jaspr

Open yjbanov opened this issue 1 year ago • 2 comments

Description

This is a request for comments on https://flutter.dev/go/move-flutter-agnostic-types, which proposes that certain Flutter types are moved out of Flutter's namespaces so they can be used in contexts other than Flutter. We'd like to hear from the Jaspr maintainers and community on what Flutter types would be useful in the Jaspr framework and/or applications.

yjbanov avatar Jun 17 '24 20:06 yjbanov

Yes, please!

kevmoo avatar Jun 17 '24 22:06 kevmoo

Also commented on the doc, but to summarize:

  • Generally very welcome, would be a huge benefit for Jaspr
  • Especially ChangeNotifier, ValueNotifier, Listenable would be very welcome as those are duplicated right now.
  • Some common constants (kIsWeb, debug/release mode) would also be welcome.
  • dart:ui types are not useful at all for Jaspr, as it has css based styling (e.g. it has a Color class but this works different to Flutters Color)

schultek avatar Jul 12 '24 09:07 schultek