getting pi in flutter code example Example: getting pi in flutter import 'dart:math'; //just use pi constant print(pi);