Skip to content

Commit 980a3be

Browse files
mlopezFCjavier-godoy
authored andcommitted
feat: add a default constructor
Simplify the usage as a RouterLayout.
1 parent b96090e commit 980a3be

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/com/flowingcode/addons/applayout/AppLayout.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ public class AppLayout extends Div implements PageConfigurator {
5050
private final List<Component> menuItems = new ArrayList<>();
5151
private final List<Component> toolbarComponents = new ArrayList<>();
5252

53+
public AppLayout() {
54+
this(null,"",null);
55+
}
56+
5357
public AppLayout(String title) {
5458
this(null, title, null);
5559
}

0 commit comments

Comments
 (0)