-
Notifications
You must be signed in to change notification settings - Fork 3
48 create component radio button #157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
c32fd35
to
db7bc57
Compare
app/lib/ui/components/radio_button/radioButton_code_generator.dart
Outdated
Show resolved
Hide resolved
app/lib/ui/components/radio_button/radioButton_code_generator.dart
Outdated
Show resolved
Hide resolved
app/lib/ui/components/radio_button/radioButton_customization.dart
Outdated
Show resolved
Hide resolved
app/lib/ui/components/radio_button/radioButton_demo_screen.dart
Outdated
Show resolved
Hide resolved
app/lib/ui/components/radio_button/radioButton_item_demo_screen.dart
Outdated
Show resolved
Hide resolved
ouds_core/lib/components/control/internal/controller/interaction_state_controller.dart
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,140 @@ | |||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
je pense que ce serait plus pertinent d'avoir le nom du dossier comme ceci : radio_button au lieu de radio
ouds_core/lib/components/radio_button/ouds_radio_button.dart
import 'package:ouds_core/components/utilities/app_assets.dart'; | ||
import 'package:ouds_core/ouds_theme.dart'; | ||
|
||
class OudsRadioButton<T> extends StatefulWidget { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deux petites améliorations sur la documentation :
- La mettre juste au dessus de la classe donc à la ligne 35
- Je te fournis la documentation juste en dessus :
///
/// [OUDS Radio Button Design Guidelines](https://unified-design-system.orange.com/472794e18/p/90c467-radio-button)
///
/// An OUDS-compliant radio button widget.
///
/// This widget displays a radio button that is part of a group. It determines its selected state
/// by comparing its own [value] with the current [groupValue]. It also supports an error state
/// and notifies changes through [onChanged].
///
/// @param [value] The value represented by this radio button. Used to determine selection.
/// @param [groupValue] The currently selected value in the radio button group.
/// This radio button is considered selected if [value] == [groupValue].
/// @param [onChanged] Callback triggered when the user selects this radio button.
/// If `null`, the radio button is disabled and non-interactive.
/// @param [isError] Indicates whether the radio button is in an error state.
///
/// @sample com.orange.ouds.core.component.samples.OudsRadioButtonSample
@AhmedAmineZr In the pressed state, the outlined option should be applied to the item, as seen in the iOS or Android versions. |
a1c8058
to
21d6bac
Compare
d62dea4
to
4e175b8
Compare
📣 New Firebase App Distribution ALPHA upload available 🚀 (Android) Please, get the new build from App Tester app, or contact the project maintainers (@Tayebsed93) to get access. Display name: DesignToolbox (alpha) (186) |
📣 New TestFlight ALPHA upload available 🚀 (iOS) Please, get the new build from TestFlight app, or contact the project maintainers (@Tayebsed93) to get access. Display name: Design Toolbox Flutter (186) |
Note: Please transform
- [ ]
into- (NA)
in the description when things are not applicableRelated issues
#48
Description
Motivation & Context
Types of change
Previews
Checklist
Contribution
Accessibility
Design
Development
Documentation
Checklist (for Core Team only)