Coder Social home page Coder Social logo

gskinnerteam / flutter-folio Goto Github PK

View Code? Open in Web Editor NEW
3.8K 3.8K 783.0 14.99 MB

A platform adaptive Flutter app for desktop, mobile and web.

License: MIT License

Kotlin 0.05% Ruby 0.52% Swift 0.65% Objective-C 0.01% Dart 90.16% CMake 2.83% C++ 4.97% C 0.27% HTML 0.53%

flutter-folio's People

Contributors

cenomla avatar ckohanik avatar coleengbrecht avatar domesticmouse avatar esdotdev avatar filiph avatar gqadonis avatar gskinner avatar jaredbell avatar kenvandine avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flutter-folio's Issues

Multi Platform Sync Failed!

Added image on web platform and tried to check on Phone , it wasn't there. Although title, info was there.

Linux textfields bug

My text TextFormField not working correctly, and I see that it is due to this fix, but without this fix it works fine.


"Hello guys" text

Linux info:

NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"

flutter --version

Flutter 2.1.0-12.1.pre • channel dev • https://github.com/flutter/flutter.git
Framework • revision 8264cb3e8a (3 weeks ago) • 2021-03-10 12:37:57 -0800
Engine • revision 711ab3fda0
Tools • Dart 2.13.0 (build 2.13.0-116.0.dev)

unable to run localy on MacOS, @nullable can't be used as an annotation

The error is

lib/data/app_user.freezed.dart:49:4: Error: This can't be used as an annotation; an annotation should be a reference to a compile-time constant variable, or a call to a constant constructor.

  @nullable

   ^

My MacOS version is

macOS Catalina 10.15.7

Flutter version

Flutter 2.1.0-10.0.pre • channel dev • https://github.com/flutter/flutter.git
Framework • revision cc9b78fc5c (8 天前) • 2021-02-25 13:26:03 -0800
Engine • revision a252ec09b7
Tools • Dart 2.13.0 (build 2.13.0-77.0.dev)

pls have a look at the attachment for all errors

error.log

Duplicate static functions in _utils

There's the input_utils.dart with the InputUtils class that has 3 static functions: hideKeyboard(), isMouseConnected() and unFocus() and then there is another file: utils.dart that has the class Utils that has the same 3 static functions plus another one: benchmark(String name, Function() test).

Is there a reason why these are duplicated like this?

OS Error access denied , errno = 5

windows10
Oops; flutter has exited unexpectedly: "FileSystemException: Cannot create link, path =
'E:\app\pp\flutter-folio\windows\flutter\ephemeral.plugin_symlinks\shared_preferences_windows' (OS Error: 拒绝访问。
, errno = 5)".
A crash report has been written to E:\app\pp\flutter-folio\flutter_05.log.

Can we have a discussion tab in the Github repo?

I came across this project and I have been working with Flutter for a year but after seeing this project, I feel overwhelmed after seeing so much stuff that I have no idea what it is. I would not like to clutter the issue section with my questions and since Github has a new discussion feature, I can ask all my silly questions there and it will help new-comers to this project as well to find answers.

Cannot start any profile

feiya200@Feis-iMac flutter-folio % flutter run -d web
No devices found with name or id matching 'web'
feiya200@Feis-iMac flutter-folio % flutter run -d ios
No devices found with name or id matching 'ios'
feiya200@Feis-iMac flutter-folio % flutter run -d android
No devices found with name or id matching 'android'
feiya200@Feis-iMac flutter-folio % flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, 2.1.0-10.0.pre, on Mac OS X 10.15.7 19H114 darwin-x64, locale en-CA)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.54.0)
[✓] Connected device (2 available)

• No issues found!

Name TextField Error

When trying to fill in the first name and the last name in the TextField, the user is unable to write the name in one go.
For example, the user has to do something like this, first enter a letter and then again press the textfield to focus on it, then again enter another letter. This causes a bad user experience.
Screenshot from 2021-03-04 00-12-23

Camera access on iOS

with iPhone SE (2nd), iOS 14.4

When I tried add pictures and accessed its device camera, app was crashed with this log:

[access] This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.

Takes additional tap to show keyboard on iPhone in web version.

The first tap focuses a textfield you can see the cursor becomes active. The second tap brings up the keyboard. I have noticed this problem in my own flutter web app. See attached video. This is browsing the web version of the app on iOS.

I would expect the first tap where the form field gets focus and the cursor blinks to bring up the keyboard.

FullSizeRender.mov

Image picker is not working when using flutter folio website form windows:

I am using windows 10 and using your flutter folio website from the chrome browser.

when I tap the image button an empty container(with delete and add to page) button comes up that does nothing.

      'Yes I know that flutter folio is just a demonstration to 
               show that one can develop projects for one of the  platform"

all I wanted is to let you know.!

Web build successful but Android build error

Porntheps-MacBook-Pro-686:lib nonnyzcsrt$ flutter run -d WCR7N18706004618
Changing current working directory to: /Users/nonnyzcsrt/FlutterSdk/flutter-folio
Launching lib/main.dart on CLT L29 in debug mode...
../../.pub-cache/hosted/pub.dartlang.org/bitsdojo_window_windows-0.0.1/lib/src/window.dart:36:7: Error: The non-abstract class 'WinWindow' is missing implementations for these members:

  • DesktopWindow.isVisible
  • DesktopWindow.visible
    Try to either
  • provide an implementation,
  • inherit an implementation from a superclass or mixin,
  • mark the class as abstract, or
  • provide a 'noSuchMethod' implementation.

