You can useĀ ThemeData() when setting up your MaterialApp in main.dart to setĀ primary colors and other settings.
Have a look at the official cookbook here.
You can later access this from any part of your app:
Border.all(
color: Theme.of(context).primaryColorLight,
width: 2
);