Line data Source code
1 : import 'package:flutter/material.dart'; 2 : 3 : /// Keys for some date picker's widgets. 4 : /// 5 : /// Useful for integration tests to find widgets. 6 : class DatePickerKeys { 7 : /// Key for the previous page icon widget. 8 : final Key previousPageIconKey; 9 : 10 : /// Key for the next page icon widget. 11 : final Key nextPageIconKey; 12 : 13 : /// Key for showing month. 14 : final Key selectedPeriodKeys; 15 : 16 : /// 17 0 : DatePickerKeys( 18 : this.previousPageIconKey, this.nextPageIconKey, this.selectedPeriodKeys); 19 : }