Answers for "costom app bar in flutter"

0

Custom AppBar Flutter

Scaffold(
  appBar: PreferredSize(
    preferredSize: Size.fromHeight(120), // Set this height
    child: Container(
      color: Colors.orange,
      child: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: [
          Text('One'),
          Text('Two'),
          Text('Three'),
          Text('Four'),
        ],
      ),
    ),
  ),
)
Posted by: Guest on July-30-2021

Code answers related to "Swift"

Browse Popular Code Answers by Language