content static method

void content({
  1. required Widget? body,
  2. bool extendBody = false,
  3. bool extendBodyBehindAppBar = false,
})

Sets / removes the content area of the CodeMeltedUI.app.

Implementation

static void content({
  required Widget? body,
  bool extendBody = false,
  bool extendBodyBehindAppBar = false,
}) {
  uiState.set<CObject>(
    "content",
    {
      "body": body,
      "extendBody": extendBody,
      "extendBodyBehindAppBar": extendBodyBehindAppBar,
    },
    notify: true,
  );
}