Skip to content

InputDecorationTheme.activeIndicatorBorder is not used #171522

@bleroux

Description

@bleroux

Steps to reproduce

  1. Run the code sample
  2. Observe the underline color and width

Expected results

Image

Actual results

Image

Code sample

Code sample
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        inputDecorationTheme: const InputDecorationThemeData(
          activeIndicatorBorder: BorderSide(color: Colors.purpleAccent, width: 4.0),
        ),
      ),
      home: const Scaffold(
        body: Padding(
          padding: EdgeInsets.all(8.0),
          child: SizedBox(
            width: 200.0,
            child: TextField(decoration: InputDecoration(labelText: 'Flutter !!!', filled: true)),
          ),
        ),
      ),
    );
  }
}

Screenshots or Video

No response

Logs

Flutter Doctor output

Doctor output
Flutter (Channel master, 3.33.0-1.0.pre.791, on Ubuntu 24.04.2 LTS 6.8.0-62-generic, locale fr_FR.UTF-8)

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listf: material designflutter/packages/flutter/material repository.found in release: 3.32Found to occur in 3.32found in release: 3.33Found to occur in 3.33frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

Type

No type

Projects

Status

Done (PR merged)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions