widgets/liquidSecondaryAppBar library

Classes

LiquidSecondaryAppBar
Returns a Material AppBar or a Cupertino AppBar based on platform Use this in the appBar of your Scaffold return SafeArea( child: Scaffold( appBar: LiquidSecondaryAppBar( title: "Expense Detail", trailing: GestureDetector( onTap: () { print('I was tapped...'); }, child: Icon( Icons.delete, size: 24, color: Theme.of(context).accentColor, ), ), ), body: Container()