This file contains hidden or 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
| /* | |
| * Dart & Flutter - Training | |
| * | |
| * Copyright (c) Boris-Wilfried Nyasse | |
| * All rights reserved | |
| * | |
| */ | |
| class Demo { | |
| num? width; |
This file contains hidden or 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
| /* | |
| * Dart & Flutter - Training | |
| * | |
| * Copyright (c) Boris-Wilfried Nyasse | |
| * All rights reserved | |
| * | |
| */ | |
| import 'package:flutter/material.dart'; | |
| void main() => runApp(MyApp()); |
This file contains hidden or 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
| /* | |
| * Dart & Flutter - Training | |
| * | |
| * Copyright (c) Boris-Wilfried Nyasse | |
| * All rights reserved | |
| * | |
| */ | |
| extension ExtendedString on String { | |
| bool get isValidName { | |
| return !contains(RegExp(r'[0–9]')); |
This file contains hidden or 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
| /* | |
| * Dart & Flutter - Training | |
| * | |
| * Copyright (c) Boris-Wilfried Nyasse | |
| * All rights reserved | |
| * | |
| */ | |
| void main() { | |
| print(StringUtil.isValidName('Pizza')); |
This file contains hidden or 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
| /* | |
| * Dart & Flutter - Training | |
| * | |
| * Copyright (c) Boris-Wilfried Nyasse | |
| * All rights reserved | |
| */ | |
| import 'package:flutter/material.dart'; | |
| void main() => runApp(MyApp()); |
This file contains hidden or 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
| /* | |
| * Dart & Flutter - Training | |
| * | |
| * Copyright (c) Boris-Wilfried Nyasse | |
| * All rights reserved | |
| */ | |
| import 'package:flutter/material.dart'; | |
| void main() => runApp(MyApp()); |
This file contains hidden or 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
| /* | |
| * Dart & Flutter - Training | |
| * | |
| * Copyright (c) Boris-Wilfried Nyasse | |
| * All rights reserved | |
| */ | |
| import 'package:flutter/material.dart'; | |
| void main() => runApp(MyApp()); |
This file contains hidden or 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
| /* | |
| * Dart & Flutter - Training | |
| * | |
| * Copyright (c) Boris-Wilfried Nyasse | |
| * All rights reserved | |
| */ | |
| import 'package:flutter/material.dart'; | |
| void main() => runApp(MyApp()); |
This file contains hidden or 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
| /* | |
| * Dart & Flutter - Training | |
| * | |
| * Copyright (c) Boris-Wilfried Nyasse | |
| * All rights reserved | |
| */ | |
| import 'package:flutter/material.dart'; | |
| void main() => runApp(MyApp()); |
This file contains hidden or 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
| /* | |
| * Dart & Flutter - Training | |
| * | |
| * Copyright (c) Boris-Wilfried Nyasse | |
| * All rights reserved | |
| */ | |
| import 'dart:math' as math; | |
| import 'package:flutter/material.dart'; | |
| void main() => runApp(MyApp()); |