Line data Source code
1 : // Copyright 2023 The terCAD team. All rights reserved. 2 : // Use of this source code is governed by a CC BY-NC-ND 4.0 license that can be found in the LICENSE file. 3 : 4 : import 'package:flutter/material.dart'; 5 : 6 : extension BuildContextExt on BuildContext { 7 9 : ColorScheme get colorScheme => Theme.of(this).colorScheme; 8 : 9 9 : TextTheme get textTheme => Theme.of(this).textTheme; 10 : }