Skip to content

I get the following error when I run the example code #7

@ghost

Description

dependencies:
  flutter:
    sdk: flutter


  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^1.0.2
  zflutter: ^0.0.1+2
return Scaffold(
      appBar: AppBar(
        title: const Text('Position and planning'),
        elevation: 1,
        backgroundColor: Colors.orange,
      ),
      body: Container(
        child: ZIllustration(
          child: ZCircle(
            diameter: 80,
            stroke: 20,
            color: const Color(0xFFCC2255),
          ),
        ),
      ),
    );
For solutions, see https://dart.dev/go/unsound-null-safety
Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:

 - package:zflutter

 - package:quiver

For solutions, see https://dart.dev/go/unsound-null-safety

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions