conceptadev / mix

A styling system for Flutter
https://fluttermix.com
BSD 3-Clause "New" or "Revised" License
610 stars 38 forks source link

feat: Add MixOutlinedBorder #487

Closed tilucasoli closed 2 months ago

tilucasoli commented 2 months ago

Description

Changes

Review Checklist

Additional Information (optional)

To create your custom OutlinedBorder, you should create a Dto for your border, look at the example:

@MixableDto()
final class MyCustomBorderDto extends OutlinedBorderDto<MyCustomBorder>
    with _$MyCustomBorderDto {
  const MyCustomBorderDto({
    // ... The params
  });
}

To complete the creation, you need to create and define your Border, extending the CustomOutlinedBorder

class MyCustomBorder extends CustomOutlinedBorder<MyCustomBorderDto> {
// implement the border...
}
vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **mix-docs** | ⬜️ Ignored ([Inspect](https://vercel.com/fluttertools/mix-docs/FTjFLeud23Mhz4vcF9jG2UzFevd8)) | [Visit Preview](https://mix-docs-git-wip-extendable-border-fluttertools.vercel.app) | | Sep 25, 2024 6:25pm |