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

Platformweb

Dart Web UI Framework based on HTML Elements inspired by Flutter

5.0.6 #

  • chore: add general and publish ci (td)
  • chore: add import sorter (Nicolas Werner)
  • ci: fix versions dependency (Nicolas Werner)
  • docs: Update links (Krille)
  • ci: Add CI workflow (Krille)
  • fix: Duplicated import (Krille)
  • fix: add missing key parameter to ListView (The one with the braid)
  • chore: add github action (Niklas Zender

5.0.5 #

  • fix: Added missing classes Set to ListView Widget

5.0.4 #

  • fix: Missing construction setter for TextAreaElementWidget
  • feat: Add ValueNotifier

5.0.3 #

  • feat: Add onScroll callback to listview

5.0.2 #

  • fix: execute callback in any case before setState returns

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
120
pub points
44%
popularity

Publisher

verified publisherfamedly.com

Dart Web UI Framework based on HTML Elements inspired by Flutter

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

meta

More

Packages that depend on wupper