Sha256: 37cbcd1746f8c6e402a118e3a2c8b9467e6594af0d0adebf50b0cda18154fa07

Contents?: true

Size: 1.62 KB

Versions: 4

Compression:

Stored size: 1.62 KB

Contents

{
  "type": "scaffold",
  "args": {
    "appBar": {
      "type": "app_bar",
      "args": {
        "title": {
          "type": "text",
          "args": {
            "text": "AnimatedPhysicalModel"
          }
        }
      }
    },
    "backgroundColor": "#FFF",
    "body": {
      "type": "set_value",
      "args": {
        "customElevation": 0
      },
      "child": {
        "type": "set_value",
        "args": {
          "customColor": "#FFF"
        },
        "child": {
          "type": "set_value",
          "args": {
            "customBorderRadius": {
              "type": "circular",
              "radius": 10
            }
          },
          "child": {
            "type": "center",
            "child": {
              "type": "animated_physical_model",
              "args": {
                "animateColor": true,
                "borderRadius": "${customBorderRadius}",
                "color": "${customColor}",
                "duration": 1000,
                "elevation": "${customElevation}",
                "shadowColor": "#000",
                "shape": "rectangle"
              },
              "child": {
                "type": "container",
                "args": {
                  "height": 100,
                  "width": 100
                }
              }
            }
          }
        }
      }
    },
    "floatingActionButton": {
      "type": "elevated_button",
      "id": "press_me_button",
      "args": {
        "onPressed": "${set_value('customElevation', 25)}"
      },
      "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_physical_model.json
json_flit-0.0.5 demo/app/assets/pages/animated_physical_model.json
json_flit-0.0.4 demo/app/assets/pages/animated_physical_model.json
json_flit-0.0.3 demo/app/assets/pages/animated_physical_model.json