class WinWindow extends DesktopWindow {
^^^^^^^^^
../../.pub-cache/hosted/pub.dartlang.org/bitsdojo_window_platform_interface-0.0.2/lib/window.dart:26:12: Context: 'DesktopWindow.isVisible' is defined here.
bool get isVisible;
^^^^^^^^^
../../.pub-cache/hosted/pub.dartlang.org/bitsdojo_window_platform_interface-0.0.2/lib/window.dart:25:12: Context: 'DesktopWindow.visible' is defined here.
bool get visible;
^^^^^^^
../../.pub-cache/hosted/pub.dartlang.org/bitsdojo_window_macos-0.0.1/lib/src/window.dart:7:7: Error: The non-abstract class 'MacOSWindow' is missing implementations for these members:

  • DesktopWindow.isVisible
  • DesktopWindow.visible
    Try to either
  • provide an implementation,
  • inherit an implementation from a superclass or mixin,
  • mark the class as abstract, or
  • provide a 'noSuchMethod' implementation.

class MacOSWindow extends DesktopWindow {
^^^^^^^^^^^
../../.pub-cache/hosted/pub.dartlang.org/bitsdojo_window_platform_interface-0.0.2/lib/window.dart:26:12: Context: 'DesktopWindow.isVisible' is defined here.
bool get isVisible;
^^^^^^^^^
../../.pub-cache/hosted/pub.dartlang.org/bitsdojo_window_platform_interface-0.0.2/lib/window.dart:25:12: Context: 'DesktopWindow.visible' is defined here.
bool get visible;
^^^^^^^
../../.pub-cache/git/bitsdojo_window-b9b1658ab4ddc8b26f4438a3f20a1890a10db006/bitsdojo_window_linux/lib/src/window.dart:39:7: Error: The non-abstract class 'GtkWindow' is missing implementations for these members:

  • DesktopWindow.isVisible
  • DesktopWindow.visible
    Try to either
  • provide an implementation,
  • inherit an implementation from a superclass or mixin,
  • mark the class as abstract, or
  • provide a 'noSuchMethod' implementation.

class GtkWindow extends DesktopWindow {
^^^^^^^^^
../../.pub-cache/hosted/pub.dartlang.org/bitsdojo_window_platform_interface-0.0.2/lib/window.dart:26:12: Context: 'DesktopWindow.isVisible' is defined here.
bool get isVisible;
^^^^^^^^^
../../.pub-cache/hosted/pub.dartlang.org/bitsdojo_window_platform_interface-0.0.2/lib/window.dart:25:12: Context: 'DesktopWindow.visible' is defined here.
bool get visible;
^^^^^^^
../../.pub-cache/git/bitsdojo_window-b9b1658ab4ddc8b26f4438a3f20a1890a10db006/bitsdojo_window/lib/src/other_platform.dart:6:7: Error: The non-abstract class 'OtherWindow' is missing implementations for these members:

  • DesktopWindow.isVisible
  • DesktopWindow.visible
    Try to either
  • provide an implementation,
  • inherit an implementation from a superclass or mixin,
  • mark the class as abstract, or
  • provide a 'noSuchMethod' implementation.

class OtherWindow extends DesktopWindow {
^^^^^^^^^^^
../../.pub-cache/hosted/pub.dartlang.org/bitsdojo_window_platform_interface-0.0.2/lib/window.dart:26:12: Context: 'DesktopWindow.isVisible' is defined here.
bool get isVisible;
^^^^^^^^^
../../.pub-cache/hosted/pub.dartlang.org/bitsdojo_window_platform_interface-0.0.2/lib/window.dart:25:12: Context: 'DesktopWindow.visible' is defined here.
bool get visible;
^^^^^^^
../../.pub-cache/git/bitsdojo_window-b9b1658ab4ddc8b26f4438a3f20a1890a10db006/bitsdojo_window/lib/src/other_platform.dart:105:7: Error: The non-abstract class 'OtherAppWindow' is missing implementations for these members:

  • DesktopWindow.isVisible
  • DesktopWindow.visible
    Try to either
  • provide an implementation,
  • inherit an implementation from a superclass or mixin,
  • mark the class as abstract, or
  • provide a 'noSuchMethod' implementation.

class OtherAppWindow extends OtherWindow {
^^^^^^^^^^^^^^
../../.pub-cache/hosted/pub.dartlang.org/bitsdojo_window_platform_interface-0.0.2/lib/window.dart:26:12: Context: 'DesktopWindow.isVisible' is defined here.
bool get isVisible;
^^^^^^^^^
../../.pub-cache/hosted/pub.dartlang.org/bitsdojo_window_platform_interface-0.0.2/lib/window.dart:25:12: Context: 'DesktopWindow.visible' is defined here.
bool get visible;
^^^^^^^
../../.pub-cache/hosted/pub.dartlang.org/bitsdojo_window_windows-0.0.1/lib/src/app_window.dart:14:7: Error: The non-abstract class 'WinAppWindow' is missing implementations for these members:

  • DesktopWindow.isVisible
  • DesktopWindow.visible
    Try to either
  • provide an implementation,
  • inherit an implementation from a superclass or mixin,
  • mark the class as abstract, or
  • provide a 'noSuchMethod' implementation.

class WinAppWindow extends WinWindow {
^^^^^^^^^^^^
../../.pub-cache/hosted/pub.dartlang.org/bitsdojo_window_platform_interface-0.0.2/lib/window.dart:26:12: Context: 'DesktopWindow.isVisible' is defined here.
bool get isVisible;
^^^^^^^^^
../../.pub-cache/hosted/pub.dartlang.org/bitsdojo_window_platform_interface-0.0.2/lib/window.dart:25:12: Context: 'DesktopWindow.visible' is defined here.
bool get visible;
^^^^^^^
../../.pub-cache/hosted/pub.dartlang.org/bitsdojo_window_macos-0.0.1/lib/src/app_window.dart:6:7: Error: The non-abstract class 'MacAppWindow' is missing implementations for these members:

