Skip to content
This repository was archived by the owner on Feb 16, 2026. It is now read-only.
This repository was archived by the owner on Feb 16, 2026. It is now read-only.

Error: The argument type 'InputDecorationThemeData?' can't be assigned to the parameter type 'InputDecorationTheme?' #282

@ehcpdeveloper

Description

@ehcpdeveloper

$ flutter --version
Flutter 3.35.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 20f8274939 (2 days ago) • 2025-08-14 10:53:09 -0700
Engine • hash 6cd51c08a88e7bbe848a762c20ad3ecb8b063c0e (revision 1e9a811bf8) (2 days ago) • 2025-08-13 23:35:25.000Z
Tools • Dart 3.9.0 • DevTools 2.48.0

Lots of such errors:

./../../../.pub-cache/hosted/pub.dev/json_theme-9.0.1+2/lib/src/codec/theme_decoder.dart:11688:28: Error: The argument type 'BottomAppBarTheme?' can't be assigned to the parameter type 'BottomAppBarThemeData?'.

  • 'BottomAppBarTheme' is from 'package:flutter/src/material/bottom_app_bar_theme.dart' ('../../../../Downloads/flutter/packages/flutter/lib/src/material/bottom_app_bar_theme.dart').
  • 'BottomAppBarThemeData' is from 'package:flutter/src/material/bottom_app_bar_theme.dart' ('../../../../Downloads/flutter/packages/flutter/lib/src/material/bottom_app_bar_theme.dart').
    bottomAppBarTheme: decodeBottomAppBarTheme(
    ^
    ../../../../.pub-cache/hosted/pub.dev/json_theme-9.0.1+2/lib/src/codec/theme_encoder.dart:1862:17: Error: The argument type 'InputDecorationThemeData?' can't be assigned to the parameter type 'InputDecorationTheme?'.
  • 'InputDecorationThemeData' is from 'package:flutter/src/material/input_decorator.dart' ('../../../../Downloads/flutter/packages/flutter/lib/src/material/input_decorator.dart').
  • 'InputDecorationTheme' is from 'package:flutter/src/material/input_decorator.dart' ('../../../../Downloads/flutter/packages/flutter/lib/src/material/input_decorator.dart').
    value.inputDecorationTheme,
    ^

This was working with last flutter version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions