| 所属类别 | 命名习惯 | 示例 |
|---|---|---|
| RenderObject | 以Render开头 | RenderMyRenderBox |
| mixin 混入 | 以Mixin结尾 | MaterialStateMixin |
| State子类 | 以State结尾 | _ButtonStyleState |
| 所属类别 | 命名习惯 | 示例 |
|---|---|---|
| RenderObject | 以Render开头 | RenderMyRenderBox |
| mixin 混入 | 以Mixin结尾 | MaterialStateMixin |
| State子类 | 以State结尾 | _ButtonStyleState |
本文标题:【Flutter】组件命名惯例
本文链接:https://www.haomeiwen.com/subject/cuwfdrtx.html
网友评论