wupper 5.0.1 copy "wupper: ^5.0.1" to clipboard
wupper: ^5.0.1 copied to clipboard

outdated

Dart Web UI Framework based on HTML Elements inspired by Flutter

5.0.1 #

  • fix: added missing TableCellElementWidget

5.0.0 #

BREAKING CHANGE: migration to new state management

  • similar to Flutter, Wupper now features Stateless and Statefull Widgets
  • requires to adjust any custom Widget implementation
  • HTML element builders converted into Widget classes
  • no more need for appendTo()
  • migrate findParent to BuildContext.findState

4.1.2 #

  • fix: concurrent modifications in subscriptions sets

4.1.1 #

  • fix: StreamBuilder cancels Streams too early

4.1.0 #

BREAKING CHANGE! The bindAttribute and bindText now have been fixed and became part of the State object, instead of extensions of the Element object. Use them in this way:

// Bind text only:
count.bindText(
  paragraphElement(),
  (count) => 'Counter: $count' // Optional! Defaults to `state.toString()`
),

// Bind a single attribute:
count.bindAttribute(
  paragraphElement(),
  'style',
  (count) => count == 0 ? 'color: blue;' : 'color: red;',  // Optional! Defaults to `state.toString()`
),

4.0.0 #

BREAKING CHANGE! The setState method got deprecated and will be removed in a future release. Use the new State object instead and bind HTML elements to a state by using:

// Add a state to a widget:
final state = State<int>(5);

// Bind the state to the whole HTML element:
state.bind((stateValue) => divElement());

// Bind the state only to the text node:
divElement..bindText(state);

// Bind the state only to a specific attribute:
divElement..bindAttribute(state, 'class');

// Change the state:
buttonElement(onClick: state.set(state.state++));

3.4.0 #

  • fix: allow to change _view of ListViewController
  • feat: expose list view children to controller

3.3.1 #

  • fix: UpdateAll in ListView was not working correctly

3.3.0 #

  • refactor: Finish ListView implementation

3.2.2 #

  • fix: Initial AsyncSnapshot
  • fix: Insert in ListView at correct position
  • fix: Export AsyncSnapshot

3.2.1 #

  • fix: Actually export the new widgets

3.2.0 #

  • feat: Add future builder and stream builder
  • feat: Add basic listview

3.1.1 #

  • fix: Call initState for root widget

3.1.0 #

  • feat: Use query selectors for more granular setState

3.0.0 #

  • BREAKING CHANGE: use dataset as runApp args
  • feat: provide html element instead of target ID

2.0.0 #

  • feat: runApp with attributes

1.0.1 - 26-10-2021 #

  • feat: Add initState method
  • refactor: Use .replaceWith method for better performance

1.0.0 #

  • Initial version.
36
likes
0
pub points
39%
popularity

Publisher

verified publisherfamedly.com

Dart Web UI Framework based on HTML Elements inspired by Flutter

Homepage
Repository (GitLab)
View/report issues

License

unknown (license)

Dependencies

meta

More

Packages that depend on wupper