Skip to content

Nullable types #164

Open
Open

Description

@Norbert515
class FramyProfitIndicatorBoxCustomPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return FramyCustomPage(
      key: Key('Framy_ProfitIndicatorBox_Page'),
      dependencies: [
        FramyDependencyModel<Key*>('key', 'Key*', null),
FramyDependencyModel<double*>('profit', 'double*', null),

      ],
      builder: (DependencyValueGetter valueGetter) {
        return ProfitIndicatorBox(
  key: valueGetter('key'),
profit: valueGetter('profit'),

  );
      },
    );
  }
}

DartType ->

  /// If [withNullability] is `true`, then [NullabilitySuffix.question] and
  /// [NullabilitySuffix.star] will be be represented as `?` and `*`.
  /// [NullabilitySuffix.none] does not have any explicit presentation.
  ///
  /// If [withNullability] is `false`, nullability suffixes will not be
  /// included into the presentation.

My project is not null safe (wasn't able to fix by changing that)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions