Skip to content

Deprecated/obsolete parameters/codes in codelab [MDC-103] #224

Closed
@sphinxlikee

Description

@sphinxlikee

I have faced parameters which are deprecated.

step 4
" textSelectionColor: kShrinePink100 "

step 5
" headline: base.headline.copyWith( ... "
" title: base.title.copyWith( ... "
" This takes a TextTheme and changes how the headlines, titles, and captions look. "
" Applying the fontFamily in this way applies the changes only to the typography scale values specified in copyWith() (headline, title, caption). "

step 6
RaisedButton

step 7
FlatButton
RaisedButton

step 9
ElevatedButton's(for raisedbutton) color and TextButton's (for flatbutton) color should update in the widget(login.dart) or in theme data(app.dart).
They don't accept color parameter via buttonTheme, they need elevatedButtonTheme and textButtonTheme.

Could you update them?

P.S.: I'm new on github issues, please don't judge me :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions