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