builder flutter 2 code example
Example: builder flutter
Builder(
builder: (context) => FloatingActionButton(
child: Icon(Icons.add),
onPressed: () => showAddNewTxnFloatModal(context),
backgroundColor: Theme.of(context).accentColor,
),
)