}
public abstract class StatefulWidget : Widget {
protected StatefulWidget(Key key = null) : base(key: key) {
protected StatefulWidget(Key key) : base(key: key) {
public override Element createElement() {
Widget frontLayer = null,
Widget backTitle = null,
Widget backLayer = null
) {
) : base(key: null) {
this.frontAction = frontAction;
this.frontTitle = frontTitle;
this.frontHeading = frontHeading;