Skip to content

Decouple from Material libraries #2255

In progress
1 of 3 issues completed
In progress

Description

@JaffaKetchup

As the Flutter team works towards deprecating the 'package:flutter/material.dart' import now that 'package:material_ui' and 'package:cupertino_ui' are available, we should take the opportunity to remove all dependency on the Material design system that we have.

Luckily, we have little dependency on Material already. Our dependencies lie in the following:

  • Unnecessary imports of 'material.dart' instead of 'widgets.dart' or 'dart:ui'
  • The attribution widgets
  • Tests and benchmarks
  • The example project

We currently support Flutter 3.27, although since 9271708, that's been raised to Flutter 3.41. We should remain as backwards-supporting as possible within reason.

To transition the example app, minimum Flutter 3.47 will be required. See also #2303 (comment).

Note that to build the example app on Android from Flutter >=3.50 requires configuration only supported by Flutter >=3.47.

Sub-issues

Sub-issues

1 of 3 Issues completed
Loading 3 sub-issues

Metadata

Metadata

Assignees

Labels

No labels
No labels

Fields

Priority

Medium

Effort

Low

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions