Line data Source code
1 : import 'dart:ui'; 2 : 3 : import '../interface.dart'; 4 : import '../item.dart'; 5 : 6 : /// Simple builder which extend [DelegateBuilder] to provide some necessary config. 7 : abstract class InnerBuilder extends DelegateBuilder { 8 : /// List of [TabItem] stands for tabs. 9 : final List<TabItem> items; 10 : 11 : /// Color used when tab is active. 12 : final Color activeColor; 13 : 14 : /// Color used for tab. 15 : final Color color; 16 : 17 : /// Create style builder. 18 1 : InnerBuilder({this.items, this.activeColor, this.color}); 19 : }