  • DesktopWindow.isVisible
  • DesktopWindow.visible
    Try to either
  • provide an implementation,
  • inherit an implementation from a superclass or mixin,
  • mark the class as abstract, or
  • provide a 'noSuchMethod' implementation.

class MacAppWindow extends MacOSWindow {
^^^^^^^^^^^^
../../.pub-cache/hosted/pub.dartlang.org/bitsdojo_window_platform_interface-0.0.2/lib/window.dart:26:12: Context: 'DesktopWindow.isVisible' is defined here.
bool get isVisible;
^^^^^^^^^
../../.pub-cache/hosted/pub.dartlang.org/bitsdojo_window_platform_interface-0.0.2/lib/window.dart:25:12: Context: 'DesktopWindow.visible' is defined here.
bool get visible;
^^^^^^^
../../.pub-cache/git/bitsdojo_window-b9b1658ab4ddc8b26f4438a3f20a1890a10db006/bitsdojo_window_linux/lib/src/app_window.dart:14:7: Error: The non-abstract class 'GtkAppWindow' is missing implementations for these members:

  • DesktopWindow.isVisible
  • DesktopWindow.visible
    Try to either
  • provide an implementation,
  • inherit an implementation from a superclass or mixin,
  • mark the class as abstract, or
  • provide a 'noSuchMethod' implementation.

class GtkAppWindow extends GtkWindow {
^^^^^^^^^^^^
../../.pub-cache/hosted/pub.dartlang.org/bitsdojo_window_platform_interface-0.0.2/lib/window.dart:26:12: Context: 'DesktopWindow.isVisible' is defined here.
bool get isVisible;
^^^^^^^^^
../../.pub-cache/hosted/pub.dartlang.org/bitsdojo_window_platform_interface-0.0.2/lib/window.dart:25:12: Context: 'DesktopWindow.visible' is defined here.
bool get visible;
^^^^^^^
../../.pub-cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:1111:7: Error: Struct 'ENUMLOGFONTEX' is empty. Empty structs are undefined behavior.
class ENUMLOGFONTEX extends Struct {
^
../../.pub-cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2835:7: Error: Struct 'BLUETOOTH_PIN_INFO' is empty. Empty structs are undefined behavior.
class BLUETOOTH_PIN_INFO extends Struct {
^
../../.pub-cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2960:7: Error: Struct 'EXCEPINFO' is empty. Empty structs are undefined behavior.
class EXCEPINFO extends Struct {}
^
../../.pub-cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2966:7: Error: Struct 'PROPERTYKEY' is empty. Empty structs are undefined behavior.
class PROPERTYKEY extends Struct {}
^
../../.pub-cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2973:7: Error: Struct 'PROPVARIANT' is empty. Empty structs are undefined behavior.
class PROPVARIANT extends Struct {}
^
../../.pub-cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2978:7: Error: Struct 'SAFEARRAY' is empty. Empty structs are undefined behavior.
class SAFEARRAY extends Struct {}
^
../../.pub-cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2985:7: Error: Struct 'CLSID' is empty. Empty structs are undefined behavior.
class CLSID extends Struct {}
^
../../.pub-cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2992:7: Error: Struct 'STATSTG' is empty. Empty structs are undefined behavior.
class STATSTG extends Struct {}
^
../../.pub-cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2999:7: Error: Struct 'NLM_SIMULATED_PROFILE_INFO' is empty. Empty structs are undefined behavior.
class NLM_SIMULATED_PROFILE_INFO extends Struct {}
^
../../.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf8.dart:23:7: Error: Struct 'Utf8' is empty. Empty structs are undefined behavior.
class Utf8 extends Struct {
^
../../.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf16.dart:16:7: Error: Struct 'Utf16' is empty. Empty structs are undefined behavior.
class Utf16 extends Struct {
^
../../.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/allocation.dart:47:33: Error: Expected type 'T' to be a valid and instantiated subtype of 'NativeType'.
final int totalSize = count * sizeOf();
^

FAILURE: Build failed with an exception.

  • Where:
    Script '/Users/nonnyzcsrt/FlutterSdk/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 991

  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command '/Users/nonnyzcsrt/FlutterSdk/flutter/bin/flutter'' finished with non-zero exit value 1

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 23s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done 24.7s
Exception: Gradle task assembleDebug failed with exit code 1
Porntheps-MacBook-Pro-686:lib nonnyzcsrt$ flutter channel
Flutter channels:
master

