Skip to content

Non-blocking! Class named Text in this project #692

@ivofernandes

Description

@ivofernandes

My issue is about [Mobile]

I have tried running example directory successfully before creating an issue here.

Using the version 4.0.5 of this package I run into the error:

Error: 'Text' is imported from both 'package:flutter/src/widgets/text.dart' and 'package:flutter_quill/src/models/documents/nodes/leaf.dart'.
Text('Font size', style: Theme.of(context).textTheme.headline6),
^^^^

The problem probably is the naming of this class that is the same of the Text Widget of flutter, probably there is an easy workaround as is something with imports, but

https://github.com/singerdmx/flutter-quill/blob/master/lib/src/models/documents/nodes/leaf.dart

To solve the problem we can always use the material Text in another file/widget to avoid the problem in the imports

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