Here is the trace:
Something horrible happened! :scream: Error while host-compiling (ns samples.tables "Faithful port of https://docs.flutter.dev/cookbook/design/tabs" (:require ["package:flutter/material.dart" :as m] [cljd.flutter.alpha as f])) (ns samples.tables "Faithful port of https://docs.flutter.dev/cookbook/design/tabs" (:require ["package:flutter/material.dart" :as m] [cljd.flutter.alpha as f])) Can't resolve widgets/InheritedModel (no source location)
And here is my code:
(ns samples.tabs
"Faithful port of https://docs.flutter.dev/cookbook/design/tabs"
(:require
["package:flutter/material.dart" :as m]
[cljd.flutter.alpha as f]))
(defn main
[]
(let [title "Tabs Demo"]
(m/runApp
(m/MaterialApp
:title title
:home
(m/DefaultTabController
:length 3
:child
(m/Scaffold
:appBar
(m/AppBar
:bottom
(m/TabBar
:tabs [(m/Tab :icon (m/Icon. m.Icons/directions_car)),
(m/Tab :icon (m/Icon. m.Icons/directions_transit)),
(m/Tab :icon (m/Icon. m.Icons/directions_bike))]))
:body
(m/TabBarView
:children [(m/Tab :icon (m/Icon. m.Icons/directions_car)),
(m/Tab :icon (m/Icon. m.Icons/directions_transit)),
(m/Tab :icon (m/Icon. m.Icons/directions_bike))])))))))
We can notice that the trace mention all of the declaration of the module and the requirements, but is not very explicit either. You could also think that there is a problem with the widget library.