TabBar RTL (#13164)
This commit is contained in:
@@ -11,18 +11,26 @@ enum TabsDemoStyle {
|
||||
}
|
||||
|
||||
class _Page {
|
||||
_Page({ this.icon, this.text });
|
||||
const _Page({ this.icon, this.text });
|
||||
final IconData icon;
|
||||
final String text;
|
||||
}
|
||||
|
||||
final List<_Page> _allPages = <_Page>[
|
||||
new _Page(icon: Icons.event, text: 'EVENT'),
|
||||
new _Page(icon: Icons.home, text: 'HOME'),
|
||||
new _Page(icon: Icons.android, text: 'ANDROID'),
|
||||
new _Page(icon: Icons.alarm, text: 'ALARM'),
|
||||
new _Page(icon: Icons.face, text: 'FACE'),
|
||||
new _Page(icon: Icons.language, text: 'LANGUAGE'),
|
||||
const List<_Page> _allPages = const <_Page>[
|
||||
const _Page(icon: Icons.grade, text: 'TRIUMPH'),
|
||||
const _Page(icon: Icons.playlist_add, text: 'NOTE'),
|
||||
const _Page(icon: Icons.check_circle, text: 'SUCCESS'),
|
||||
const _Page(icon: Icons.question_answer, text: 'OVERSTATE'),
|
||||
const _Page(icon: Icons.sentiment_very_satisfied, text: 'SATISFACTION'),
|
||||
const _Page(icon: Icons.camera, text: 'APERTURE'),
|
||||
const _Page(icon: Icons.assignment_late, text: 'WE MUST'),
|
||||
const _Page(icon: Icons.assignment_turned_in, text: 'WE CAN'),
|
||||
const _Page(icon: Icons.group, text: 'ALL'),
|
||||
const _Page(icon: Icons.block, text: 'EXCEPT'),
|
||||
const _Page(icon: Icons.sentiment_very_dissatisfied, text: 'CRYING'),
|
||||
const _Page(icon: Icons.error, text: 'MISTAKE'),
|
||||
const _Page(icon: Icons.loop, text: 'TRYING'),
|
||||
const _Page(icon: Icons.cake, text: 'CAKE'),
|
||||
];
|
||||
|
||||
class ScrollableTabsDemo extends StatefulWidget {
|
||||
|
||||
Reference in New Issue
Block a user