flushbar icon indicating copy to clipboard operation
flushbar copied to clipboard

Parameter names should be reversed.

Open ThinkDigitalSoftware opened this issue 4 years ago • 1 comments

/// The title displayed to the user final String title;

/// The message displayed to the user. final String message;

/// Replaces [title]. Although this accepts a [Widget], it is meant to receive [Text] or [RichText] final Widget titleText;

/// Replaces [message]. Although this accepts a [Widget], it is meant to receive [Text] or [RichText] final Widget messageText;

If this were to be consistent with Flutter naming schemes, we'd swap the names. title should be a Widget, and titleText should be a String. Take InputDecoration for example. Screen Shot 2020-05-29 at 3 48 45 PM

ThinkDigitalSoftware avatar May 29 '20 22:05 ThinkDigitalSoftware

@AndreHaueisen can you assign this issue to me?

mohak852 avatar Jun 05 '20 16:06 mohak852