Skip to content

Commit

Permalink
Merge branch 'master' into DX-1695
Browse files Browse the repository at this point in the history
  • Loading branch information
witwash authored Jun 3, 2024
2 parents 3e92011 + 31d7fbd commit 846f8a7
Show file tree
Hide file tree
Showing 14 changed files with 591 additions and 280 deletions.
1 change: 1 addition & 0 deletions optimus/lib/optimus.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export 'src/button/button_variant.dart';
export 'src/button/dropdown.dart';
export 'src/button/icon.dart';
export 'src/button/split.dart';
export 'src/button/toggle.dart';
export 'src/card.dart';
export 'src/chat/bubble.dart';
export 'src/chat/chat.dart';
Expand Down
6 changes: 2 additions & 4 deletions optimus/lib/src/badge/badge.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import 'package:flutter/material.dart';
import 'package:optimus/src/badge/badge_variant.dart';
import 'package:optimus/src/badge/base_badge.dart';
import 'package:optimus/src/button/button_variant.dart';
import 'package:optimus/src/theme/theme.dart';

/// Badges are meant to give a subtle feedback about some state change.
Expand All @@ -18,9 +17,8 @@ class OptimusBadge extends StatelessWidget {
/// Text of the badge. If empty, badge will be represented as a simple dot.
final String text;

/// Whether to use the outline. Intended to be enabled when the badge is used
/// for example on top of the [OptimusButtonVariant.ghost]. Outlined version
/// could be more accessible, depending on the underlying component.
/// Whether to use the outline. Outlined version could be more accessible,
/// depending on the underlying component.
final bool outline;

/// Define how to display the overflowing text. Defaults to
Expand Down
Loading

0 comments on commit 846f8a7

Please sign in to comment.