Skip to content

关于Flutter中的StatefulWidget小优化 一文写法报错 #13

@superiums

Description

@superiums

关于Flutter中的StatefulWidget小优化 一文,按你的写法:
abstract class usefulStatefulWidget extends _Stateful with State<StatefulWidget> {}
报错:The class 'State' can't be used as a mixin because it extends a class other than Object.

Activity

AweiLoveAndroid

AweiLoveAndroid commented on May 30, 2019

@AweiLoveAndroid
Owner

收到

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @superiums@AweiLoveAndroid

        Issue actions

          关于Flutter中的StatefulWidget小优化 一文写法报错 · Issue #13 · AweiLoveAndroid/Flutter-learning