Applies all modifiers to the given widget
Widget apply(Widget widget) { return _modifiers.fold<Widget>(widget, (prev, modifier) => modifier(prev)); }