Creating custom design system similar to material by reusing the flutter/material as part of a package #92399
Labels
f: material design
flutter/packages/flutter/material repository.
framework
flutter/packages/flutter repository. See also f: labels.
team-design
Owned by Design Languages team
triaged-design
Triaged by Design Languages team
Hi,
We are trying get very specific customization possibility than what material design provides by default. One approach of course is to create a design similar to flutter material. But creating entire design system from scratch is cumbersome. So we are trying to reuse flutter material and then customize it with minimal changes.
Steps to Reproduce
flutter run
on demo (https://github.com/msbasanth/test_widgets)No material widget found textfield widgets require a material widget ancestor
". We tried wrapping with Scaffold/Material no help. At the same time if we switch topackage:flutter/material
instead of locally copied one it works fine.Expected results:
It is good if we could customize flutter/material by keeping a copy of material locally.
Actual results:
Using Material layer locally creates issues, and it always expects base widgets from
package:flutter/material
.Code sample
https://github.com/msbasanth/test_widgets
flutter doctor -v
How best we ca reuse the flutter/material for creating a new design system with out a custom design from scratch.
The text was updated successfully, but these errors were encountered: