I'm working on my first real flutter project, and I need to create a simple dice. 
To keep my code clear, I created a dice.dart file in which I coded a class Dice, containing a number, a void method rollDice and a getter returning the number. 

I now want to create a stateful DiceWidget (would return a RaisedButton that shows the number of the dice) that I can instantiate on different pages, and from which I could get the number out of it... Do I have to create a provider on my class Dice to do so ? Or is there an other nicer way I don't know about, for example with just stateful widgets ?

Thank you for your answers !
Axel.