dart

    1熱度

    1回答

    帶有AngularDart的角度分量的App佈局中的抽屜邊緣不會被繪製,而scrolling內容在material-content,我該如何解決這個問題? app_component.html <material-drawer persistent #drawer="drawer" [attr.end]="end ? '' : null"> <material-list *deferredCon

    0熱度

    1回答

    我試圖把json數據放入一個變量中。當我打印jsondata時,爲什麼會變爲NULL? 當我更改jsondata打印似乎工作正常,當我使用類型命令它確認它作爲一個列表。那麼當我傳遞給變量時,我做錯了什麼? HttpRequest.getString('file.json').then( (result) => print(JSON.decode(result))); //this prints f

    0熱度

    1回答

    我收到以下錯誤,同時試圖從我的for循環元素添加到我的List ... NoSuchMethodError: The method 'addAll' was called on null. Receiver: null Tried calling: addAll("LrWr826cd3Y") 這裏是我的代碼... Future getData() async {

    2熱度

    1回答

    我試圖在我的Flutter應用中實現無限滾動功能。 我試圖用一個的ListView內對的NotificationListener用於檢測滾動事件,但我看不到,說如果滾動已達到視圖底部的事件。 這將是實現這一目標的最佳方法? 在此先感謝!

    1熱度

    1回答

    我試圖使用Dart替換字符串中的每個字母並使用星號,並且遇到一些困難。在Javascript是: 'test'.replace(/./g, '*'); 所以在飛鏢,我試過如下: 'test'.replaceAll(new RegExp(r'/.'), '*'); 'test'.replaceAll(new RegExp(r'\/.'), '*'); 'test'.replaceAll(ne

    0熱度

    1回答

    我升級從角1我的鏢代碼角4. 這條線現在給出在我的IDE一個錯誤: @Decorator(selector: '[citable]') 註釋必須是一個常量變量或常量構造調用。 我能夠通過包含formDirective來修復@Input上的這個錯誤。我應該爲@Decoration使用什麼指令?在AngularDart的網絡搜索中,我找不到最近提到的@Decorator。 我試着在選擇器後添加co

    2熱度

    1回答

    當我嘗試添加firebase_auth,並運行flutter packages get我得到了我下面的錯誤 Running "flutter packages get" in demo... demo firebase_auth has no versions that match >=0.2.3 <0.3.0 derived from: - demo depends on version ^

    0熱度

    1回答

    我正在嘗試爲包含material-checkbox的組件編寫測試。我使用pageloader庫創建了一個頁面對象,我使用@ByTagName('material-checkbox')獲得對material-checkbox的PageLoaderElement的引用。 如何測試複選框的checked屬性?我嘗試訪問attributes和properties,但它們返回空值爲'checked'。

    0熱度

    2回答

    誰能告訴我爲什麼我的應用程序是不是在所有的安裝和使用錯誤信息 天文臺連接從來沒有成爲準備結束。 該應用程序工作完好,直到昨天。 我昨天在命令提示符下將頻道更改爲主,從此應用程序永遠不會運行。 我甚至切換回通道alpha,但仍然沒有用。 我附上了安裝永久卡住的命令提示符截圖。 我不太確定是否需要重新安裝撲翼。我很擔心,如果我現在卸載撲翼,它可能無法正確配置,我可能會永遠打破它。 請有人告訴我究竟可能

    1熱度

    1回答

    如果是,何時會有Google Sheets API v4支持Dart/Flutter?它已經支持多種語言,但Dart/Flutter沒有在guides中列出。