Sha256: d377fee119511e5f133571023d262a65df6d502600fbcb70473b68b0792e2ea7

Contents?: true

Size: 1.2 KB

Versions: 4

Compression:

Stored size: 1.2 KB

Contents

{
  "type": "scaffold",
  "args": {
    "appBar": {
      "type": "app_bar",
      "args": {
        "title": {
          "type": "text",
          "args": {
            "text": "AnimatedSwitcher"
          }
        }
      }
    },
    "body": {
      "type": "set_widget",
      "args": {
        "customFirstText": {
          "type": "text",
          "args": {
            "text": "1",
            "style": {
              "fontSize": 64
            }
          }
        },
        "customSecondText": {
          "type": "text",
          "args": {
            "text": "2",
            "style": {
              "fontSize": 64
            }
          }
        }
      },
      "child": {
        "type": "center",
        "child": {
          "type": "animated_switcher",
          "args": {
            "child": "${customFirstText}",
            "duration": 1000
          }
        }
      }
    },
    "floatingActionButton": {
      "type": "elevated_button",
      "id": "press_me_button",
      "args": {
        "onPressed": "${setWidgetByKey('customFirstText', 'customSecondText')}"
      },
      "child": {
        "type": "text",
        "args": {
          "text": "Press Me!"
        }
      }
    }
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
json_flit-0.0.6 demo/app/assets/pages/animated_switcher.json
json_flit-0.0.5 demo/app/assets/pages/animated_switcher.json
json_flit-0.0.4 demo/app/assets/pages/animated_switcher.json
json_flit-0.0.3 demo/app/assets/pages/animated_switcher.json