  • dev
    beta
    stable

Linux build error

✘ abc@xyz  ~/Downloads/linux_build/bundle  ./flutter_folio
flutter: firestore-DART Initialized
flutter: Bootstrap Started, v1.0.0-RC6
flutter: Loading file @ /home/abc/.local/share/flutterfolio/app-model
flutter: FileSystemException: Cannot open file, path = '/home/abc/.local/share/flutterfolio/app-model' (OS Error: No such file or directory, errno = 2)
flutter: Failed to decode save file json: NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
flutter: File loaded, Rect.fromLTRB(0.0, 0.0, 0.0, 0.0)
flutter: Invalid argument(s): Failed to load dynamic library (libgtk-3.so: cannot open shared object file: No such file or directory)
flutter: #0 _open (dart:ffi-patch/ffi_dynamic_library_patch.dart:11)
flutter: #1 new DynamicLibrary.open (dart:ffi-patch/ffi_dynamic_library_patch.dart:20)
flutter: #2 _libgtk (package:bitsdojo_window_linux/src/gtk.dart:5)
flutter: #3 gtkWindowIsMaximized (package:bitsdojo_window_linux/src/gtk.dart)
flutter: #4 GtkWindow.isMaximized (package:bitsdojo_window_linux/src/window.dart)
flutter: #5 LinuxTitleBar.build (package:flutter_folio/_utils/native_window_utils/titlebar_wrappers/linux_title_bar.dart:39)
flutter: #6 StatelessElement.build (package:flutter/src/widgets/framework.dart:4661)
flutter: #7 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4587)
flutter: #8 Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #9 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4566)
flutter: #10 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4561)
flutter: #11 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3623)
flutter: #12 Element.updateChild (package:flutter/src/widgets/framework.dart:3378)
flutter: #13 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #14 Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #15 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4566)
flutter: #16 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4561)
flutter: #17 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3623)
flutter: #18 Element.updateChild (package:flutter/src/widgets/framework.dart:3378)
flutter: #19 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:5653)
flutter: #20 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6197)
flutter: #21 Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #22 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #23 Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #24 ProxyElement.update (package:flutter/src/widgets/framework.dart:4935)
flutter: #25 Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #26 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6073)
flutter: #27 Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #28 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #29 Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #30 StatelessElement.update (package:flutter/src/widgets/framework.dart:4668)
flutter: #31 Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #32 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #33 Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #34 StatelessElement.update (package:flutter/src/widgets/framework.dart:4668)
flutter: #35 Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #36 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #37 Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #38 ProxyElement.update (package:flutter/src/widgets/framework.dart:4935)
flutter: #39 Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #40 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #41 Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #42 ProxyElement.update (package:flutter/src/widgets/framework.dart:4935)
flutter: #43 Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #44 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:5595)
flutter: #45 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6197)
flutter: #46 Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #47 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #48 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4759)
flutter: #49 Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #50 StatefulElement.update (package:flutter/src/widgets/framework.dart:4791)
flutter: #51 Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #52 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #53 Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #54 ProxyElement.update (package:flutter/src/widgets/framework.dart:4935)
flutter: #55 Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #56 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #57 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4759)
flutter: #58 Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #59 StatefulElement.update (package:flutter/src/widgets/framework.dart:4791)
flutter: #60 Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #61 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6073)
flutter: #62 Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #63 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #64 Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #65 StatelessElement.update (package:flutter/src/widgets/framework.dart:4668)
flutter: #66 Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #67 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6073)
flutter: #68 Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #69 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #70 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4759)
flutter: #71 Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #72 StatefulElement.update (package:flutter/src/widgets/framework.dart:4791)
flutter: #73 Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #74 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #75 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4759)
flutter: #76 Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #77 StatefulElement.update (package:flutter/src/widgets/framework.dart:4791)
flutter: #78 Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #79 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #80 Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #81 ProxyElement.update (package:flutter/src/widgets/framework.dart:4935)
flutter: #82 Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #83 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #84 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4759)
flutter: #85 Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #86 StatefulElement.update (package:flutter/src/widgets/framework.dart:4791)
flutter: #87 Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #88 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:5595)
flutter: #89 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6197)
flutter: #90 Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #91 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #92 Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #93 StatelessElement.update (package:flutter/src/widgets/framework.dart:4668)
flutter: #94 Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #95 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #96 Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #97 StatelessElement.update (package:flutter/src/widgets/framework.dart:4668)
flutter: #98 Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #99 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
^C
✘ abc@xyz  ~/Downloads/linux_build/bundle 

I'm using ubuntu 20.04.

Where can I find the missing file?

Cannot start web

Hello, I am getting a weird error when trying to run as web profile.

flutter run -d web                                                                                            
Downloading package sky_engine...                                  329ms
Downloading flutter_patched_sdk tools...                           842ms
Downloading flutter_patched_sdk_product tools...                 1,031ms
Downloading darwin-x64 tools...                                  1,933ms
error:  cannot delete old /Volumes/DataMain/Develop/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Resources
        Operation not permitted
error:  cannot delete old /Volumes/DataMain/Develop/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Versions/Current
        Operation not permitted
error:  cannot delete old /Volumes/DataMain/Develop/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Headers
        Operation not permitted
error:  cannot delete old /Volumes/DataMain/Develop/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Modules
        Operation not permitted

Oops; flutter has exited unexpectedly: "ProcessException: The command failed
Stdout:

Stderr:
error:  cannot delete old /Volumes/DataMain/Develop/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Resources
        Operation not permitted
error:  cannot delete old /Volumes/DataMain/Develop/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Versions/Current
        Operation not permitted
error:  cannot delete old /Volumes/DataMain/Develop/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Headers
        Operation not permitted
error:  cannot delete old /Volumes/DataMain/Develop/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Modules
        Operation not permitted

