Answers for "flutter customize color of appbar icons"

1

flutter sliverappbar change colors icons

SliverAppBar(
      backgroundColor: Colors.white,
      expandedHeight: 250,
      floating: false,
      pinned: true,
      iconTheme: const IconThemeData(color: Colors.blueAccent), //<----
      flexibleSpace: FlexibleSpaceBar(
        centerTitle: true,
        title: Container(
          alignment: Alignment.bottomCenter,
          width: double.infinity,
          height: double.infinity,
          child: const PhotoAvatarBecary(),
        ),
      ),
    );
Posted by: Guest on January-06-2022
0

how to change appbar color in flutter

appBar: AppBar(
      title: const Text('Example'),
      backgroundColor: Colors.black,
    ),
Posted by: Guest on November-13-2020

Code answers related to "flutter customize color of appbar icons"

Code answers related to "Dart"

Browse Popular Code Answers by Language