Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 1.62 KB

README.md

File metadata and controls

54 lines (39 loc) · 1.62 KB

grand_copperframe

Experimental

The higher level data model for copperframe

The data model used by copperframe components

Hero image for grand_copperframe

Highlights:

  • Create friendly user message
  • Create a skeleton for rules with friendly messages

A few examples:

Create a message:

final  message  =  CopperframeMessage(  label:  'This  is  an  info
message',  level:  CopperframeMessageLevel.info,  category:  'usage',  );

Create a rule:

final  rule  =  CopperframeFieldRule(  name:  'Length  Check',  options:
{'min':  '1',  'max':  '255'},  successMessages:  [  failureMessages:  [
message  ],  );

Documentation and links

Related