  Command: unzip -o -q /Volumes/DataMain/Develop/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework.zip -d /Volumes/DataMain/Develop/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework".
A crash report has been written to /Volumes/DataMain/Downloads/flutter-folio/flutter_03.log.

'AnimatedScale' is imported from both

[✓] Flutter (Channel beta, 2.5.0, on macOS 11.3.1 20E241 darwin-x64, locale
    en-CN)
lib/views/auth_page/device_screens.dart:88:18: Error: 'AnimatedScale' is imported from both 'package:flutter/src/widgets/implicit_animations.dart' and 'package:flutter_folio/_widgets/animated/animated_scale.dart'.
          child: AnimatedScale(
                 ^^^^^^^^^^^^^
lib/views/home_page/covers_sortable_list.dart:187:22: Error: 'AnimatedRotation' is imported from both 'package:flutter/src/widgets/implicit_animations.dart' and 'package:flutter_folio/_widgets/animated/animated_rotation.dart'.
              child: AnimatedRotation(
                     ^^^^^^^^^^^^^^^^
lib/views/home_page/book_cover/book_cover.dart:81:17: Error: 'AnimatedScale' is imported from both 'package:flutter/src/widgets/implicit_animations.dart' and 'package:flutter_folio/_widgets/animated/animated_scale.dart'.
                AnimatedScale(
                ^^^^^^^^^^^^^
Failed to compile application.

No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp()

I get the the following error

"No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp()"

This if my system configuration:

doctor --verbose
[√] Flutter (Channel stable, 2.0.1, on Microsoft Windows [Versione 10.0.19042.867], locale it-IT)
• Flutter version 2.0.1 at C:\flutter
• Framework revision c5a4b4029c (7 days ago), 2021-03-04 09:47:48 -0800
• Engine revision 40441def69
• Dart version 2.12.0

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at C:\Users\Admin1\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses

[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] Connected device (3 available)
• sdk gphone x86 arm (mobile) • emulator-5554 • android-x86 • Android 11 (API 30) (emulator)
• Chrome (web) • chrome • web-javascript • Google Chrome 89.0.4389.82
• Edge (web) • edge • web-javascript • Microsoft Edge 84.0.522.73

! Doctor found issues in 1 category.
Process finished with exit code 0

iOS required a higher minimum deployment target.

I deleted the pod.lock file and did a "pod install"
then I get this error message

Analyzing dependencies
cloud_firestore: Using Firebase SDK version '7.3.0' defined in 'firebase_core'
firebase_auth: Using Firebase SDK version '7.3.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '7.3.0' defined in 'firebase_core'
[!] CocoaPods could not find compatible versions for pod "cloud_firestore":
  In Podfile:
    cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`)

Specs satisfying the `cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`)` dependency were found, but they required a higher minimum deployment target.

[!] Automatically assigning platform `iOS` with version `9.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

Then I changed deployment target to 10.0 and pod install successfully but when build it throws another error:

flutter-folio/ios/Pods/BSImagePicker/Sources/Controller/PhotosViewController.swift:25:8: error: compiling for iOS 9.0, but module 'BSGridCollectionViewLayout' has a minimum deployment target of iOS 10.0: /Users/pengfeihuang/Library/Developer/Xcode/DerivedData/Runner-epcmdumldcscgsbgqnwqkeirsrxe/Build/Products/Debug-iphoneos/BSGridCollectionViewLayout/BSGridCollectionViewLayout.framework/Modules/BSGridCollectionViewLayout.swiftmodule/arm64-apple-ios.swiftmodule
import BSGridCollectionViewLayout

how do I fix this?

Minimising a window causes a crash

On Linux Mint 19.3 (based on Ubuntu 18.04 LTS).

[xcb] Unknown sequence number while processing reply
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
flutter_folio: ../../src/xcb_io.c:639: _XReply: Warunek zapewnienia `!xcb_xlib_threads_sequence_lost' nie został spełniony.
Lost connection to device.
flutter doctor -v [✓] Flutter (Channel dev, 2.1.0-12.1.pre, on Linux, locale pl_PL.UTF-8) • Flutter version 2.1.0-12.1.pre at /home/dgr/development/flutter • Framework revision 8264cb3e8a (2 weeks ago), 2021-03-10 12:37:57 -0800 • Engine revision 711ab3fda0 • Dart version 2.13.0 (build 2.13.0-116.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /home/dgr/Android/Sdk
• Platform android-30, build-tools 30.0.3
• ANDROID_HOME = /home/dgr/Android/Sdk
• Java binary at: /home/dgr/.local/share/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7199119/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.

[✓] Linux toolchain - develop for Linux desktop
• clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
• cmake version 3.10.2
• ninja version 1.8.2
• pkg-config version 0.29.1

[✓] Android Studio (version 4.1)
• Android Studio at /home/dgr/.local/share/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7199119
• Flutter plugin version 54.1.1
• Dart plugin version 201.9335
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] Connected device (1 available)
• Linux (desktop) • linux • linux-x64 • Linux

• No issues found!

Please notice old cmake and ninja - maybe this is an issue.

No password reset

Please add the feature to send an email for resetting the password.

And you could add a second input field for the password at the registration. The feature to make the input value visible would be awesome too.

Windows 10 run error

I downloaded the Wondows version from https://flutter.gskinner.com/#g-download
When I run the program an enter an email address in the registration dialog, the complete keyboard is not useable as soon as I type the @ Character.
It feels like SHIFT and ALT are permantently pressed as with the CAPS-Lock key.

Public API KEYS

I'm not sure if it is intentional o not, but you leave your FIREBASE and OTHERS API KEYS public

Linux run error

Mint 19.1 x86 binaries from the site.
Clean gray screen and output in the console:

flutter: firestore-DART Initialized
flutter: Bootstrap Started, v1.0.0-RC6
flutter: Loading file @ /home/george/.local/share/flutterfolio/app-model
flutter: FileSystemException: Cannot open file, path = '/home/george/.local/share/flutterfolio/app-model' (OS Error: No such file or directory, errno = 2)
flutter: Failed to decode save file json: NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
flutter: File loaded, Rect.fromLTRB(0.0, 0.0, 0.0, 0.0)
flutter: UnimplementedError: appWindow has not been implemented.
flutter: #0      BitsdojoWindowPlatform.appWindow (package:bitsdojo_window_platform_interface/bitsdojo_window_platform_interface.dart:45)
flutter: #1      appWindow (package:bitsdojo_window/src/app_window.dart:44)
flutter: #2      LinuxTitleBar.build (package:flutter_folio/_utils/native_window_utils/titlebar_wrappers/linux_title_bar.dart:39)
flutter: #3      StatelessElement.build (package:flutter/src/widgets/framework.dart:4661)
flutter: #4      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4587)
flutter: #5      Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #6      ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4566)
flutter: #7      ComponentElement.mount (package:flutter/src/widgets/framework.dart:4561)
flutter: #8      Element.inflateWidget (package:flutter/src/widgets/framework.dart:3623)
flutter: #9      Element.updateChild (package:flutter/src/widgets/framework.dart:3378)
flutter: #10     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #11     Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #12     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4566)
flutter: #13     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4561)
flutter: #14     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3623)
flutter: #15     Element.updateChild (package:flutter/src/widgets/framework.dart:3378)
flutter: #16     RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:5653)
flutter: #17     MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6197)
flutter: #18     Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #19     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #20     Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #21     ProxyElement.update (package:flutter/src/widgets/framework.dart:4935)
flutter: #22     Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #23     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6073)
flutter: #24     Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #25     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #26     Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #27     StatelessElement.update (package:flutter/src/widgets/framework.dart:4668)
flutter: #28     Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #29     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #30     Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #31     StatelessElement.update (package:flutter/src/widgets/framework.dart:4668)
flutter: #32     Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #33     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #34     Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #35     ProxyElement.update (package:flutter/src/widgets/framework.dart:4935)
flutter: #36     Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #37     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #38     Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #39     ProxyElement.update (package:flutter/src/widgets/framework.dart:4935)
flutter: #40     Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #41     RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:5595)
flutter: #42     MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6197)
flutter: #43     Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #44     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #45     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4759)
flutter: #46     Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #47     StatefulElement.update (package:flutter/src/widgets/framework.dart:4791)
flutter: #48     Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #49     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #50     Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #51     ProxyElement.update (package:flutter/src/widgets/framework.dart:4935)
flutter: #52     Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #53     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #54     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4759)
flutter: #55     Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #56     StatefulElement.update (package:flutter/src/widgets/framework.dart:4791)
flutter: #57     Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #58     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6073)
flutter: #59     Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #60     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #61     Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #62     StatelessElement.update (package:flutter/src/widgets/framework.dart:4668)
flutter: #63     Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #64     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6073)
flutter: #65     Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #66     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #67     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4759)
flutter: #68     Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #69     StatefulElement.update (package:flutter/src/widgets/framework.dart:4791)
flutter: #70     Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #71     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #72     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4759)
flutter: #73     Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #74     StatefulElement.update (package:flutter/src/widgets/framework.dart:4791)
flutter: #75     Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #76     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #77     Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #78     ProxyElement.update (package:flutter/src/widgets/framework.dart:4935)
flutter: #79     Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #80     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #81     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4759)
flutter: #82     Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #83     StatefulElement.update (package:flutter/src/widgets/framework.dart:4791)
flutter: #84     Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #85     RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:5595)
flutter: #86     MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6197)
flutter: #87     Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #88     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #89     Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #90     StatelessElement.update (package:flutter/src/widgets/framework.dart:4668)
flutter: #91     Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #92     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #93     Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #94     StatelessElement.update (package:flutter/src/widgets/framework.dart:4668)
flutter: #95     Element.updateChild (package:flutter/src/widgets/framework.dart:3365)
flutter: #96     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4612)
flutter: #97     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4759)
flutter: #98     Element.rebuild (package:flutter/src/widgets/framework.dart:4281)
flutter: #99     StatefulElement.update (package:flutter/src/widgets/framework.dart:4791)

Hot reload send me to login page on local web page

hi,

When ever I do hot reload on flutter web, it take me to login page. Then when I refresh it again manually, then it take me to user home page.
this works fine on mobile but not on web.

How to fix this?

Keys for firebase

hey guys

any of you are aware that the firebase keys are wide open in the website? just for the records, to be honest =) ... be careful with that before someone tries to do something =)

Cheers =)

Can not build on macOS

Running flutter run -d macos gives:

error: No signing certificate "Developer ID Application" found: No "Developer ID Application" signing certificate matching team ID "S3TL5AY6Y3" with a private key was found. (in target 'Runner' from project 'Runner')
** BUILD FAILED **  

I changed the Team in Xcode to None and the Signing Certificate to Sign to run locally. After that a flutter run -d macos gives the following:

Running pod install...                                             14.0s
ld: warning: dylib (/Users/christian/workspace/self/flutter/examples/flutter-folio/build/macos/Build/Products/Debug/FMDB/FMDB.framework/FMDB) was built for newer macOS version (10.12) than being linked (10.11)
ld: warning: dylib (/Users/christian/workspace/self/flutter/examples/flutter-folio/build/macos/Build/Products/Debug/BoringSSL-GRPC/openssl_grpc.framework/openssl_grpc) was built for newer macOS version (10.12) than being linked (10.9)
../../sdks/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:1111:7: Error: Struct 'ENUMLOGFONTEX' is empty. Empty structs are undefined behavior.
class ENUMLOGFONTEX extends Struct {                                    
      ^                                                                 
../../sdks/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2835:7: Error: Struct 'BLUETOOTH_PIN_INFO' is empty. Empty structs are undefined behavior.
class BLUETOOTH_PIN_INFO extends Struct {                               
      ^                                                                 
../../sdks/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2960:7: Error: Struct 'EXCEPINFO' is empty. Empty structs are undefined behavior.
class EXCEPINFO extends Struct {}                                       
      ^                                                                 
../../sdks/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2966:7: Error: Struct 'PROPERTYKEY' is empty. Empty structs are undefined behavior.
class PROPERTYKEY extends Struct {}                                     
      ^                                                                 
../../sdks/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2973:7: Error: Struct 'PROPVARIANT' is empty. Empty structs are undefined behavior.
class PROPVARIANT extends Struct {}                                     
      ^                                                                 
../../sdks/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2978:7: Error: Struct 'SAFEARRAY' is empty. Empty structs are undefined behavior.
class SAFEARRAY extends Struct {}                                       
      ^                                                                 
../../sdks/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2985:7: Error: Struct 'CLSID' is empty. Empty structs are undefined behavior.
class CLSID extends Struct {}                                           
      ^                                                                 
../../sdks/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2992:7: Error: Struct 'STATSTG' is empty. Empty structs are undefined behavior.
class STATSTG extends Struct {}                                         
      ^                                                                 
../../sdks/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2999:7: Error: Struct 'NLM_SIMULATED_PROFILE_INFO' is empty. Empty structs are undefined behavior.
class NLM_SIMULATED_PROFILE_INFO extends Struct {}                      
      ^                                                                 
../../sdks/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf8.dart:23:7: Error: Struct 'Utf8' is empty. Empty structs are undefined behavior.
class Utf8 extends Struct {                                             
      ^                                                                 
../../sdks/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf16.dart:16:7: Error: Struct 'Utf16' is empty. Empty structs are undefined behavior.
class Utf16 extends Struct {                                            
      ^                                                                 
../../sdks/flutter_macos_2.0.0-stable/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/allocation.dart:47:33: Error: Expected type 'T' to be a valid and instantiated subtype of 'NativeType'.
  final int totalSize = count * sizeOf<T>();                            
                                ^                                       
                                                                        
Command PhaseScriptExecution failed with a nonzero exit code            
note: Using new build system                                            
note: Building targets in parallel                                      
note: Planning build                                                    
note: Constructing build description                                    
** BUILD FAILED **                                                      
                                                                        
Building macOS application...                                           
Exception: Build process failed

Here's my flutter doctor output

❯ flutter doctor                                                                                                                                                                                                    
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, 2.1.0-10.0.pre, on macOS 11.2.1 20D74 darwin-x64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS
[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.54.0)
[✓] Connected device (1 available)

! Doctor found issues in 1 category.

Any ideas?

Build failed

This is a showcase of the flutter tech stack but it doesn't build - shouldn't it be maintained?

Launching lib/main.dart on Chrome in debug mode...
lib/main.dart:1
/opt/homebrew/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/visibility_detector-0.2.0/lib/src/visibility_detector_layer.dart:276:21: Error: Too many positional arguments: 1 allowed, but 2 found.
Try removing the extra positional arguments.
super.addToScene(builder, layerOffset);
^
Failed to compile application.
Exited (sigterm)

Question

Sorry in advance if this is not the place to ask questions.

I was just looking at your Router code to learn more about how you do things with navigator 2.0.

class TabbedRouterController extends RouterController<NavState1> {
  TabbedRouterController(NavState1 state) : super(state);

