This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:math'; | |
import 'package:flutter/material.dart'; | |
import 'arrow.shape.dart'; | |
class TextCloud extends StatefulWidget { | |
// final String text; | |
final Color color; | |
final EdgeInsets padding; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/cupertino.dart'; | |
class ArrowPaint extends CustomPainter { | |
final Color color; | |
ArrowPaint({required this.color}); | |
@override | |
void paint(Canvas canvas, Size size) { | |
Path path_0 = Path(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:ui'; | |
import 'package:flutter/material.dart'; | |
class CustomDropdown<T> extends StatefulWidget { | |
/// the child widget for the button, this will be ignored if text is supplied | |
final Widget child; | |
/// onChange is called when the selected option is changed.; | |
/// It will pass back the value and the index of the option. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/cupertino.dart'; | |
import 'package:flutter/material.dart'; | |
void main() => runApp(const MyApp()); | |
class ThemeStuff { | |
static ThemeStuff? _instance; | |
static ThemeStuff get instance { | |
_instance ??= ThemeStuff._init(); |