PageSourceSearch

https://monarchapp.io/assets/js/2994ceca.3688c333.js

js monarchapp.io collected 2026-10-05 04:12:23 UTC 7,597 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkmonarch_site=self.webpackChunkmonarch_site||[]).push([[1841],{3905:function(e,t,n){n.d(t,{Zo:function(){return c},kt:function(){return f}});var r=n(7294);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var i=r.createContext({}),s=function(e){var t=r.useContext(i),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},c=function(e){var t=s(e.components);return r.createElement(i.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,c=u(e,["components","mdxType","originalType","parentName"]),d=s(n),f=a,m=d["".concat(i,".").concat(f)]||d[f]||p[f]||o;return n?r.createElement(m,l(l({ref:t},c),{},{components:n})):r.createElement(m,l({ref:t},c))}));function f(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=n.length,l=new Array(o);l[0]=d;var u={};for(var i in t)hasOwnProperty.call(t,i)&&(u[i]=t[i]);u.originalType=e,u.mdxType="string"==typeof e?e:a,l[1]=u;for(var s=2;s<o;s++)l[s]=n[s];return r.createElement.apply(null,l)}return r.createElement.apply(null,n)}d.displayName="MDXCreateElement"},5162:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(7294),a=n(6010),o="tabItem_Ymn6";function l(e){let{children:t,hidden:n,className:l}=e;return r.createElement("div",{role:"tabpanel",className:(0,a.Z)(o,l),hidden:n},t)}},5488:function(e,t,n){n.d(t,{Z:function(){return f}});var r=n(3117),a=n(7294),o=n(6010),l=n(2389),u=n(7392),i=n(7094),s=n(2466),c="tabList__CuJ",p="tabItem_LNqP";function d(e){const{lazy:t,block:n,defaultValue:l,values:d,groupId:f,className:m}=e,b=a.Children.map(e.children,(e=>{if((0,a.isValidElement)(e)&&"value"in e.props)return e;throw new Error(`Docusaurus error: Bad <Tabs> child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the <Tabs> component should be <TabItem>, and every <TabItem> should have a unique "value" prop.`)})),h=d??b.map((e=>{let{props:{value:t,label:n,attributes:r}}=e;return{value:t,label:n,attributes:r}})),v=(0,u.l)(h,((e,t)=>e.value===t.value));if(v.length>0)throw new Error(`Docusaurus error: Duplicate values "${v.map((e=>e.value)).join(", ")}" found in <Tabs>. Every value needs to be unique.`);const y=null===l?l:l??b.find((e=>e.props.default))?.props.value??b[0].props.value;if(null!==y&&!h.some((e=>e.value===y)))throw new Error(`Docusaurus error: The <Tabs> has a defaultValue "${y}" but none of its children has the corresponding value. Available values are: ${h.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);const{tabGroupChoices:w,setTabGroupChoices:x}=(0,i.U)(),[g,k]=(0,a.useState)(y),O=[],{blockElementScrollPositionUntilNextRender:_}=(0,s.o5)();if(null!=f){const e=w[f];null!=e&&e!==g&&h.some((t=>t.value===e))&&k(e)}const T=e=>{const t=e.currentTarget,n=O.indexOf(t),r=h[n].value;r!==g&&(_(t),k(r),null!=f&&x(f,String(r)))},E=e=>{let t=null;switch(e.key){case"Enter":T(e);break;case"ArrowRight":{const n=O.indexOf(e.currentTarget)+1;t=O[n]??O[0];break}case"ArrowLeft":{const n=O.indexOf(e.currentTarget)-1;t=O[n]??O[O.length-1];break}}t?.focus()};return a.createElement("div",{className:(0,o.Z)("tabs-container",c)},a.createElement("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,o.Z)("tabs",{"tabs--block":n},m)},h.map((e=>{let{value:t,label:n,attributes:l}=e;return a.createElement("li",(0,r.Z)({role:"tab",tabIndex:g===t?0:-1,"aria-selected":g===t,key:t,ref:e=>O.push(e),onKeyDown:E,onClick:T},l,{className:(0,o.Z)("tabs__item",p,l?.className,{"tabs__item--active":g===t})}),n??t)}))),t?(0,a.cloneElement)(b.filter((e=>e.props.value===g))[0],{className:"margin-top--md"}):a.createElement("div",{className:"margin-top--md"},b.map(((e,t)=>(0,a.cloneElement)(e,{key:t,hidden:e.props.value!==g}
1)))))}function f(e){const t=(0,l.Z)();return a.createElement(d,(0,r.Z)({key:String(t)},e))}},3695:function(e,t,n){n.r(t),n.d(t,{assets:function(){return d},commands:function(){return m},contentTitle:function(){return c},default:function(){return h},frontMatter:function(){return s},metadata:function(){return p},toc:function(){return f}});var r=n(3117),a=(n(7294),n(3905)),o=n(5488),l=n(5162),u=n(814),i=(n(9960),n(6010));n(3650),n(152);const s={id:"install_flutter2x",title:"Install for Flutter 2.x"},c=void 0,p={unversionedId:"install_flutter2x",id:"install_flutter2x",title:"Install for Flutter 2.x",description:"If you are on Flutter 2.x, then you need to install Monarch 1.x. Below are the installation bundles",source:"@site/docs/install_flutter2x.mdx",sourceDirName:".",slug:"/install_flutter2x",permalink:"/docs/install_flutter2x",draft:!1,tags:[],version:"current",frontMatter:{id:"install_flutter2x",title:"Install for Flutter 2.x"},sidebar:"someSidebar",previous:{title:"Contributing",permalink:"/docs/contributing"}},d={},f=[],m={downloadMac:"curl -O https://d2dpq905ksf9xw.cloudfront.net/macos/monarch_macos_1.7.8.zip "},b={toc:f,commands:m};function h(e){let{components:t,...n}=e;return(0,a.kt)("wrapper",(0,r.Z)({},b,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("p",null,"If you are on Flutter 2.x, then you need to install Monarch 1.x. Below are the installation bundles\nfor Monarch 1.7.8."),(0,a.kt)(o.Z,{groupId:"operating-systems",defaultValue:"mac",values:[{label:"macOS",value:"mac"},{label:"Windows",value:"win"},{label:"Linux",value:"lin"}],mdxType:"Tabs"},(0,a.kt)(l.Z,{value:"mac",mdxType:"TabItem"},(0,a.kt)("p",null,"If you are on Flutter 2.x, download Monarch 1.7.8."),(0,a.kt)(u.Z,{language:"bash",mdxType:"CodeBlock"},m.downloadMac),(0,a.kt)("br",null)),(0,a.kt)(l.Z,{value:"win",mdxType:"TabItem"},(0,a.kt)("p",null,"If you are on Flutter 2.x, download Monarch 1.7.8."),(0,a.kt)("div",null,(0,a.kt)("a",{className:(0,i.Z)("button button--outline button--primary button--lg"),href:"https://d2dpq905ksf9xw.cloudfront.net/windows/monarch_windows_1.7.8.zip"},"monarch_windows_1.7.8.zip")),(0,a.kt)("br",null)),(0,a.kt)(l.Z,{value:"lin",mdxType:"TabItem"},(0,a.kt)("p",null,"Monarch on Linux doesn't support Flutter 2.x. To run Monarch on Linux, see the ",(0,a.kt)("a",{href:"/docs/install"},"Install")," doc."),(0,a.kt)("br",null))))}h.isMDXComponent=!0},3650:function(e){e.exports=JSON.parse('{"iY":"https://d148mrbia1nlbw.cloudfront.net/macos/monarch_macos_2.3.1.zip","w5":"monarch_macos_2.3.1.zip"}')},152:function(e){e.exports=JSON.parse('{"iY":"https://d148mrbia1nlbw.cloudfront.net/windows/monarch_windows_2.3.1.zip","w5":"monarch_windows_2.3.1.zip"}')}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.