  void showTopPage(String value) => state = state.copyWith(topPage: value);

  void changeTab(int value) => state = state.copyWith(selectedTab: value);

  @override
  List<Page> buildPages() {
    return [
      // The main view that handles switching tabs based on the .selectedTab (using Provider to bind)
      _AppPage("main", ExampleTabScaffold()),
      // Add full screen page on top of our main tab view?
      if (state.topPage == NavState1.settingsPageLink) ...[
        _AppPage(NavState1.settingsPageLink, FullScreenView("SETTINGS")),
      ] else if (state.topPage == NavState1.profilePageLink) ...[
        _AppPage(NavState1.profilePageLink, FullScreenView("SIGNUP")),
      ]
    ];
  }

I was just wondering, if the only way to present a full screen view is within the top level navigator?

E.g. if i had a nested navigator, and wanted that nested navigator to present a full screen view it wouldn't work right?

Cannot sign in and sing up on Android version.

When I run the repository on Android, I cannot sign in with my existing account. Then I tried to create a new account, but I got a message telling a user with the email exists even on made-up emails.
I checked logs and found:
No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp()
I added Firebase.initializeApp() in main(), however still get issues:

W/System  ( 8677): Ignoring header X-Firebase-Locale because its value was null.
D/FirebaseAuth( 8677): Notifying id token listeners about user ( 40f53Ps4FdeNCniH9ttRZsCd4W82 ).
I/flutter ( 8677): Authentication complete, user=AppUser(documentId: null, email: --my-email--, fireId: 40f53Ps4FdeNCniH9ttRZsCd4W82, firstName: null, lastName: null, imageUrl: null)
I/flutter ( 8677): SetCurrentUserCommand: AppUser(documentId: null, email: --my-email--, fireId: 40f53Ps4FdeNCniH9ttRZsCd4W82, firstName: null, lastName: null, imageUrl: null)
I/flutter ( 8677): RouterDelegate.build()
W/er.flutterfoli( 8677): Accessing hidden method Lsun/misc/Unsafe;->putLong(Ljava/lang/Object;JJ)V (greylist, linking, allowed)
W/er.flutterfoli( 8677): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed)
I/flutter ( 8677): restoreRouteInfo: /?u=emFrcm8xOTk2QGdtYWlsLmNvbQ==&
W/er.flutterfoli( 8677): Accessing hidden method Lsun/misc/Unsafe;->putLong(Ljava/lang/Object;JJ)V (greylist, linking, allowed)
W/er.flutterfoli( 8677): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, linking, allowed)
I/flutter ( 8677): NoSuchMethodError: The method '[]=' was called on null.
I/flutter ( 8677): Receiver: null
I/flutter ( 8677): Tried calling: []=("documentId", "--my-email--")
W/er.flutterfoli( 8677): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, linking, allowed)
I/flutter ( 8677): NoSuchMethodError: The method '[]' was called on null.
I/flutter ( 8677): Receiver: null
I/flutter ( 8677): Tried calling: []("documentId")
I/flutter ( 8677): Saving: app-model
W/er.flutterfoli( 8677): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)

Unable to build repo on Mac OS X 10.15.7 with Xcode 12.4

I just cloned the flutter-folio repo and ran through the build instructions

✏️ [starksm@Scotts-iMacPro#1115]-(flutter-folio)-[git://master ✔]-
└> flutter upgrade
Flutter is already up to date on channel stable
Flutter 2.2.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision b22742018b (13 days ago) • 2021-05-14 19:12:57 -0700
Engine • revision a9d88a4d18
Tools • Dart 2.13.0└> flutter upgrade
Flutter is already up to date on channel stable
Flutter 2.2.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision b22742018b (13 days ago) • 2021-05-14 19:12:57 -0700
Engine • revision a9d88a4d18
Tools • Dart 2.13.0
✏️ [starksm@Scotts-iMacPro#1115]-(flutter-folio)-[git://master ✔]-
└> flutter config --enable-macos-desktop
Setting "enable-macos-desktop" value to "true".

You may need to restart any open editors for them to read new settings.
✏️ [starksm@Scotts-iMacPro#1116]-(flutter-folio)-[git://master ✔]-
└> flutter run -d macos
Launching lib/main.dart on macOS in debug mode...
Running pod install...                                              8.4s
note: Using new build system                                            
note: Building targets in parallel                                      
note: Planning build                                                    
note: Constructing build description                                    
warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.7, but the range of supported deployment target versions is 10.9 to 11.1.99. (in target 'leveldb-library' from project 'Pods')
error: No signing certificate "Mac Development" found: No "Mac Development" signing certificate matching team ID "S3TL5AY6Y3" with a private key was found. (in target 'Runner' from project 'Runner')
warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.7, but the range of supported deployment target versions is 10.9 to 11.1.99. (in target 'BoringSSL-GRPC' from project 'Pods')
warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.6, but the range of supported deployment target versions is 10.9 to 11.1.99. (in target 'FMDB' from project 'Pods')
** BUILD FAILED **                                                      
                                                                        
Building macOS application...                                           
Exception: Build process failed
✏️ [starksm@Scotts-iMacPro#1117]-(flutter-folio)-[git://master ✗]-
└> flutter doctor
└> flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.2.0, on Mac OS X 10.15.7 19H1030 darwin-x64,
    locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.2)
[!] Android Studio
    ✗ Android Studio not found at /Users/starksm/Library/Application
      Support/Google/AndroidStudio4.1/Contents
[✓] VS Code (version 1.53.0)
[✓] Connected device (3 available)

! Doctor found issues in 1 category.

I am able to create a shell flutter app and run it as a macOS app without any problems:

✏️ [starksm@Scotts-iMacPro#1133]-(Flutter)
└> flutter create myapp
Recreating project myapp...
  myapp/android/app/src/main/res/values-night/styles.xml (created)
  myapp/android/app/src/main/res/drawable-v21/launch_background.xml (created)
Running "flutter pub get" in myapp...                            1,204ms
Wrote 5 files.

All done!
In order to run your application, type:

  $ cd myapp
  $ flutter run

Your application code is in myapp/lib/main.dart.

✏️ [starksm@Scotts-iMacPro#1134]-(Flutter)
└> cd myapp 
✏️ [starksm@Scotts-iMacPro#1135]-(myapp)
└> flutter run -d macos
Launching lib/main.dart on macOS in debug mode...
Upgrading project.pbxproj
Building macOS application...                                           
Syncing files to device macOS...                                    58ms

Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h Repeat this help message.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

Running with unsound null safety
For more information see https://dart.dev/null-safety/unsound-null-safety

An Observatory debugger and profiler on macOS is available at:
http://127.0.0.1:60904/p7YU83KTA7g=/
Activating Dart DevTools...                                      1,769ms
The Flutter DevTools debugger and profiler on macOS is available at:
http://127.0.0.1:9101?uri=http%3A%2F%2F127.0.0.1%3A60904%2Fp7YU83KTA7g%3D%2F
Lost connection to device.

windows无法登录

点击登录,输入邮箱,输入不了,以及选择注册账户,同样出现故障

Web flat build failed

Launching lib/main.dart on Chrome in debug mode...
lib/main.dart:1
ERROR - 2021-11-19 11:42:40.664271
GET /main_module.bootstrap.js
Error thrown by handler.
AbsoluteImportUriError: 'file:///Users/zangmingzheng/Desktop/code/huifeideyema/flutter-folio/.dart_tool/flutter_build/generated_main.dart'
.dart_tool/flutter_build/generated_main.dart:1

package:dwds/src/debugging/metadata/provider.dart 232:9 MetadataProvider._addMetadata
package:dwds/src/debugging/metadata/provider.dart 204:15 MetadataProvider._initialize.

Failed to load resource: the server responded with a status of 500 (Internal Server Error)
require.js:143 Uncaught Error: Script error for "main_module.bootstrap"
http://requirejs.org/docs/errors.html#scripterror
at makeError (require.js:168)
at HTMLScriptElement.onScriptError (require.js:1738)

Windows version: Problem with setting first/last name

How to trigger issue:

  • download windows build
  • log in
  • click top left corner (update profile)
  • click inside textedit of first name or last name
  • try to set a name

What we expect: you can type a name of multiple characters
What happens: after typing 1 character (which is shown) the text edit box loses focus, and you all other typed characters are lost.
You need to tap on the text edit box after each character to be able to add another character

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.